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(a)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(a)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(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users