Closed GoogleCodeExporter closed 9 years ago
Where did you select TCP?
That's a little bit confusing but there is two place for setting up transport.
The one in general config should never be unchecked (unless you exactly know
what it changes in the pjsip stack).
The right place if you want an account to use TCP, is in account configuration.
Providers that are already known with real support of TCP (I mean no pbxes.org
for example ;) ), already allow you to activate a checkbox with the TCP option.
Or if it's a provider not listed, you should edit your account with the
"Advanced wizard" and check TCP checkbox (or use "Expert wizard" and choose as
transport "Force TCP".
Obviously if the sip server decide to talk using UDP during communication,
pjsip will use UDP. That's why you should not disable UDP from general
settings. UDP transport is still required, even if you register over TCP.
(And that's the reason of the bug with pbxes.org that decide during a
communication to switch to UDP, but actually does not understand when pjsip
talk using UDP... )
Original comment by r3gis...@gmail.com
on 25 May 2011 at 12:48
> UDP transport is still required, even if you register over TCP.
SIP protocol did not required UDP protocol.
But currently PJSIP requires, why I do not know, may this is pjsip bug or TCP
support is not fully realized here? You can with check with network sniffer.
Before it work only over TCP good, but not now.
REGISTER ....... always sent via UDP here. But can be send via TCP.
Original comment by vale...@gmail.com
on 25 May 2011 at 1:08
Ah, I have found what is the problem.
If I set SRTP to on-demand, it send REGISTER over UDP, if disabled - over TCP.
Question cancelled.
Original comment by vale...@gmail.com
on 25 May 2011 at 1:12
Original comment by r3gis...@gmail.com
on 17 Aug 2011 at 9:25
Original issue reported on code.google.com by
vale...@gmail.com
on 25 May 2011 at 12:08