<div dir="ltr">Holy cow, sorry about that!<div><br></div><div><span style="font-size:12.8px">Put the hostname in dispatcher (no port or _sip._udp) and enable these:</span><br><div><br></div><div><div>use_dns_cache=on</div><div>use_dns_failover=on</div><div>dns_srv_lb=on</div></div><div><br></div></div><div>That's how I got it working (using the LCR module).</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 25, 2017 at 1:05 PM, Jeremy Gadd <span dir="ltr"><<a href="mailto:jeremygadd@gmail.com" target="_blank">jeremygadd@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Put the hostname in dispatcher (no port) and enable these:<div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, Jan 25, 2017 at 9:30 AM, Casco, Alessio <span dir="ltr"><<a href="mailto:alessio.casco@nexmo.com" target="_blank">alessio.casco@nexmo.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hello Guys!<div><br></div><div>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</div><div><br></div><div>I've tried with the following formats into the dispatcher.list file:</div><div><br></div><div>$group  _sip._udp.sip-voice_backends<br></div><div>$group  sip-voice_backends<br></div><div><br></div><div>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.)</div><div><br></div><div>* Does the dispatcher module support SRV or NAPTR records? (maybe my format is not correct) <br></div><div>* If not, do you have any other idea on what I could do to achieve what I'd like to do?</div><div><br></div><div>Thanks</div><span class="m_2536722884454086927HOEnZb"><font color="#888888"><div>Alessio</div><div><br></div></font></span></div>
<br></div></div>______________________________<wbr>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cg<wbr>i-bin/mailman/listinfo/sr-user<wbr>s</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>