[OpenSIPS-Users] B2BUA
GUILLAUME POUILLY
tek1 at ottertelecom.io
Tue Jun 10 06:33:27 UTC 2025
Hi all,
I’m working on a call flow using OpenSIPS with the B2B modules, aiming to analyze call progression on Leg B before allowing it to complete on Leg A.
Here’s the scenario:
OpenSIPS receives a call (Leg A)
OpenSIPS initiates a new call to the destination (Leg B)
While monitoring SIP replies from Leg B (e.g., 183, 180, 200), OpenSIPS may decide to terminate the call at any point and return a custom SIP response (e.g., 987 Voicemail Detected) to Leg A instead of forwarding the final reply.
The problem is:
I can’t prevent the 200 OK from Leg B from being relayed to Leg A.
I’ve tried using b2b_logic, but I can’t seem to intercept and block the final reply in time.
Has anyone successfully implemented a similar flow or knows how to stop the forwarding of 200 OK to Leg A within the B2BUA context?
Thanks in advance for any guidance.
OtterTek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20250610/43a090e3/attachment.html>
More information about the Users
mailing list