Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Monica Tepelus

Pages: 1 ... 11 12 [13]
181
Yate users hangout place / Re: cdr not working
« on: August 14, 2014, 05:13:04 AM »
Hi,

Did you enable  "call.cdr=yes" in general section?
Did you set the database account? Are your queries run? Do you see them failing?

Also you should make sure that the order of the columns in the INSERT query matches the the one in the table structure, otherwise modify the query or set the columns name. You should also make sure the queries are appropriate for the database type. The one in the default file are for postgres. Check in docs.yate.ro for mysql queries.

http://docs.yate.ro/wiki/Register#Section_.5Bcall.cdr.5D

182
Yate users hangout place / Re: round robin routing using db query
« on: August 08, 2014, 08:04:34 AM »
Hi,

Look in share/scripts/route.php from yate's sources.
Modify below to check the "address"
            if ($ev->getValue("called") == "321") {
                $ev->retval = "tone/dial";
                $ev->handled = true;
            }

Something like this:
           if (!in_array($ev->getValue("address"),array("ip1","ip2"...)) {
                 $ev->error = "noroute";
                 $ev->handled = true;
           }


183
Hi,

ybtsdata.conf was for releases 1to 3. From release 4 this information is kept in tmsidata.conf. If you have a previous release you will find ybtsdata.conf as well and the new tmsidata,conf after moving to the latest release. The old file is not deleted automatically but it's not used anymore.


184
Yate users hangout place / Re: round robin routing using db query
« on: July 30, 2014, 02:27:17 AM »
Hi,

You can install a handler in the register module/javascript routing script/external module global script with a higher priority  and make a query that verifies the ip address. You can reject the call here. If call is not rejected, you let it was and it will be handled by regexroute where you set up round robin.

185
Linux / Re: Ringback problem
« on: July 29, 2014, 07:43:17 AM »
Hi daimond025,

It looks like you are copying the old the message parameters in in the chan.masquerade message.
Looking in the original script from https://github.com/shimaore/yate/blob/master/share/scripts/ringback.php you can see that a new Yate message is created: $m = new Yate("chan.masquerade"); that has less  parameters than the one in the above log.

Good luck


186
Hello,

IMSI, IMEI, TMSI are stored in tmsidata.conf from yate's configuration file. They are managed by the application layer: nib.js and roaming.js

187
YateBTS / Re: Help with GSM phones connecting
« on: July 15, 2014, 02:47:41 AM »
Hi,

The attach is successful for regexp authentication because in this case 2/3G authentication is not used. If the imsi matches the set regexp imsi is allowed to register.

When setting subscribers, authentication is used. And this fails for all 3 imsis for different reasons:

1) first imsi: 001012558545331. "Op" can't be empty for 3G SIM. Script that computes the auth vectors doesn't handle this and throws a: "Usage: ./do_milenage 0x<key> 0x<op> 0x<sqn/auts/autn> 0x<rand>"

2) second imsi: 001011257683100. The authentication process seems ok, 2g auth vector is computed but the phone return a different authentication response than the one computed.
We expect response to be:
  param['sres'] = '916EB4F8'
But phone sends:
   <Message type="AuthenticationResponse">
    <res enc="hex">8fb740ae</res>
  </Message>

I believe you don't have the right ki for that SIM.

3) third imsi: 001011749182128 the 3g vector is computed but the handset rejects the network: MAC-failure

<MM>
  <SkipIndicator>0</SkipIndicator>
  <NSD>1</NSD>
  <Message type="AuthenticationFailure">
    <RejectCause>MAC-failure</RejectCause>
  </Message>
</MM>
-----
<ybts:ALL> Auth ended conn=6 ok=0 error=MAC-failure rsp=(null) ext=(null)
<ybts:NOTE> Location updating IMSI=001011749182128: rejecting authentication [0x7fd6c00030b0]

In conclusion, are you sure you know the real KIs for those sims? Can you try with some other SIMs or some written with pysim from the interface.




 

188
YateBTS / Re: Help with GSM phones connecting
« on: July 14, 2014, 09:27:23 AM »
From the log I see that all registration attempts fail because authentication fails when you set subscribers.

Can you please set the subscribers again using the web interface?
Attach the resulted subscribers.conf and also make a new log with "sniffer on".
To enable sniffer:
http://docs.yate.ro/wiki/Debugging_and,_or_Investigation_of_messages#Enable_.2F_Disable_sniffer_in_telnet

189
YateBTS / Re: Help with GSM phones connecting
« on: July 09, 2014, 09:04:35 AM »
Hi,

Did you install the last version of YateBTS from the svn or from the tar.gz/src.rpm from http://yatebts.com/download.php?
The NIB application doesn't currenlty work with the last svn version. To use it you need the tar.gz/src.rpm from the above link.

190
FreeSentral - Yate based IP PBX / Re: Missing Feature?
« on: April 03, 2014, 07:17:43 AM »
Yes. FreeSentral doesn't do any t.38 configurations but if you want to use it you should be able to add additional configuration files that are not generated by freesentral. If something is in yate you will probably be able to use it even if it's not in freeesentral.

191
FreeSentral - Yate based IP PBX / Re: Feesentral backup
« on: January 21, 2014, 09:41:35 AM »
To backup the configuration made by users/ voicemail files you should:
- backup the database
- backup the directory where voicemail messages and music on hold files are stored. This is set in $target_path from config.php from web folder.
- backup the configuration directory of yate (the majority of files will be restored on a new install) but there is one or two files that are modified depending on user configuration. This is set in $conf_path from config.php from web folder.

192
FreeSentral - Yate based IP PBX / Re: FreeSentral on Openwrt
« on: January 21, 2014, 09:25:39 AM »
Yes, php5-ming is only used to play voicemail files and listen to the music on hold prompts. Not having it doesn't break anything major.

Pages: 1 ... 11 12 [13]