Fix parsing of SIP headers where compact and non-compact headers are mixed
authorKinsey Moore <kmoore@digium.com>
Thu, 9 Feb 2012 20:52:13 +0000 (20:52 +0000)
committerKinsey Moore <kmoore@digium.com>
Thu, 9 Feb 2012 20:52:13 +0000 (20:52 +0000)
commit6225c6cadc33840603f0790ec335c8b053ff079d
treebd3e8056d4973a80179f5d5d994cf7efede2d804
parent25e344168e9764cbba1af7b58d529cbe0f9ae01c
Fix parsing of SIP headers where compact and non-compact headers are mixed

Change parsing of SIP headers so that compactness of the header no longer
influences which header will be chosen.  Previously, a non-compact header
would be chosen instead of a preceeding compact-form header.

(closes issue ASTERISK-17192)
Review: https://reviewboard.asterisk.org/r/1728/
........

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

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

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