[OpenSIPS-Users] Remove "Route" header in initial (out dialog) INVITE request before forwarding

Ravi rkumar at panterranetworks.com
Sat Sep 8 23:57:28 EDT 2018


Hello,

 

I am using opensips as Proxy service and my requirement is to  remove
"Route" header in initial (out dialog) INVITE request before forwarding to
next Hop. This is because I don't want to follow the route set from End
Point as I have my internal route.

 

I tried option "remove_hf("Route")"  from configuration but  still Route
header is not being removed when forwarding to next Hop. 

 

I cannot use "loose_route" which only remove Route header when matched  self
but my requirement is to remove all Route header (if present multiple).
Please suggest on  how can I do that.

 

Regards,

V Ravi Kumar

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20180909/a5b23aa9/attachment.html>


More information about the Users mailing list