<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="margin-top: 1em; margin-bottom: 1em; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi all,</div>
<div class="elementToProof" style="margin-top: 1em; margin-bottom: 1em; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
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.</div>
<div class="elementToProof" style="margin-top: 1em; margin-bottom: 1em; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I've added to my b2b_logic_reply logic to run b2b_client_new() and b2b_bridge_retry() upon a 4xx error response.<br>
This works when the b2b_bridge is established with two entites, e.g. b2b_bridge("caller", "callee");</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<i><code>NOTICE:b2b_logic_reply: SIP Reply Code=183, Reason=Session In Progress, Entity=callee, Key=B2B.251.4266553.1751971857.746992624, Call Context ID=<null>
</code></i></div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<i><code>NOTICE:b2b_logic_reply: SIP Reply Code=486, Reason=Busy Here, Entity=callee, Key=B2B.251.4266553.1751971857.746992624, Call Context ID=<null>
</code></i></div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<i><code>INFO:b2b_logic:b2bl_add_client: adding entity [0x7fc8f07da818]->[B2B.250.2854263.1751971857.1521299734] to tuple [0x7fc8f07caf08]->[254.0]
</code></i></div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<i><code>NOTICE:b2b_logic_reply: SIP Reply Code=183, Reason=Session In Progress, Entity=, Key=B2B.250.2854263.1751971857.1521299734, Call Context ID=<null>
</code></i></div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<i><code>NOTICE:b2b_logic_reply: SIP Reply Code=200, Reason=OK, Entity=, Key=B2B.250.2854263.1751971857.1521299734, Call Context ID=<null></code></i></div>
<div style="margin-top: 1em; margin-bottom: 1em; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
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.</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<code>NOTICE:b2b_logic_reply: SIP Reply Code=183, Reason=Session In Progress, Entity=<null>, Key=<null>, Call Context ID=<null>
</code></div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<code>NOTICE:b2b_logic_reply: SIP Reply Code=486, Reason=Busy Here, Entity=<null>, Key=<null>, Call Context ID=<null>
</code></div>
<div style="margin-top: 1em; margin-bottom: 1em; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
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
<code>ERROR:b2b_logic:b2b_script_bridge_retry: The 'b2b_bridge_retry' function can only be used fornegative replies from the second entity</code></div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div><br>
</div>
<div id="Signature">
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<table data-tablelook="1696" data-tablestyle="MsoNormalTable" id="table_0" style="direction: ltr; box-sizing: border-box; border-collapse: collapse; border-spacing: 0px;">
<tbody>
<tr>
<td data-celllook="4369" data-editing-info="{"vAlignOverride":true}" style="direction: ltr; text-align: left; vertical-align: top; width: 117px; height: 22px; box-sizing: border-box;" rowspan="2">
<div style="padding-right: 7px; padding-left: 7px;">
<p style="direction: ltr; text-align: left; text-indent: 0px; margin: 0px; color: rgb(0, 0, 0);">
<img height="114" width="91" style="width: 91px; height: 114px; margin-top: 0px; margin-bottom: 0px;" id="image_0" alt="Picture" data-outlook-trace="F:1|T:1" src="cid:0d3e7269-c43d-4df0-9bc0-f196935fab82"><span style="font-family: Aptos, "Aptos_EmbeddedFont", "Aptos_MSFontService", sans-serif; font-size: 12pt; line-height: 25.575px;"> </span></p>
</div>
</td>
<td data-celllook="4369" style="direction: ltr; vertical-align: top; width: 341px; height: 22px; box-sizing: border-box;">
<div style="padding-right: 7px; padding-left: 7px;">
<p style="direction: ltr; text-align: left; text-indent: 0px; margin: 0px; color: rgb(0, 0, 0);">
<span style="font-family: Trebuchet MS, "Trebuchet MS_EmbeddedFont", "Trebuchet MS_MSFontService", sans-serif; font-size: 11pt; line-height: 33.7125px;"><b>Joćo Coucelo</b></span></p>
</div>
</td>
</tr>
<tr>
<td data-celllook="4369" style="direction: ltr; vertical-align: top; width: 117px; height: 114.733px; box-sizing: border-box;">
<div style="padding-right: 7px; padding-left: 7px;">
<p style="direction: ltr; text-align: left; text-indent: 0px; margin: 0px; color: rgb(0, 0, 0);">
<span style="font-family: Trebuchet MS, "Trebuchet MS_EmbeddedFont", "Trebuchet MS_MSFontService", sans-serif; font-size: 9pt; line-height: 20.925px;">UC Specialist </span></p>
<p style="direction: ltr; text-align: left; text-indent: 0px; margin: 0px; color: rgb(0, 0, 0);">
<span style="font-family: Trebuchet MS, "Trebuchet MS_EmbeddedFont", "Trebuchet MS_MSFontService", sans-serif; font-size: 9pt; color: rgb(153, 153, 153); line-height: 19.7625px;">m: (+351)
<b>916 312 940</b> </span></p>
<p style="direction: ltr; text-align: left; text-indent: 0px; margin: 0px; color: rgb(0, 0, 0);">
<span style="font-family: Trebuchet MS, "Trebuchet MS_EmbeddedFont", "Trebuchet MS_MSFontService", sans-serif; font-size: 9pt; color: rgb(153, 153, 153); line-height: 19.7625px;">celfocus.com </span></p>
<p style="direction: ltr; text-align: left; text-indent: 0px; margin: 8px 0px 0px; color: rgb(0, 0, 0);">
<span style="font-family: Trebuchet MS, "Trebuchet MS_EmbeddedFont", "Trebuchet MS_MSFontService", sans-serif; font-size: 6pt; line-height: 12.7875px;"> </span><img height="28" width="95" style="width: 95.8462px; height: 28px; margin-top: 0px; margin-bottom: 0px;" id="image_1" alt="Picture" data-outlook-trace="F:1|T:1" src="cid:56b3b565-067d-4c64-934c-20b900085e2c"><span style="font-family: Trebuchet MS, "Trebuchet MS_EmbeddedFont", "Trebuchet MS_MSFontService", sans-serif; font-size: 6pt; line-height: 12.7875px;"> </span></p>
</div>
</td>
</tr>
</tbody>
</table>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="margin-top: 1em; margin-bottom: 1em; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
</div>
</body>
</html>