Thanks again Daniel.

Cheers,

Diego

2017-04-10 13:14 GMT-03:00 Daniel Tryba <d.tryba@pocos.nl>:
On Mon, Apr 10, 2017 at 12:34:51PM -0300, Diego Nadares wrote:
> 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).

Just took a look at the dns options, strangely enough there is no way to
disable it apparently.

> 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();
>         }

Any place is fine, unless you forward/proxy for some specific domains.
In my default setups I set $rd to a known value just before location()
stuff.

_______________________________________________
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