]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip: be more tolerant of whitespace between attributes in SDP fmtp line
authorMatthew Jordan <mjordan@digium.com>
Mon, 30 Jun 2014 03:25:59 +0000 (03:25 +0000)
committerMatthew Jordan <mjordan@digium.com>
Mon, 30 Jun 2014 03:25:59 +0000 (03:25 +0000)
commita940f9f9d066a123407ae2b2a5d656b71f70eb5f
tree3bd241c095a4160317aebc16cc03ef0db3d4c46a
parenta20840c74fbdf26c17113dc3ce684ffffdbab66f
chan_sip: be more tolerant of whitespace between attributes in SDP fmtp line

This patch is essentially a backport of a small portion of r397526 from
ASTERISK-21981. In that patch, pass through support and format attribute
negotiation was added for Opus. Part of that included being more tolerant to
whitespace in the fmtp line of an SDP; that part of the patch is being
applied here.

As the author of the backport pointed out, in SDP, the fmtp line is allowed to
include whitespace between attributes. RFC 3267 chapter 8.3 (from 2001)
includes an example for this. This was not removed in the updated RFC 4867 in
2007.

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

#ASTERISK-23916 #close
Reported by: Alexander Traud
patches:
  sdpFMTPspace_Asterisk11.patch uploaded by Alexander Traud (License 6520)
........

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

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

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