]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip: Add disable_tcp_switch option.
authorRichard Mudgett <rmudgett@digium.com>
Mon, 3 Nov 2014 17:54:20 +0000 (17:54 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Mon, 3 Nov 2014 17:54:20 +0000 (17:54 +0000)
commit98e319937c0c923cfdf9970b0e6fea894e380856
tree61126f142b822ca015dcbd5fa0634783270e7ffd
parentc6bf7732adca345492a5b0d06ee309de2b4ad3b1
res_pjsip: Add disable_tcp_switch option.

When a packet exceeds the MTU, pjproject will switch from UDP to TCP.  In
some circumstances (on some networks), this can cause some issues with
messages not getting sent to the correct destination - and can also cause
connections to get dropped due to quirks in pjproject deciding to
terminate TCP connections with no messages.

While fixing the routing/messaging issues is important, having a
configuration option in Asterisk that tells pjproject to not switch over
to TCP would be useful.  That way, if some glitch is discovered on some
other network/site, we can at least disable the behavior until a fix is
put into place.

AFS-197 #close

Review: https://reviewboard.asterisk.org/r/4137/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@427129 65c4cc65-6c06-0410-ace0-fbb531ad65f3
UPGRADE.txt
configs/pjsip.conf.sample
res/res_pjsip.c
res/res_pjsip/config_system.c