channels/chan_sip: Support mutltiple Supported and Required headers
authorMatthew Jordan <mjordan@digium.com>
Thu, 30 Oct 2014 01:48:00 +0000 (01:48 +0000)
committerMatthew Jordan <mjordan@digium.com>
Thu, 30 Oct 2014 01:48:00 +0000 (01:48 +0000)
commitff83ff564c1f54fb7ed82a8efc41107acd882071
tree1f8577a746a88095f19dcc1abf4739d0090a62da
parent8a69aedd17b7b0c3e9e5b0b88483b6a2536cabc1
channels/chan_sip: Support mutltiple Supported and Required headers

A SIP request may contain multiple Supported: and Required: headers. Currently,
chan_sip only parses the first Supported/Required header it finds. This patch
adds support for multiple Supported/Required headers for INVITE requests.

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

ASTERISK-21721 #close
Reported by: Olle Johansson
patches:
  rb2478.patch uploaded by oej (License 5267)
........

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

Merged revisions 426595 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 426596 from http://svn.asterisk.org/svn/asterisk/branches/12
........

Merged revisions 426597 from http://svn.asterisk.org/svn/asterisk/branches/13

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