Re: [SR-Users] Kamailio relays ACK of 200 OK to itself

2015-04-17 Thread Daniel Grotti
Hi, is your Yealink SIP-T46G setting the right RURI in the ACK ? What is the 200OK sent to the yealink ? ACK RURI should be set to the Contact field in the 200 OK and Route header must be set to the Record-Route headers value in the 200 OK, in the reverse order. Do you have the complete call

Re: [SR-Users] Kamailio relays ACK of 200 OK to itself

2015-04-17 Thread Daniel Grotti
Hi, please also check if you have set aliases (kamailio.cfg global parameters) to the IP address in the R-URI. -- Daniel Grotti VoIP Engineer Sipwise GmbH Europaring F15 | 2345 Brunn am Gebirge, Austria | www.sipwise.com On 04/16/2015 07:23 PM, Dmitry Sytchev wrote: Hi all! I can't make

Re: [SR-Users] Loadbalancing proxy using DNS SRV instead of dispatcher

2015-04-17 Thread Cezary Siwek
Hi, I haven't tried it mysefl (will probably do it in a near future) but there is core configuration parameter to be enabled. http://www.kamailio.org/wiki/cookbooks/4.2.x/core#dns_srv_lb As we speak, some of our clients reported similar issue when connection to us using FreeSWITCH and

Re: [SR-Users] Loadbalancing proxy using DNS SRV instead of dispatcher

2015-04-17 Thread Jon Bonilla (Manwe)
El Fri, 17 Apr 2015 09:41:55 +0100 Cezary Siwek cezary.si...@nexmo.com escribió: Hi, I haven't tried it mysefl (will probably do it in a near future) but there is core configuration parameter to be enabled. http://www.kamailio.org/wiki/cookbooks/4.2.x/core#dns_srv_lb As we speak, some

Re: [SR-Users] Loadbalancing proxy using DNS SRV instead of dispatcher

2015-04-17 Thread Daniel Tryba
On Friday 17 April 2015 09:41:55 Cezary Siwek wrote: http://www.kamailio.org/wiki/cookbooks/4.2.x/core#dns_srv_lb As we speak, some of our clients reported similar issue when connection to us using FreeSWITCH and setting weight to 0 seem to resovle the issue (it was prosposed solution on

Re: [SR-Users] Loadbalancing proxy using DNS SRV instead of dispatcher

2015-04-17 Thread Daniel Tryba
On Friday 17 April 2015 11:09:23 Jon Bonilla wrote: I had the issue in the past and here's how it was solved: - When sending your first request to the server resolving it by DNS, you can store the destination IP in a hash table (callid-- IP) using onsend_route The kamailio script should

Re: [SR-Users] Loadbalancing proxy using DNS SRV instead of dispatcher

2015-04-17 Thread Daniel-Constantin Mierla
On 17/04/15 11:25, Daniel Tryba wrote: On Friday 17 April 2015 11:09:23 Jon Bonilla wrote: I had the issue in the past and here's how it was solved: - When sending your first request to the server resolving it by DNS, you can store the destination IP in a hash table (callid-- IP) using

Re: [SR-Users] Kamailio relays ACK of 200 OK to itself

2015-04-17 Thread Dmitry Sytchev
Hi Daniel! I've tried Yealink and Cisco SPA-303 They send very similar ACKs, the problem seems to be not in their SIP stacks. Original ACK URI is correct uri from 200 OK contact. Route: header is set to correct value from Record-Route from 200 OK. Maybe my NAT handling code makes something wrong

Re: [SR-Users] Kamailio relays ACK of 200 OK to itself

2015-04-17 Thread Dmitry Sytchev
I've found the cause of the problem - I added my backend domain to domains table to lookup some attrs of destination hosts. I forgot that Kamailio will interpret them local. So requests to backend with correct ip in rURI were intepreted as directed to proxy and processed this way. Thanks for

[SR-Users] append_branch. How to disable original URI

2015-04-17 Thread Yuriy Gorlichenko
Hello. I thry to integrate redis for location module and first at all that I do - dublicate location to redis. First At all I create analog of lookup procedure that use location but from redis. I take values from location and create branches by mannualy. All works good but branch route create