Hi Bogdan,

Thanks for the explanation. I mean that the local_route can take effect for the 
forwarded INVITE(from incoming ones) in our proxy, but not after b2b_bridge. 
I'll do more debugging on it since the messages should be visible. Thank you 
very much.


Thanks,
Li

From: Bogdan-Andrei Iancu <[email protected]>
Sent: August 24, 2022 10:33 AM
To: Li Cai <[email protected]>; OpenSIPS users mailling list 
<[email protected]>
Subject: Re: [OpenSIPS-Users] Modify the headers after executing a MI function 
in B2B_LOGIC module


WARNING: External Email: Exercise Caution

Hi Li,

All SIP requests generated by `b2b_bridge` are to be visible in local_route. 
And on the contrary, the incoming (received) requests DO NOT trigger local 
route.

Regards,


Bogdan-Andrei Iancu



OpenSIPS Founder and Developer

  
https://www.opensips-solutions.com<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.opensips-solutions.com%2F&data=05%7C01%7CLi.Cai%40comtech.com%7C3cfc94bd30494557971708da85dd8120%7Ca9a26e696ae040c1bd801ca6cc677828%7C0%7C0%7C637969483655810006%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Alp8ey%2Frlw%2BagiLIsIphXz51eF74enunVGtuvY3veHA%3D&reserved=0>

OpenSIPS Summit 27-30 Sept 2022, Athens

  
https://www.opensips.org/events/Summit-2022Athens/<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.opensips.org%2Fevents%2FSummit-2022Athens%2F&data=05%7C01%7CLi.Cai%40comtech.com%7C3cfc94bd30494557971708da85dd8120%7Ca9a26e696ae040c1bd801ca6cc677828%7C0%7C0%7C637969483655810006%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ECg5RaeWv7nyMoFz2sTaFdQU%2BqzGA3wBaCGzbUfmygo%3D&reserved=0>
On 8/24/22 4:34 PM, Li Cai wrote:
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'.


Thanks,
Li

From: Bogdan-Andrei Iancu <[email protected]><mailto:[email protected]>
Sent: August 24, 2022 7:18 AM
To: OpenSIPS users mailling list 
<[email protected]><mailto:[email protected]>; Li Cai 
<[email protected]><mailto:[email protected]>
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

  
https://www.opensips-solutions.com<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.opensips-solutions.com%2F&data=05%7C01%7CLi.Cai%40comtech.com%7C3cfc94bd30494557971708da85dd8120%7Ca9a26e696ae040c1bd801ca6cc677828%7C0%7C0%7C637969483655810006%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Alp8ey%2Frlw%2BagiLIsIphXz51eF74enunVGtuvY3veHA%3D&reserved=0>

OpenSIPS Summit 27-30 Sept 2022, Athens

  
https://www.opensips.org/events/Summit-2022Athens/<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.opensips.org%2Fevents%2FSummit-2022Athens%2F&data=05%7C01%7CLi.Cai%40comtech.com%7C3cfc94bd30494557971708da85dd8120%7Ca9a26e696ae040c1bd801ca6cc677828%7C0%7C0%7C637969483655810006%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ECg5RaeWv7nyMoFz2sTaFdQU%2BqzGA3wBaCGzbUfmygo%3D&reserved=0>
On 8/23/22 10:34 PM, Li Cai wrote:
Hi,

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.


Thanks,
Li
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

[email protected]<mailto:[email protected]>

http://lists.opensips.org/cgi-bin/mailman/listinfo/users<https://gcc02.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.opensips.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fusers&data=05%7C01%7CLi.Cai%40comtech.com%7C3cfc94bd30494557971708da85dd8120%7Ca9a26e696ae040c1bd801ca6cc677828%7C0%7C0%7C637969483655810006%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=2T3Ged0wn5i%2BeDSYQCd9K%2BnoY09Ow1GwhngcxySXVao%3D&reserved=0>


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to