[reSIProcate] How to test existence of SDP in Sip msg

Kovar, William (Bill) bkovar at avaya.com
Fri Aug 25 14:50:17 CDT 2006


I'm trying to determine whether a msg has SDP in the onNewSession(...)
callback and can't seem to get it to work.

SdpContents* proposed_offer;
proposed_offer = dynamic_cast<SdpContents*>(msg.getContents());
if (*proposed_offer == resip::SdpContents::Empty)
{
}

Above doesn't seem to be right...

Can someone help?

 
Bill Kovar
Avaya Inc.
(732) 852-2609
bkovar at avaya.com
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20060825/1aee4d86/attachment.htm>


More information about the resiprocate-devel mailing list