[reSIProcate] How to test existence of SDP in Sip msg
- From: "Kovar, William \(Bill\)" <bkovar@xxxxxxxxx>
- Date: Fri, 25 Aug 2006 15:50:17 -0400
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