pyj4104 / sipdroid

Automatically exported from code.google.com/p/sipdroid
GNU General Public License v3.0
0 stars 0 forks source link

SIP over TCP needs STUN over TCP (STUNT) #400

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

--
What steps will reproduce the problem?
1. Connect via SIP over TCP, enter a STUN-server
2. Wait for the green sipdroid-light, try a outbound call, which should work
3. try to call your sip-account from another phone, which fails

What is the expected output? What do you see instead?
expected: sipdroid rings and you can take the call
instead: it happens nothing and the caller gets busy signaling

What version of the product are you using? On what device/operating system?
1.4.1pre, Milestone 2.0.1

Which SIP server are you using? What happens with PBXes?
PBXes (+ sipgate)

Which type of network are you using?
3G, should be the same with every NAT

Please provide any additional information below.

If you are behind a firewall or connected through ppp you need the help of
STUN to receive inbound calls. there are different STUN-services for udp
and tcp and one must use the same as the application: SIP over TCP needs
STUN over TCP. 

It seems, that sipdroid always uses STUN for udp, even if its connecting
over tcp. sipdroid should switch the STUN service corresponding to the base
protocol for SIP.

For STUN and TCP see:
http://tools.ietf.org/html/draft-ietf-mmusic-ice-tcp-08

Original issue reported on code.google.com by bug.me.not.dude@googlemail.com on 31 Mar 2010 at 10:49

GoogleCodeExporter commented 9 years ago
STUNT server software can be found at 
http://sourceforge.net/projects/stunovertcp/

Original comment by bug.me.not.dude@googlemail.com on 31 Mar 2010 at 10:54

GoogleCodeExporter commented 9 years ago
worksforme

Hi
It works fine for me. I use PBXes (which then connect to voip.ms). I use SIP 
over TCP and STUN is on in sipdroid. Works fine on both UMTS/HSDPA and Wifi 
(always behind NAT) and both inbound and outbound.

Original comment by xavdouvi...@gmail.com on 9 Aug 2010 at 5:46