[OpenSIPS-Users] Modify the headers after executing a MI function in B2B_LOGIC module

Li Cai Li.Cai at comtech.com
Wed Aug 24 13:34:27 UTC 2022

Hi Bogdan,

Yes, we have put the changes by calling remove_hf() and append_hf() in the 'local_route', those functions for new incoming INVITE but not the INVITE sent out by 'b2b_bridge'.


From: Bogdan-Andrei Iancu <bogdan at opensips.org>
Sent: August 24, 2022 7:18 AM
To: OpenSIPS users mailling list <users at lists.opensips.org>; Li Cai <Li.Cai at comtech.com>
Subject: Re: [OpenSIPS-Users] Modify the headers after executing a MI function in B2B_LOGIC module

WARNING: External Email: Exercise Caution

Hi Li,

Have you tried to use the local_route in order to do custom changes on the outgoing requests generated by the B2B bridging ?

Best regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer


OpenSIPS Summit 27-30 Sept 2022, Athens

On 8/23/22 10:34 PM, Li Cai wrote:

I'm working on a change for a B2BUA based on OpenSIPs 2.4, but not sure if the function is supported or if it has been supported in the later versions.

We have used the MI command b2b_bridge to bridge existing calls from one entity to another and it works, the scenario is the same as expected. While besides this, we also need to modify one of the headers of the INVITEs sending to the new destination in this scenario,  our scripts in the opensips.cfg can't take any effect.

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 at lists.opensips.org<mailto:Users at lists.opensips.org>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20220824/0f60994c/attachment-0001.html>

More information about the Users mailing list