We are trying to remove the Route header from an incoming Invite.

Even with remove_hf, Opensips still routes towards the content of the Route 
header.

Opensips.cfg:
------------------
route {

if ( is_method("INVITE") ) {
.
.
.
xlog("removing Route Header: $(hdr(Route)[0])\n");
remove_hf("Route");
xlog( "Route Header still present?: $(hdr(Route)[0])\n");
};
.
.
.
And then we send the call to a b2b_init_request line.

Both xlogs show the route header still there. And indeed, the opensips attempts 
to route according to the contents of the route header.

Suggestions?


Louis
NOTICE TO RECIPIENT: This email, including attachments, may contain information 
which is confidential, proprietary, attorney-client privileged and / or 
controlled under U.S. export laws and regulations and may be restricted from 
disclosure by applicable State and Federal law. Nothing in this email shall 
create any legal binding agreement between the parties unless expressly stated 
herein and provided by an authorized representative of Comtech 
Telecommunications Corp. or its subsidiaries. If you are not the intended 
recipient of this message, be advised that any dissemination, distribution, or 
use of the contents of this message is strictly prohibited. If you received 
this message in error, please notify us immediately by return email and 
permanently delete all copies of the original email and any attached 
documentation from any computer or other media.
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to