Hi all,
I am trying to route requests from Kamailio to a private SRV record in AWS Route 53. If I setup the record as an A record and put the 3 destination sip server IPs in the record, Kamailio routes perfectly round-robinning between the 3 servers. However, If I switch my dispatcher.list over to the SRV record, the calls do not route and I get a 404 No Destination in my pcap. When I perform a `dig _sip._udp.pool.sip.servers` from the Kamailio server, it properly returns the hostnames of the 3 sip servers that the SRV record points to.
I'm not sure if something in the Kamailio routing has to be changed to accommodate SRV record routing rather than A record? I have scoured the internet and can't really find much of anything. Would greatly appreciate any guidance.
Thanks, Jesse
Hi,
Can you paste your dispatcher.list?
Also, what are your settings for:
use_dns_cache use_dns_failver dns_srv_lb
???
On Mon, Feb 4, 2019 at 07:57 Jesse Strahn jesse.strahn@waterfield.com wrote:
Hi all,
I am trying to route requests from Kamailio to a private SRV record in AWS Route 53. If I setup the record as an A record and put the 3 destination sip server IPs in the record, Kamailio routes perfectly round-robinning between the 3 servers. However, If I switch my dispatcher.list over to the SRV record, the calls do not route and I get a 404 No Destination in my pcap. When I perform a `dig _sip*.*_udp.pool.sip.servers` from the Kamailio server, it properly returns the hostnames of the 3 sip servers that the SRV record points to.
I’m not sure if something in the Kamailio routing has to be changed to accommodate SRV record routing rather than A record? I have scoured the internet and can’t really find much of anything. Would greatly appreciate any guidance.
Thanks,
Jesse _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hi Joel,
Dispatcher.list: 1 sip:pool.bvr.instance 16
In Kamailio.cfg I have the following: use_dns_cache = on use_dns_failover = on dns_srv_loadbalancing = on
I made the change to 16 in the dispatcher.list based on this problem report: https://github.com/kamailio/kamailio/issues/1743
I’m now wondering if my dispatcher module is an older version that can’t make use of this newer setting. Is there a way to determine the version of the dispatcher module I have installed?
Thanks, Jesse
From: sr-users sr-users-bounces@lists.kamailio.org On Behalf Of Joel Serrano Sent: Monday, February 4, 2019 10:30 AM To: Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org Subject: [EXTERNAL] Re: [SR-Users] Kamailio failure routing to SRV Record
Hi,
Can you paste your dispatcher.list?
Also, what are your settings for:
use_dns_cache use_dns_failver dns_srv_lb
???
On Mon, Feb 4, 2019 at 07:57 Jesse Strahn <jesse.strahn@waterfield.commailto:jesse.strahn@waterfield.com> wrote: Hi all,
I am trying to route requests from Kamailio to a private SRV record in AWS Route 53. If I setup the record as an A record and put the 3 destination sip server IPs in the record, Kamailio routes perfectly round-robinning between the 3 servers. However, If I switch my dispatcher.list over to the SRV record, the calls do not route and I get a 404 No Destination in my pcap. When I perform a `dig _sip._udp.pool.sip.servers` from the Kamailio server, it properly returns the hostnames of the 3 sip servers that the SRV record points to.
I’m not sure if something in the Kamailio routing has to be changed to accommodate SRV record routing rather than A record? I have scoured the internet and can’t really find much of anything. Would greatly appreciate any guidance.
Thanks, Jesse _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.orgmailto:sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-usershttps://url.emailprotection.link/?aquogjgOGElgshc0Baeojlb3d1_yh-I9nM4JHQjCnuYJYqH6UMgycYptwa7J-J6Nh0EqRc4QZlhNL4zOLQng8mA~~
Am Montag, 4. Februar 2019, 18:07:26 CET schrieb Jesse Strahn:
Dispatcher.list: 1 sip:pool.bvr.instance 16
In Kamailio.cfg I have the following: use_dns_cache = on use_dns_failover = on dns_srv_loadbalancing = on
I made the change to 16 in the dispatcher.list based on this problem report: https://github.com/kamailio/kamailio/issues/1743
I’m now wondering if my dispatcher module is an older version that can’t make use of this newer setting. Is there a way to determine the version of the dispatcher module I have installed?
Hi Jesse,
speaking generally: all Kamailio modules belong to the respective core, it is (normally) not possible to easily swap a module with another version.
You can find the kamailio version with "kamailio -v".
Best regards,
Henning