TCP vs UDP and line_sip_transport

Status
Not open for further replies.

kidjake28

Member
Nov 30, 2017
97
0
6
56
I noticed that one of the parameters in the default settings 'line_sip_transport' is set for TCP.

I was under the assumption that UDP is a better protocol for voip. Should this not be set to UDP?

Please correct me if I'm wrong.
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,044
565
113
I'm correcting you :)

In almost all cases TCP is better for the SIP transport, particularly when the devices are behind NAT.

Please note, the RTP media stream is still carried over UDP and I think this is where the confusion arises.
 
Status
Not open for further replies.