liyuanwei / imsdroid

Automatically exported from code.google.com/p/imsdroid
0 stars 0 forks source link

How to know the caller's IP address #187

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Is there an API/way to know the caller's IP address in the receiver?

What version of the product are you using? On what operating system?
IMSDroid/v1.2.353 (doubango r539) on Android 2.2

Original issue reported on code.google.com by kow...@gmail.com on 25 Feb 2011 at 6:54

GoogleCodeExporter commented 9 years ago
The AoR should contain the ip address of the caller.

Original comment by boss...@yahoo.fr on 28 Feb 2011 at 9:14

GoogleCodeExporter commented 9 years ago
I am not familiar with the term AoR. Could you please let me know what it is 
and how I can extract the caller's IP from this?

Original comment by kow...@gmail.com on 1 Mar 2011 at 5:31

GoogleCodeExporter commented 9 years ago
I am not familiar with the term AoR. Could you please let me know what
it is and how I can extract the caller's IP from this?

Original comment by kow...@gmail.com on 4 Mar 2011 at 10:46

GoogleCodeExporter commented 9 years ago
AoR stands for Address of record and it's part of the Contact header. It should 
be something like this:
Contact: <sip:200006390702339374@10.139.244.214:5060>
The last part is the ip address and port of the originator.

Original comment by boss...@yahoo.fr on 4 Mar 2011 at 10:50