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

Alexander Altshuler alt at kaluga.ru
Tue Sep 13 01:05:03 CDT 2005


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 at list.sipfoundry.org
[mailto:resiprocate-devel-bounces at list.sipfoundry.org] 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 at list.sipfoundry.org
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel





More information about the resiprocate-devel mailing list