<div dir="ltr">Hi Louis-Olivier,<div><br></div><div>you should look at the DNS-Parameters of the Core:</div><div><a href="http://www.kamailio.org/wiki/cookbooks/devel/core#dns_parameters">http://www.kamailio.org/wiki/cookbooks/devel/core#dns_parameters</a><br></div><div><br></div><div>Kamailio caches DNS results by default (which can be turned off).</div><div><br></div><div>Thanks,</div><div>Carsten</div><img src="http://t.sidekickopen62.com/e1t/o/5/f18dQhb0S7ks8dDMPbW2n0x6l2B9gXrN7sKj6v4LGF6VcW1262m64hLW3xdLSP72TN_3d7C-zj01?si=6230090009280512&pi=e062ed3f-5599-404a-dac1-243982df8cf7" style="display:none!important" height="1" width="1"></div><div class="gmail_extra"><br><div class="gmail_quote">2016-07-27 16:47 GMT+02:00 Louis-Olivier Roof <span dir="ltr"><<a href="mailto:lroof@jive.com" target="_blank">lroof@jive.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Kamailio users,<br>
<br>
Ref: <a href="http://kamailio.org/docs/modules/4.2.x/modules/tm.html#tm.f.t_relay" rel="noreferrer" target="_blank">http://kamailio.org/docs/modules/4.2.x/modules/tm.html#tm.f.t_relay</a><br>
<br>
Using t_relay([host, port]) to relay messages to a specific host does<br>
not seem to generate DNS queries to the said host after Kamailio has<br>
initially processed the configuration file.<br>
<br>
It resolves the host once at startup then continues using the same IP after.<br>
<br>
Is that expected behavior? Anyone has had this issue before and found a<br>
way to work around it?<br>
<br>
Note that for this specific application, messages need to be relayed to<br>
a specified host (different from current R-URI) and this host needs to<br>
be resolved by DNS during normal operation, not only at startup.<br>
<br>
Thanks!<br>
<br>
Louis-Olivier<br>
<br>
_______________________________________________<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/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Carsten Bock<br>CEO (Geschäftsführer)<br><br>ng-voice GmbH<br>Millerntorplatz 1<br>20359 Hamburg / Germany<br><br><a href="http://www.ng-voice.com" target="_blank">http://www.ng-voice.com</a><br>mailto:<a href="mailto:carsten@ng-voice.com" target="_blank">carsten@ng-voice.com</a><br><br>Office +49 40 5247593-40<br>Fax +49 40 5247593-99<br><br>Sitz der Gesellschaft: Hamburg<br>Registergericht: Amtsgericht Hamburg, HRB 120189<br>Geschäftsführer: Carsten Bock<br>Ust-ID: DE279344284<br><br>Hier finden Sie unsere handelsrechtlichen Pflichtangaben:<br><a href="http://www.ng-voice.com/imprint/" target="_blank">http://www.ng-voice.com/imprint/</a></div>
</div>