Hi all,
I'm hoping someone can help me with this as I am baffled.
I have a server running Kamailio with dispatcher. I am trying to direct calls from kamailio to an SRV record but am receiving a 404 error on the calls. If I instead place one of the hostnames from the SRV record in my dispatcher.list, the call completes fine.
Contents of dispatcher.list look like: 1 sip:bvr.production.instance:5060
Nslookup from the Kamailio server for SRV record: nslookup -type=SRV _sip._udp.bvr.production.instance Server: 10.0.0.2 Address: 10.0.0.2#53
Non-authoritative answer: _sip._udp.bvr.production.instance service = 1 10 5060 ip-10-100-79-143.production.instance. _sip._udp.bvr.production.instance service = 1 10 5060 ip-10-100-96-92.production.instance.
Again, if I put 1 sip: ip-10-100-96-92.production.instance:5060 into the dispatcher.list, the call routes fine.
Is there some configuration within Kamailio required to route to an SRV record in this way? I haven't found anything indicating that is the case. Any help is greatly appreciated.
Thanks, Jesse
On Wed, Feb 13, 2019 at 04:03:52PM +0000, Jesse Strahn wrote:
I have a server running Kamailio with dispatcher. I am trying to direct calls from kamailio to an SRV record but am receiving a 404 error on the calls. If I instead place one of the hostnames from the SRV record in my dispatcher.list, the call completes fine.
These same question was asked last week, see https://kamailio.org/docs/modules/stable/modules/dispatcher.html#idm10458259... you need to set the correct bit (4) in flags.
Daniel,
Apologies, I mistyped the contents of my dispatcher.list which are: 1 sip:bvr.production.instance:5060 16
I'm still receiving a 404 with the above dispatcher.list alignment. Any help is appreciated.
Thanks, Jesse
-----Original Message----- From: sr-users sr-users-bounces@lists.kamailio.org On Behalf Of Daniel Tryba Sent: Wednesday, February 13, 2019 10:14 AM To: Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org Subject: [EXTERNAL] Re: [SR-Users] Kamailio/Dispatcher failure routing to SRV record
On Wed, Feb 13, 2019 at 04:03:52PM +0000, Jesse Strahn wrote:
I have a server running Kamailio with dispatcher. I am trying to direct calls from kamailio to an SRV record but am receiving a 404 error on the calls. If I instead place one of the hostnames from the SRV record in my dispatcher.list, the call completes fine.
These same question was asked last week, see https://url.emailprotection.link/?aabyILK6GX_acmCTZie8UwV0rTLvYqv4vcUfyvZya8... you need to set the correct bit (4) in flags.
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://url.emailprotection.link/?aquogjgOGElgshc0Baeojlb3d1_yh-I9nM4JHQjCnu...