< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

RE: [reSIProcate] How to differentiate sdp inInviteSessionHandler::onOffer()?


You need to access the SDP body of the SipMessage.  Check out:  

http://warsaw.sjc.purplecomm.com/wiki/index.php?title=Bodies



-----Original Message-----
From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of ??
Sent: Sunday, August 21, 2005 7:05 AM
To: resiprocate-devel
Subject: [reSIProcate] How to differentiate sdp
inInviteSessionHandler::onOffer()?

Hi all,

I want to implement Hold and UnHold.
Firstly, A Hold B,
A should send INVITE with sdp(c=IN IP4 0.0.0.0) to B,
then
B call InviteSessionHandler::onOffer(InviteSessionHandle is, const
SipMessage& msg, const SdpContents& sdp) 

After a moment, A unHold B,
A should send INVITE with sdp(c=IN IP4 172.25.17.240) to B,
and then
B also call the same function
InviteSessionHandler::onOffer(InviteSessionHandle is, const SipMessage& msg,
const SdpContents& sdp)

I want to know 
How to differentiate them in 
InviteSessionHandler::onOffer()
{
  ...   
}
 
Thank you very much!

John  Beijing,China


_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxxxxxx
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel