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

Binan AL Halabi binanalhalabi at yahoo.com
Mon Oct 8 10:35:29 CEST 2012


Hi Duane,

Try to add SDP body manually if it is not added:
- Save the original SDP ($rb) somewhere before calling b2b_init_request() function.
- Add it to reInvite in local_route. 


//Binan


________________________________
 Från: Duane Larson <duane.larson at gmail.com>
Till: OpenSIPS users mailling list <users at lists.opensips.org> 
Skickat: måndag, 8 oktober 2012 0:23
Ämne: [OpenSIPS-Users] B2BUA - Transfer Issue because of no SDP
 

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?
_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20121008/ae8f7451/attachment.htm>


More information about the Users mailing list