]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Set 14400 as the default max bit rate if T38MaxBitRate is not specified
authorMatthew Jordan <mjordan@digium.com>
Wed, 21 Aug 2013 15:12:57 +0000 (15:12 +0000)
committerMatthew Jordan <mjordan@digium.com>
Wed, 21 Aug 2013 15:12:57 +0000 (15:12 +0000)
commiteac2c3b91a136c1d96b97d2650b777b242fd43f5
treebc9f5e553e5266fa8c515af991d769f014ed5cb5
parent142c5d4816a37d1c31d76e58abc0e0ae0f4afb99
Set 14400 as the default max bit rate if T38MaxBitRate is not specified

If an endpoint fails to include the T38MaxBitRate attribute during negotiation,
Asterisk will negotiate a bit rate of 2400 instead of the ITU recommended
bit rate of 14400. This patch fixes this by making AST_T38_RATE_14400 the
'default' value of the enum by assigning it a value of 0, such that if an
endpoint fails to include the attribute, the default will be 14400.

Note that Walter Doekes included the nice comment in frame.h about why we are
purposefully assigning AST_T38_RATE_14400 a value of 0.

(closes issue ASTERISK-22275)
Reported by: Andreas Steinmetz
patches:
  fax-fix.patch uploaded by anstein (License 6523)
........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@397257 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/frame.h