Thanks, I will take this into account. Cheers,
Diego 2017-04-11 10:01 GMT-03:00 Daniel-Constantin Mierla <[email protected]>: > > > On 10.04.17 17:34, Diego Nadares wrote: > > 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(); > } > .... > > 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): > > $du = "sip:x.y.z.w"; > > If $du is set, upon doing t_relay(), forward() or a similar function, then > it is used for routing. > > Cheers, > Daniel > > -- > Daniel-Constantin Mierlawww.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 > > > _______________________________________________ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list > [email protected] > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > >
_______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
