]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_multihomed: Fix a bug where outgoing messages for TCP would go out using...
authorJoshua Colp <jcolp@digium.com>
Wed, 12 Mar 2014 12:50:46 +0000 (12:50 +0000)
committerJoshua Colp <jcolp@digium.com>
Wed, 12 Mar 2014 12:50:46 +0000 (12:50 +0000)
commitece1671625aac0fef3885deb7bc0b60a946ee767
tree00ca876b5384cd6246ffe1af9e30c7f4386c672f
parent9c82c32f80877478203c3cd04846080e4b37598b
res_pjsip_multihomed: Fix a bug where outgoing messages for TCP would go out using UDP.

This change fixes a bug where the code which changes the transport did not check whether
the message is going out over UDP or not before changing it. For TCP and TLS transports
we don't need to change the transport as the correct one is already chosen.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@410471 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_pjsip_multihomed.c