From: Ilian J. C. P. <ip...@so...> - 2007-10-10 11:09:22
Hi,
It's not always possible to get the callee's IP especially if a B2BUA is
involved. You could however get the callee's URI (if this is sufficient
for you). Check Event_OutgoingCallConnected. The target URI is passed there.
Regards,
Ilian
Woo Chen wrote:
> I'm working on an UA project.
> Mime-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Type: text/plain; charset=us-ascii
>
> Is there a function that returns the callee's ip address after the call is established?
>
> Regards,
> GCC
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> opensipstack-devel mailing list
> ope...@li...
> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel
>
>
>
From: Roland A. <ope...@op...> - 2007-10-11 07:32:11
You probably may try to access some internal headers on the SIPMessage, like
SipMessage.GetInternalHeader("RCVADDR")
SipMessage.GetInternalHeader("RCVPORT")
also you can find out on which interface you've receied the message by using
SipMessage.GetInternalHeader("IFACE-ADDR")
hope that helps