STUN in IMSDroid

172 views
Skip to first unread message

andy9100

unread,
Nov 26, 2011, 9:51:26 AM11/26/11
to doub...@googlegroups.com
 Hi,
I tested Stun function and found that it works differently on IMSDroid and Boghe.
I think Boghe works well,right?
The IP and port in the media description of IMSDroid is not  address getting from STUN server.
Please see attachment.
regards.


imsdroid.JPG
boghe.JPG

Mamadou

unread,
Nov 30, 2011, 2:30:55 PM11/30/11
to Doubango
I cannot reproduce the issue. On my device all is working as expected.

>  imsdroid.JPG
> 229KViewDownload
>
>  boghe.JPG
> 206KViewDownload

Mamadou

unread,
Nov 30, 2011, 2:34:27 PM11/30/11
to Doubango
unless you're using the simulator

andy9100

unread,
Dec 1, 2011, 2:35:36 AM12/1/11
to doub...@googlegroups.com
Thank you Mamadou,

There is the packet i captured from sip server and stun server. please see in attachment.
I use HTC G12 and IMSDroid/v2.0.448 (doubango r635) got from http://code.google.com/p/imsdroid/downloads/detail?name=imsdroid-2.0.448-webrtc.apk.

sipserver and stun server address is: 10.0.11.27
HTC G12 address is: 192.168.0.106 (you can see it in invite message) behind a nat.
and his nat address is: 10.0.11.174

In the SDP, the second and the third connection information is Connection Information (c): IN IP4 192.168.0.106, not the Nat address 10.0.11.174,
but the first connection information(session level) is correct.


Do you use the same IMSDroid/v2.0.448 version as me?
sip_stun.pcap

andy9100

unread,
Dec 1, 2011, 3:04:59 AM12/1/11
to doub...@googlegroups.com
By the way , I attach Boghe packet I captured using wirshark.
And you can see the connection information in session level and in media level are all correct.
sip_stun_boghe2.pcap

andy9100

unread,
Dec 5, 2011, 8:21:20 PM12/5/11
to doub...@googlegroups.com
Hi,
Isn't there anybody that met this problem like me?
Can you look at the captured packet I attached, please Mamadou.
Thank you



At 2011-12-01 15:35:36,andy9100 <andy...@126.com> wrote:
Reply all
Reply to author
Forward
0 new messages