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

[reSIProcate] How to get sip number from INVITE message?


Hi, all
When terminal A send INVITE(or some other request) to terminal B, then B will 
call
virtual void
onNewSession(ServerInviteSessionHandle sis, InviteSession::OfferAnswerType oat, 
const SipMessage& msg)
in this function, how can I get sip number of A from msg?
I know it is included in msg->header->Contact, but i donot know how to get it.
thank you !

ZhengChang
Beijing , China