[SR-Users] Using DNS for Service Discovery with Kamailio
Casco, Alessio
alessio.casco at nexmo.com
Thu Jan 26 11:34:02 CET 2017
Thanks for your help,
Unfortunately with kamailio 4.4.4, dispatcher module and your suggestions,
I still don't see the SRV record picked up (at least using the kamcmd
dispatcher.list command).
I didn't try the LCR module yet, I want to be sure first that dispatcher is
not able to handle SRV first
Thanks
Alessio
On Wed, Jan 25, 2017 at 8:06 PM, Jeremy Gadd <jeremygadd at gmail.com> wrote:
> Holy cow, sorry about that!
>
> Put the hostname in dispatcher (no port or _sip._udp) and enable these:
>
> use_dns_cache=on
> use_dns_failover=on
> dns_srv_lb=on
>
> That's how I got it working (using the LCR module).
>
> On Wed, Jan 25, 2017 at 1:05 PM, Jeremy Gadd <jeremygadd at gmail.com> wrote:
>
>> Put the hostname in dispatcher (no port) and enable these:
>>
>>
>> On Wed, Jan 25, 2017 at 9:30 AM, Casco, Alessio <alessio.casco at nexmo.com>
>> wrote:
>>
>>> Hello Guys!
>>>
>>> I'd like to be able to use SRV records inside dispatcher groups, so I
>>> can automatise the discovery of new backends on my network using DNS
>>>
>>> I've tried with the following formats into the dispatcher.list file:
>>>
>>> $group _sip._udp.sip-voice_backends
>>> $group sip-voice_backends
>>>
>>> and none looks to be working, running the kamailio_ctl dispatcher.list
>>> won't show me the group set with SRV records. ( I also try NAPTR records,
>>> with no luck as well.)
>>>
>>> * Does the dispatcher module support SRV or NAPTR records? (maybe my
>>> format is not correct)
>>> * If not, do you have any other idea on what I could do to achieve what
>>> I'd like to do?
>>>
>>> Thanks
>>> Alessio
>>>
>>>
>>> _______________________________________________
>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>> sr-users at lists.sip-router.org
>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>>
>>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20170126/530ad040/attachment.html>
More information about the sr-users
mailing list