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

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


Hi

Do you mean sip URI?
You may get address-of-record from "from" ;-) header, current contact from
"Contact" header.

Take a look here how to do it:
http://wiki.resiprocate.org/wiki/index.php?title=Use_Overview

Regards,
Alex


-----Original Message-----
From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of іЈпЈ
Sent: Tuesday, September 13, 2005 9:53 AM
To: resiprocate-devel
Subject: [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

  


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