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>