Hi Daniel,

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). 

I added this to my cfg. I don't know if is the right place. Whay do you think?

request_route {

       .....
       remove_hf("Route");
        if (is_method("INVITE|SUBSCRIBE")) {
                $rd = $Ri; 
                record_route();
        }
        ....

Cheers,

Diego


2017-04-10 5:28 GMT-03:00 Daniel Tryba <d.tryba@pocos.nl>:
On Sat, Apr 08, 2017 at 09:24:29PM -0300, Diego Nadares wrote:
> ERROR: <core> [resolve.c:1694]: sip_hostport2su(): could not resolve hostn
> ame.
>
> Reconfigure those gw it's not possible. There are a lot of them and a lot
> of people that won't like that idea.
>
> Is possible to disable it? or What do you recommend me to do? Maybe using
> /etc/hosts?

Wouldn't the easiest solution be to set $rd to your domain?


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users