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

常铮 changzheng at emails.bjut.edu.cn
Tue Sep 13 00:53:29 CDT 2005


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

  





More information about the resiprocate-devel mailing list