<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:10pt">Hi Duane,<br><br>Try to add SDP body manually if it is not added:<br>- Save the original SDP ($rb) somewhere before calling b2b_init_request() function.<br>- Add it to reInvite in local_route. <br><div><span><br></span></div><div>//Binan<br></div> <div style="font-family: times new roman, new york, times, serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight:bold;">Från:</span></b> Duane Larson <duane.larson@gmail.com><br> <b><span style="font-weight: bold;">Till:</span></b> OpenSIPS users mailling list <users@lists.opensips.org> <br> <b><span style="font-weight: bold;">Skickat:</span></b> måndag, 8 oktober 2012 0:23<br> <b><span style="font-weight:
bold;">Ämne:</span></b> [OpenSIPS-Users] B2BUA - Transfer Issue because of no SDP<br> </font> </div> <br>
<div id="yiv416615983">I have a couple of issues with transferring calls when my SIP provider is involved.<div><br></div><div>Issue #1 - Call comes from SIP Provider to Customer A100. Customer A100 picks up. Customer A100 transfers call to Customer A102. While Customer A102's phone is ringing the SIP Provider user on the line doesn't hear anything at all.</div>
<div><br></div><div>Issue #2 - Call comes from Customer A100 to someone on the PSTN network via my SIP Provider. PSTN user picks up. Customer A100 transfers call to Customer A102. This fails because SIP Provider sends me a 603 Decline.</div>
<div><br></div><div><br></div><div>I have talked with my provider and they say both scenarios are due to the fact that I am sending a Re-Invite without any SDP message. On my B2BUA OpenSIPS server I am using the REFER scenario and also have the following in my config</div>
<div>modparam("b2b_logic", "use_init_sdp", 1)</div><div><br></div><div>Here is my refer b2bua script</div><div><br></div><div><div><?xml version="1.0"?></div><div><scenario id="refer" name="Handle refer at server" param="0" type="script"></div>
<div> <init></div><div> <bridge></div><div> <server></div><div> <id>server1</id></div><div> </server></div><div> <client></div><div> <id>client1</id></div>
<div> <type>message</type></div><div> <destination></div><div> <value type="initial">server1</value></div><div> </destination></div><div> </client></div>
<div> </bridge></div><div> </init></div><div><br></div><div> <rules></div><div> <request></div><div> <refer></div><div> <rule id="1"></div><div> <action></div>
<div> <send_reply></div><div> <code>202</code></div><div> <reason>Accepted</reason></div><div> </send_reply></div><div> <end_dialog_leg/></div>
<div> <bridge></div><div> <client></div><div> <peer/></div><div> </client></div><div> <client></div><div> <id>client2</id></div>
<div> </div><div> <destination></div><div> <value type="header">Refer-To</value></div><div> </destination></div><div> </client></div>
<div> </bridge></div><div> </action></div><div> </rule></div><div> </refer></div><div> </request></div><div> </rules></div><div></scenario></div>
</div><div><br></div><div><br></div><div>Anyone have an idea what I am doing wrong?</div>
</div><br>_______________________________________________<br>Users mailing list<br><a ymailto="mailto:Users@lists.opensips.org" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br><br><br> </div> </div> </div></body></html>