barchandune / doubango

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

STUN peer2peer function not work well when NAT exists #99

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?\
0.In my test environment, there is NAT.
1.in menu option->NATT->enable STUN/TURN function, choose Use this STUN/TURN 
Server, use as default server address and port setting: numb.viagenie.ca, port 
3478
2.Both caller and callee side all set the same in step 1.
3.sip server use sip2sip.info
4 make call. peer2peer function failed.
5 in Tcpdump, can see, doubango client only send one bind request, and receive 
one response from STUN server. 
I think doubango not follow full step STUN procedure, which will send more than 
one bind request.

What is the expected output? What do you see instead?
peer2peer not work.
sip2sip.info relay for call rtp packet.
I think doubango + sip2sip.info behavior is only judge whether there is NAT, if 
yes, sip2sip will relay for rtp.

What version of the product are you using? On what operating system?
doubango 2.0.682 + imsdroid 2.0.480

Please provide any additional information below.

How can I perform peer2peer call when NAT exists?

Original issue reported on code.google.com by yang.yu...@gmail.com on 16 Mar 2012 at 8:49

Attachments: