<div dir="ltr">Hi Daniel,<div><br></div><div>Thanks for your response. Your suggestion helped me a lot. We don't use domains so instead a domain I set the ip address ($Ri). </div><div><br></div><div>I added this to my cfg. I don't know if is the right place. Whay do you think?</div><div><br></div><div>request_route {<br></div><div><div><br></div><div>       .....</div></div><div><div>       remove_hf("Route");</div><div>        if (is_method("INVITE|SUBSCRIBE")) {</div><div>                <b>$rd = $Ri; </b></div><div>                record_route();</div><div>        }</div></div><div>        ....</div><div><br></div><div>Cheers,</div><div><br></div><div>Diego</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-04-10 5:28 GMT-03:00 Daniel Tryba <span dir="ltr"><<a href="mailto:d.tryba@pocos.nl" target="_blank">d.tryba@pocos.nl</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sat, Apr 08, 2017 at 09:24:29PM -0300, Diego Nadares wrote:<br>
> ERROR: <core> [resolve.c:1694]: sip_hostport2su(): could not resolve hostn<br>
> ame.<br>
><br>
> Reconfigure those gw it's not possible. There are a lot of them and a lot<br>
> of people that won't like that idea.<br>
><br>
> Is possible to disable it? or What do you recommend me to do? Maybe using<br>
> /etc/hosts?<br>
<br>
</span>Wouldn't the easiest solution be to set $rd to your domain?<br>
<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>