[reSIProcate] How to test existence of SDP in Sip msg
Scott Godin
slgodin at icescape.com
Fri Aug 25 14:55:33 CDT 2006
if (!proposed_offer)
From: resiprocate-devel-bounces at list.sipfoundry.org
[mailto:resiprocate-devel-bounces at list.sipfoundry.org] On Behalf Of
Kovar, William (Bill)
Sent: Friday, August 25, 2006 3:50 PM
To: resiprocate-devel at list.sipfoundry.org
Subject: [reSIProcate] How to test existence of SDP in Sip msg
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/9f874f09/attachment.htm>
More information about the resiprocate-devel
mailing list