res_fax: check_modem_rate() returned incorrect rate for V.27
authorKevin Harwell <kharwell@digium.com>
Thu, 16 Jan 2014 19:13:05 +0000 (19:13 +0000)
committerKevin Harwell <kharwell@digium.com>
Thu, 16 Jan 2014 19:13:05 +0000 (19:13 +0000)
commita48798ce95cdc0f47c4d05c4fd55fd58cf12b678
tree295b82cb56ddd9b315d46a7715c4135de19e695b
parent3373a5332bd63aedb8a0d0cd2e8cfa94281e5072
res_fax: check_modem_rate() returned incorrect rate for V.27

According to the new standard for V.27 and V.32 they are able to transmit
at a bit rate of 4,800 or 9,600.  The check_mode_rate function needed to be
updated to reflect this.  Also, because of this change the default 'minrate'
value was updated to be 4800.

(closes issue ASTERISK-22790)
Reported by: Paolo Compagnini
Patches:
     res_fax.txt uploaded by looserouting (license 6548)
........

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

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

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@405695 65c4cc65-6c06-0410-ace0-fbb531ad65f3
configs/res_fax.conf.sample
res/res_fax.c