[OpenSIPS-Users] Removing a Header in INVITE before forwarding

Raúl Alexis Betancor Santana rabs at dimension-virtual.com
Thu Aug 12 08:40:59 CEST 2010


On Thursday 12 August 2010 02:20:04 Richard Revels wrote:
> I think this also happens (route header on initial invite) when you set an
> outbound proxy on some clients.  My soft phone does this.  I just yank
> route headers with the remove header field command on initial invites as I
> don't want clients deciding how to route.  As TR mentioned, that can be
> bad'ish.
>
> remove_hf("Route");

It's a very, very bad idea to remove the Route Header before relaying, because 
if it get back (it will not, because you are removing the returning path), 
your proxy will not know where to relay that request.

Best regards
-- 
Raúl Alexis Betancor Santana
Dimensión Virtual



More information about the Users mailing list