<p dir="ltr">In fact, kamailio is out from lcr at this point, no more gateway to try (all gateways are down).<br>
I just want to send call to a static server for playing sound.</p>
<p dir="ltr">To be more specific, if no gateways are not set on database, a sound must be played.</p>
<p dir="ltr">Should i change $du and $ru to make it work ?</p>
<div class="gmail_extra"><br><div class="gmail_quote">Le 23 sept. 2016 4:36 PM, "Juha Heinanen" <<a href="mailto:jh@tutpro.com">jh@tutpro.com</a>> a écrit :<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="quoted-text">Loic Chabert writes:<br>
<br>
> To accomplish this, i re-write the RURI: "sip:error1@errorserver.local"<wbr>,<br>
> and launch RELAY route. But kamailio dont make a DNS query to find IP of<br>
> "errorserver.local", only change RURI and try to send to the last LCR<br>
> gateway.<br>
><br>
> I have also try to add a new branch, but same result... Why kamailio do not<br>
> make a new DNS query ?<br>
<br>
</div>check if both hostname and ip address are given for the gateway.  if so,<br>
next_gw() also sets destination uri.<br>
<br>
-- juha<br>
<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>
</blockquote></div><br></div>