csipsimple tcp problem

This section is for general discussions surrounding digital phone service.
adminsly
Quiet One
Posts: 29
Joined: 02/10/2012
SIP Device Name: sipdroid

csipsimple tcp problem

Post by adminsly »

hi, why wen i setup to use tcp it does not connect. if i leave it by default UDP it connect no problem.

i am connecting to pbxes.org it should support tcp, with sipdroid it work in tcp, why not csipsimple ?

thanks

sly
dibsmft
*Go-To Guy*
Posts: 651
Joined: 05/11/2011
SIP Device Name: Yealink T22 (SPA3102 GS286)
Firmware Version: 7.60.0.110
ISP Name: Bell-Aliant DSL
Computer OS: Linux Mint
Router: Speedstream 6520
Smartphone Model: Google Nexus 5
Android Version: 3.2.1
Location: St. John's NL

Re: csipsimple tcp problem

Post by dibsmft »

Voip via SIP normally uses UDP transport and there are good reasons for that although those reasons may be becoming less good as the internet get faster. Not many SIP providers support TCP connection but a few do (pbxes.org does and iptel.org does I think). It appears the csipsimple should be able to use TCP from web page description. TCP should have some advantages like lower power consumption and better wake up of phone clients on Android. Never having tried to use TCP with sip I cannot say much more - pehaps it is time I gave it a try as I use csipsimple myself!
adminsly
Quiet One
Posts: 29
Joined: 02/10/2012
SIP Device Name: sipdroid

Re: csipsimple tcp problem

Post by adminsly »

after doing some digging , i find out , that pbxes.org does need UDP to register , if the sip client use only TCP you can NOT register. so far with my test it is correct.

i dont understand why people are using pbxes.org to be able to use TCP. unless the communication goes thru TCP and only the registering goes thru UDP ?

can someone confirm ?

this morming a enable TCP so i will find out if the batterie last longuer!!!

thanks

sylvain
dibsmft
*Go-To Guy*
Posts: 651
Joined: 05/11/2011
SIP Device Name: Yealink T22 (SPA3102 GS286)
Firmware Version: 7.60.0.110
ISP Name: Bell-Aliant DSL
Computer OS: Linux Mint
Router: Speedstream 6520
Smartphone Model: Google Nexus 5
Android Version: 3.2.1
Location: St. John's NL

Re: csipsimple tcp problem

Post by dibsmft »

Perhaps what is said in this discussion may help to explain a little about pbxes:
http://www4.pbxes.com/forum/thread.php? ... 1316414273
adminsly
Quiet One
Posts: 29
Joined: 02/10/2012
SIP Device Name: sipdroid

Re: csipsimple tcp problem

Post by adminsly »

it look like the programer knows the issue with tcp and pbxes.

it need UDP to register to pbxes as discuss in this thread http://code.google.com/p/csipsimple/issues/detail?id=50

sly