<div dir="ltr"><div><div><div>Hi Charles<br></div>I have modparam("dmq", "multi_notify", 1) because my A record resolves more than one Kamailio addresses, and if i understood well the documentation says that we need set it to a value different of 0 to resolve all ip addresses associated to the Name configured on DMQ.<br></div><div>I'm using DMQ with 4 kamailio instances, so i think that i need have it set to a value different than 0, or i'm wrong?.</div><div><p>Documentation says:<br></p><p>
Enables the ability to resolve multiple IPv4/IPv6 addresses for
a single notification address.
</p>
<p>
A value of zero resolves to the first IP address found.
A non-zero value resolves to all IP addresses associated with the host.
This includes addresses from DNS SRV records, A and AAAA records.
</p>
<p>
<span class="emphasis"><em>Default value is <span class="gmail-quote">“<span class="gmail-quote">0</span>”</span>.</em></span>
</p><br></div>Thank you <br></div>Cheers<br>José<br><div><div><br><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-09-22 13:28 GMT+01:00 Charles Chance <span dir="ltr"><<a href="mailto:charles.chance@sipcentric.com" target="_blank">charles.chance@sipcentric.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hey,<div class="gmail_extra"><br><div class="gmail_quote"><span class="">On 22 September 2016 at 12:18, José Seabra <span dir="ltr"><<a href="mailto:joseseabra4@gmail.com" target="_blank">joseseabra4@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hello Daniel and Charles,<br></div>Thank you for your feedback.<br></div>Another doubt is when we use a FQDN that only resolves as A record, would be better DMQ send only a A query or is there any reason for always try SRV?<br><br></div></div></div></div></blockquote><div> </div></span><div>As far as I recall (it's been a while since I did anything with this), the default behaviour is to query A record only. There is a mod_param to enable multi-record/SRV lookup:</div><div><br></div><div>modparam("dmq", "multi_notify", 1)<br></div><div><br></div><div>But the default is off.</div><div><br></div><div>Is this not the behaviour you are seeing?</div><div><br></div><div>Cheers,</div><div>Charles</div><div><div class="h5"><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div></div>Thank you for your great job.<br><br></div>BR<br></div>José Seabra<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>2016-09-22 8:33 GMT+01:00 Charles Chance <span dir="ltr"><<a href="mailto:charles.chance@sipcentric.com" target="_blank">charles.chance@sipcentric.com</a><wbr>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div><p dir="ltr">Hello,</p>
<p dir="ltr">I can take a look today.</p>
<p dir="ltr">Cheers,<br>
Charles </p><div><div>
<div class="gmail_extra"><br><div class="gmail_quote">On 22 Sep 2016 06:20, "Daniel-Constantin Mierla" <<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p>Hello,</p>
<p>I guess that the one who did the implementation of the srv query
for dmq hasn't "allocated" any service name. I haven't looked at
the sources, but I guess it should be a small patch to compose the
srv dns string to be queried -- maybe that part can be made a mod
param so each can choose its preferred service.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div>On 21/09/16 19:28, José Seabra wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>Hello,<br>
</div>
I have a doubt related with DMQ dns behavior, I noticed
that when kamailio starts, it tries to resolve DMQ name
configured on parameter notification_address as the
following sequence:<br>
</div>
<ol>
<li>SRV </li>
<li>A</li>
<li>AAAA</li>
</ol>
</div>
</div>
<div>
<div>
<div>
<div>
<div><br>
</div>
<div>Isn't supposed kamailio try first resolve the
NAPTR DMQ name, and then SRV?<br>
</div>
<div>I'm asking this because kamailio is trying resolve
the SRV record without any transport protocol
specified on query, as my dns server only accepts
queries on the format "_Service._Proto.Name" the SRV
will never be resolved.<br>
<br>
</div>
<div>Thank you.<br>
</div>
<div>BR<br>
</div>
<div>-- <br>
<div>
<div>José Seabra</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>______________________________<wbr>_________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cg<wbr>i-bin/mailman/listinfo/sr-user<wbr>s</a>
</pre>
</blockquote>
<br>
<pre cols="72">--
Daniel-Constantin Mierla
<a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/mic<wbr>onda</a>
Kamailio Advanced Training, Berlin, Oct 24-26, 2016 - <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a></pre>
</div>
<br>______________________________<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></div>
<br>
</div></div></div></div><div><font style="font-size:10pt;font-family:helvetica,arial,sans-serif" color="gray">Sipcentric Ltd.
Company registered in England & Wales no. 7365592.</font><span style="font-size:10pt;font-family:helvetica,arial,sans-serif"> </span><font style="font-size:10pt;font-family:helvetica,arial,sans-serif" color="gray">Registered
office: Faraday Wharf, Innovation Birmingham Campus, Holt Street, Birmingham Science Park, Birmingham B7 4BB.</font></div><span><br>______________________________<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></span></blockquote></div><span><font color="#888888"><br><br clear="all"><br>-- <br><div>Cumprimentos<div>José Seabra</div></div>
</font></span></div>
<br>______________________________<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></div></div><br><br clear="all"><div><br></div>
</div></div><div class="HOEnZb"><div class="h5">
<br>
<div><font style="font-size:10pt;font-family:Helvetica,Arial,sans-serif" color="gray">Sipcentric Ltd.
Company registered in England & Wales no. 7365592.</font><span style="font-size:10pt;font-family:Helvetica,Arial,sans-serif"> </span><font style="font-size:10pt;font-family:Helvetica,Arial,sans-serif" color="gray">Registered
office: Faraday Wharf, Innovation Birmingham Campus, Holt Street, Birmingham Science Park, Birmingham B7 4BB.</font></div></div></div><br>______________________________<wbr>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">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/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Cumprimentos<div>José Seabra</div></div>
</div>