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

2022-08-30 Thread Li Cai
Hi Bogdan, Thank you very much for the help, I have located the issue in our script. Thanks, Li From: Bogdan-Andrei Iancu Sent: August 30, 2022 9:20 AM To: Li Cai ; OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] Modify the headers after executing a MI function in B2B_LOGIC

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

2022-08-30 Thread Bogdan-Andrei Iancu
Hi Li, The INVITE in #77 is an initial INVITE, connecting to a new party (as a result of the bridging), so the TO hdr in that INVITE is dictated by the B2B logic - as you can see the TO URI is the same as RURI, pointing to the new party in the bridging. Regards, Bogdan-Andrei Iancu

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

2022-08-25 Thread Li Cai
[This email is resent for the last one is oversized] Hi Bodgan, Thanks a lot for the help, the pcap file is attached. The call flow is as - #11. INVITE from the caller on 10.10.8.131 to B2BProxy 10.10.9.205 #15. Forwarded INVITE from B2BProxy with the

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

2022-08-25 Thread Bogdan-Andrei Iancu
Hi Li, Somehow we are going in circles here :). So, could you post a pcap for call going via your B2B  (showing all in and out SIP messages) and mention which frame is the outgoing request you cannot modify ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer

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

2022-08-24 Thread Li Cai
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

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

2022-08-24 Thread Bogdan-Andrei Iancu
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 OpenSIPS Summit 27-30 Sept

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

2022-08-24 Thread Li Cai
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 Sent: August 24, 2022 7:18 AM To: OpenSIPS users mailling list ; Li

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

2022-08-24 Thread Bogdan-Andrei Iancu
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 OpenSIPS Summit 27-30 Sept 2022, Athens

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

2022-08-23 Thread Li Cai
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