[OpenSIPS-Users] Route Header removal

Louis Rochon Louis.Rochon at comtechtel.com
Tue Aug 24 19:34:04 EST 2021

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.

route {

if ( is_method("INVITE") ) {
xlog("removing Route Header: $(hdr(Route)[0])\n");
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.


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20210824/290ee715/attachment.html>

More information about the Users mailing list