Hi all, I'm validating the different supported b2b_bridge scenarios. I noticed something that I was not expecting in the b2b_bridge_retry scenario; i could not do a bridge_retry when the b2b_bridge is established with prov_media_uri. The bridge retry is done for entity 1, and in this case that is the media entity; however the retry should be done for the "callee" entity, and not for the media. I've added to my b2b_logic_reply logic to run b2b_client_new() and b2b_bridge_retry() upon a 4xx error response. This works when the b2b_bridge is established with two entites, e.g. b2b_bridge("caller", "callee"); NOTICE:b2b_logic_reply: SIP Reply Code=183, Reason=Session In Progress, Entity=callee, Key=B2B.251.4266553.1751971857.746992624, Call Context ID=<null> NOTICE:b2b_logic_reply: SIP Reply Code=486, Reason=Busy Here, Entity=callee, Key=B2B.251.4266553.1751971857.746992624, Call Context ID=<null> INFO:b2b_logic:b2bl_add_client: adding entity [0x7fc8f07da818]->[B2B.250.2854263.1751971857.1521299734] to tuple [0x7fc8f07caf08]->[254.0] NOTICE:b2b_logic_reply: SIP Reply Code=183, Reason=Session In Progress, Entity=, Key=B2B.250.2854263.1751971857.1521299734, Call Context ID=<null> NOTICE:b2b_logic_reply: SIP Reply Code=200, Reason=OK, Entity=, Key=B2B.250.2854263.1751971857.1521299734, Call Context ID=<null> However, if I add the media_url to the b2b_bridge, the b2b_logic_reply route is not able to associate the incoming 4xx error response to the callee entity. NOTICE:b2b_logic_reply: SIP Reply Code=183, Reason=Session In Progress, Entity=<null>, Key=<null>, Call Context ID=<null> NOTICE:b2b_logic_reply: SIP Reply Code=486, Reason=Busy Here, Entity=<null>, Key=<null>, Call Context ID=<null> If I remove the if condition that checks that the error was received for the “callee” entity and do the b2b_bridge_retry anyway, I get ERROR:b2b_logic:b2b_script_bridge_retry: The 'b2b_bridge_retry' function can only be used fornegative replies from the second entity
[Picture] João Coucelo UC Specialist m: (+351) 916 312 940 celfocus.com [Picture]
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users