Hoping someone can point me in the right direction ...
With the sip11-ra, is there a way to retrieve the actual IP address and port that a request/response was sent from?
The suggested solution gives the local listening IP address. If I understand it right, posted question was to get the IP/Port of the caller(or requestee).
Does anyone have a solution please?
String transport = ListeningPoint.UDP; // get the real transport from the topmost via header
ListeningPoint lp = ((SipProvider)requestEvent.getSource()).getListeningPoint(transport);
then you can get the ip address and port from the listening point
==========================================[url=http://www.detective-group.com]california private investigator[/url]
[url=http://www.tennadoptionattorney.com/knoxville-adoption-lawyer.html]adoption lawyers knoxville[/url]
Hope this helps
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.