< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

RE: [reSIProcate] Invite with no SDP


The problem was caused by the ClientInviteSession constructor just added a NULL 
check for sdp and everything works perfectly


ClientInviteSession::ClientInviteSession(DialogUsageManager& dum,
                                         Dialog& dialog,
                                         const SipMessage& request,
                                         const SdpContents* initialOffer,
                                         ServerSubscriptionHandle serverSub) :
   InviteSession(dum, dialog),
   mLastReceivedRSeq(-1),
   mStaleCallTimerSeq(1),
   mCancelledTimerSeq(1),
   mServerSub(serverSub)
{
   assert(request.isRequest());
   if (initialOffer)
      mProposedLocalSdp = InviteSession::makeSdp(*initialOffer);
   mInvite = request;
   mState=UAC_Start;
}

-----Original Message-----
From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Sergio 
García Murillo
Sent: viernes, 24 de marzo de 2006 11:28
To: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
Subject: [reSIProcate] Invite with no SDP

I want to send and INVITE request with no SDP. 
I have tried calling mDum.makeInviteSession with a NULL sdp content, but it 
fails. How can I do it?

        Thanxs in advance
--------------------------------------------------------------------------------------
This message and any files transmitted with it are confidential and intended 
solely 
for the use of the individual or entity to whom they are addressed. No 
confidentiality 
or privilege is waived or lost by any wrong transmission. 
If you have received this message in error, please immediately destroy it and 
kindly 
notify the sender by reply email.
You must not, directly or indirectly, use, disclose, distribute, print, or copy 
any 
part of this message if you are not the intended recipient. Opinions, 
conclusions and 
other information in this message that do not relate to the official business 
of 
Ydilo Advanced Voice Solutions, S.A. shall be understood as neither given nor 
endorsed by it. 
--------------------------------------------------------------------------------------