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] 14
181
Hi,

You play a file with chan.attach
http://docs.yate.ro/wiki/Chan.attach

Depending on the scenario you might need to send it inside a chan.masquerade.
http://docs.yate.ro/wiki/Chan.masquerade

I'm not sure how your javascript works. You must first make sure the javascript script is started and sees the relevant messages for the conference.

182
Yate users hangout place / Re: round robin routing using db query
« on: August 25, 2014, 12:47:17 PM »
You routed from regexroute or someplace else to this script. That is wrong. You have to route to a channel script. Ex: voicemail.php

route.php is a global script. Don't send calls to it from other modules. If the script was started it will catch the calls on it's own. So i guess you didn't set it in extmodule.conf. I don't see handlers from extmodule in call.route message so script was not started.


183
Yate users hangout place / Re: round robin routing using db query
« on: August 20, 2014, 07:18:05 AM »
This what you need to have in [scripts] section in that file:

[scripts]
route.php=

This is not correct:
scriptname=share/yate/scripts/route.php

If you want to set a path to the script it would look like this:
share/yate/scripts/route.php=

You won't need to set a path to the script there. Just "route.php=" should be enough.
The length on the file doesn't matter. The majority of those line are comments.


184
Yate users hangout place / Re: round robin routing using db query
« on: August 19, 2014, 06:05:33 AM »
If you are running yate from sources or you installed it, and you didn't modify the scripts directory by hand then this is how extmodule.conf should look.

[scripts]
route.php=

185
Yate users hangout place / Re: no db query after the expires
« on: August 19, 2014, 05:56:55 AM »
Hi,

Can you please post a log with sniffer activated?

186
Yate users hangout place / Re: round robin routing using db query
« on: August 14, 2014, 05:14:47 AM »
Did you edit extmodule.conf to set script to start? Check the start of the route.php script for instructions on how to start it.

187
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

188
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;
           }


189
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.


190
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.

191
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


192
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

193
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.




 

194
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

195
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.

Pages: 1 ... 11 12 [13] 14