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

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Sep 20 11:44:44 EDT 2018


Hi Ravi,

why do you say the remove_hf() doesn't work ? do you still see the 
incoming Route hdr in the outbound message ??

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   http://www.opensips-solutions.com
OpenSIPS Bootcamp 2018
   http://opensips.org/training/OpenSIPS_Bootcamp_2018/

On 09/10/2018 08:14 AM, Ravi wrote:
>
> Hello,
>
> I am using opensips (2.3)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
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

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


More information about the Users mailing list