[reSIProcate] Set SDP contents using the method setContents

Ryan Kereliuk ryker at ryker.org
Sun Jul 29 14:31:44 CDT 2007


That looks correct.  Perhaps validate that sdpContents isn't NULL prior
to the SipMessage::setContents() call.  What do you get from
SipMessage::getContents() after attempting to add your SDP body?

Thanks,
-Ryan

On 2007-07-29 at 12h12, Tuan Viet Nguyen wrote:
> 
> Can we set the SDP content to a SIP message like below?
> 
> msg->setContents(sdpContent);  //sdpContent is a pointer to an instance of the class SdpContents
> 
> I tried that but it did not work.



More information about the resiprocate-devel mailing list