[reSIProcate] Invite with no SDP

Sergio García Murillo Sergio.Garcia at ydilo.com
Fri Mar 24 07:17:12 CST 2006


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 at list.sipfoundry.org [mailto:resiprocate-devel-bounces at list.sipfoundry.org] On Behalf Of Sergio García Murillo
Sent: viernes, 24 de marzo de 2006 11:28
To: resiprocate-devel at list.sipfoundry.org
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. 
--------------------------------------------------------------------------------------



More information about the resiprocate-devel mailing list