Re: [SR-Users] Kamailio Asterisk SIP Registration Forwarding - Asterisk replies 401 Unauthorized

2015-07-16 Thread Ben Fitzgerald
Thanks for your response. I did read the section about the secret in the kb url. I followed the example and inserted the test users on tFe url (101, 102, 103) and they have secret set to NULL. I have tried both secret=NULL and secret= and Asterisk still asks for authentication. Also when I do sip

[SR-Users] Missing BYE at the far end

2015-07-16 Thread Kliment Toshkov, Netfinity JSC
Dear colleagues,We have an issue with a couple of peers - when the called party hangs up, they (the peer) does not receive the appropriate BYE message and call appears as still connected at peers end. Then it drops after 30 seconds and sends us BYE.Current setup is the following:PEER IP KAMAILIO

Re: [SR-Users] Kamailio Asterisk SIP Registration Forwarding - Asterisk replies 401 Unauthorized

2015-07-16 Thread Alberto Sagredo
You could remove secret= on extensiones to check if its related to authentication or not You must not request authentication to kamailio in order to work properly in front of Asterisk As Daniel mention check if Kamailio peer is created and extensiones have no secret.. you would need to add

[SR-Users] SIPCapture and Message Queues

2015-07-16 Thread Grant Bagdasarian
Hello, Would it be possible to send the messages captured by the sipcapture module to a message queue instead of inserted directly into a database? Be it DMQ or SQL Server Service Broker Queues, etc. Or maybe another approach, executing a stored procedure instead of an insert statement? I

Re: [SR-Users] Unclear documentation for priority field in Dispatcher module

2015-07-16 Thread Daniel-Constantin Mierla
Hello, if you do: kamctl dispatcher dump the output shows the destinations in the order they are going to be used (first printed is going to be the first used). Afterwards, making a pull request to clarify the priority order rule would be appreciated ;-) Cheers, Daniel On 16/07/15 11:13,

Re: [SR-Users] Purpose of table location_attrs

2015-07-16 Thread Daniel-Constantin Mierla
Hello, the location_attrs table store extra attributes per contact record, which can be set in config file via XAVP. You need to add the tables with _attrs suffix corresponding to the name you use instead of 'location', using same structure as location_attrs. In your case should be

Re: [SR-Users] Purpose of table location_attrs

2015-07-16 Thread mayamatakeshi
Daniel, understood. Thank you. Regards, Takeshi On Thu, Jul 16, 2015 at 6:30 PM, Daniel-Constantin Mierla mico...@gmail.com wrote: Hello, the location_attrs table store extra attributes per contact record, which can be set in config file via XAVP. You need to add the tables with _attrs

Re: [SR-Users] Dialogue restore after initial processing

2015-07-16 Thread Daniel-Constantin Mierla
Hello, iirc, the to-tag is set in the dialog structure when the 200ok is processed. During the call setup, there can be many outgoing branches, therefore many 'early' to-tags, but only one will be final, once the call is answered. On the other hand, there is a C function that returns the local

[SR-Users] Unclear documentation for priority field in Dispatcher module

2015-07-16 Thread Sven Neuhaus
Hello, the documentation doesn't clearly state if a larger value for the priority field means that it gets used first before entries with smaller priority values are used - or vice versa. It currently states: “8” - select destination sorted by priority attribute value (serial forking ordered by

Re: [SR-Users] Error: make modules include_modules =db_mysql cfg

2015-07-16 Thread Daniel-Constantin Mierla
Hello, you need to install mysql client devel packet -- iirc, it should be something named like mysql-devel Cheers, Daniel On 14/07/15 22:18, kumar m wrote: I am a newbie trying out kamailio *kamailio version: *4.3.0 *Operating system:* CentOS 7 Following the instructions provided at

Re: [SR-Users] Double Record-Route to subscriber with multiple locations on different SIP transports

2015-07-16 Thread Daniel-Constantin Mierla
Hello, On 15/07/15 22:22, Andrey Utkin wrote: 2015-07-15 21:59 GMT+03:00 Alex Balashov abalas...@evaristesys.com: As far as I know, t_on_branch() should execute for every branch, including the first one. Do you have any other evidence that it doesn't, i.e. a simple xlog statement? I am

Re: [SR-Users] Kamailio Asterisk SIP Registration Forwarding - Asterisk replies 401 Unauthorized

2015-07-16 Thread Daniel Tryba
On Wednesday 15 July 2015 16:42:31 Ben Fitzgerald wrote: Hi, I've been following this integration tutorial http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb and have a successful registration and I can even make calls through my asterisk box. However what is

[SR-Users] Missing BYE at the far end

2015-07-16 Thread Kliment Toshkov, Netfinity JSC
Dear colleagues,We have an issue with a couple of peers - when the called party hangs up, they (the peer) does not receive the appropriate BYE message and call appears as still connected at peers end. Then it drops after 30 seconds and sends us BYE.Current setup is the following:PEER IP KAMAILIO

Re: [SR-Users] Kamailio Asterisk SIP Registration Forwarding - Asterisk replies 401 Unauthorized

2015-07-16 Thread Alberto Sagredo
Maybe you got to get some traces with sip set debug on on asterisk or ngrep in kamailio to check whereis the problem. I think you are not authenticating correctly Check if you insert on sipusers and sipppers table what is commented on KB by asipto. Maybe your Kamailio is not responding to

[SR-Users] Error forwarding to SCSCF

2015-07-16 Thread Jan Devai
*Hi Experts,* *I would like to ask you if some of you have already come across this problem.* *We are integrating Kamailio all in one Solution (P/I/S-CSCF having all same IP only communicating between each other on different ports) taken from Carsten Bock example against an external HSS.*

Re: [SR-Users] interconnect two Kamailio server

2015-07-16 Thread Alberto Sagredo
You could put several kamailio on cascade.. but you have to be careful with via routes . You could add to request_route { a route to diver all calls to other kamailio Having two location databases is not a good idea, maybe you could use LOCATION on Database and have same user database for both

Re: [SR-Users] Configuring Kamailio as SIP Proxy

2015-07-16 Thread Alberto Sagredo
Take a look to : http://kamailio.org/docs/modules/4.1.x/modules/sdpops.html BR 2015-07-16 20:58 GMT+02:00 Alberto Sagredo alberto.sagr...@avanzada7.com: Hi Djamel As Daniel i do not understand what do you need. Kamailio does not care about codecs.. if you are not using RTP PROXY . You

Re: [SR-Users] Configuring Kamailio as SIP Proxy

2015-07-16 Thread Alberto Sagredo
Hi Djamel As Daniel i do not understand what do you need. Kamailio does not care about codecs.. if you are not using RTP PROXY . You could use sdops module to check things on SDP if it that helps BR 2015-07-09 11:30 GMT+02:00 Djamel Bahamid djamel.baha...@inserm.fr: Hi, I have terminals