Changes transport option in sip.conf so that using multiple instances doesn't stack.
authorJonathan Rose <jrose@digium.com>
Tue, 28 Feb 2012 18:23:02 +0000 (18:23 +0000)
committerJonathan Rose <jrose@digium.com>
Tue, 28 Feb 2012 18:23:02 +0000 (18:23 +0000)
commit565f411868288d911b63944e4c8410b8e2951b7b
tree5e3e8a10e2af3f4abfbcf77a84af786a1cf4f88c
parent2e834f7d36be6b7fd2531f4e4ac3dcbb050a2bdc
Changes transport option in sip.conf so that using multiple instances doesn't stack.

Prior to this patch, Using "transport=" multiple times would cause them to add to one
another like allow/deny. This patch changes that behavior to simply use the transport
option specified last. Also, if no transport option is applied now, the default will
automatically be UDP.

(closes ASTERISK-19352)
Reported by: jamicque
Patches:
asterisk-19352-transport-warning-message-v1.patch uploaded by Michael L. Young (license 5026)
issueA19352_no_transport_is_udp.patch uploaded by Walter Doekes (license 5674)
Review: https://reviewboard.asterisk.org/r/1745/diff/#index_header
........

Merged revisions 357266 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 357271 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@357288 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c