I'll look at implementing that but it sounds like the "use_init_sdp" parameter is the answer to my issue but it doesn't include the initial SDP message in my re-invite.
I am a little confused how to go about this because I found this post by Anca http://opensips-open-sip-server.1449251.n2.nabble.com/B2BUA-Refer-scenario-not-sending-SDP-td6710874.html#a6712915 So in her post the re-INVITE shouldn't have any SDP and then you add the SDP in the the 200OK. My SIP Provider says they will not allow a re-INVITE without a SDP message. And when you read the description for the "use_init_sdp" parameter it says "The correct way is to send an Invite without a body in this case, but it has been observed that not many gateways support this". Sure enough my SIP Providers gateways don't support a re-INVITE without SDP. Any other thoughts on this? On Mon, Oct 8, 2012 at 3:35 AM, Binan AL Halabi <[email protected]>wrote: > 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 <[email protected]> > *Till:* OpenSIPS users mailling list <[email protected]> > *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 > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > -- -- *--*--*--*--*--* Duane *--*--*--*--*--* --
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
