If you want to preserve a domain without DNS in the R-URI, but still be able to send to a specific IP address, just update $du (known as destination uri or outbound proxy address):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();}....
-- Daniel-Constantin Mierla www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training - May 22-24 (USA) - www.asipto.com Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com