[OpenSIPS-Users] B2BUA - Transfer Issue because of no SDP

Duane Larson duane.larson at gmail.com
Mon Oct 8 00:23:47 CEST 2012


I have a couple of issues with transferring calls when my SIP provider is
involved.

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.

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.


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
modparam("b2b_logic", "use_init_sdp", 1)

Here is my refer b2bua script

<?xml version="1.0"?>
<scenario id="refer" name="Handle refer at server" param="0" type="script">
  <init>
    <bridge>
      <server>
        <id>server1</id>
      </server>
      <client>
        <id>client1</id>
        <type>message</type>
        <destination>
          <value type="initial">server1</value>
        </destination>
      </client>
    </bridge>
  </init>

  <rules>
     <request>
       <refer>
         <rule id="1">
           <action>
             <send_reply>
               <code>202</code>
               <reason>Accepted</reason>
             </send_reply>
             <end_dialog_leg/>
             <bridge>
               <client>
                 <peer/>
               </client>
               <client>
                 <id>client2</id>

                 <destination>
                   <value type="header">Refer-To</value>
                 </destination>
               </client>
             </bridge>
           </action>
         </rule>
       </refer>
    </request>
  </rules>
</scenario>


Anyone have an idea what I am doing wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20121007/abf8a8c5/attachment.htm>


More information about the Users mailing list