[asterisk-bugs] [JIRA] (ASTERISK-23231) Since 405693 If we have res_fax.conf file set to minrate=2400, then res_fax refuse to load

Matt Jordan (JIRA) noreply at issues.asterisk.org
Fri Jan 31 11:13:03 CST 2014


    [ https://issues.asterisk.org/jira/browse/ASTERISK-23231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=214699#comment-214699 ] 

Matt Jordan commented on ASTERISK-23231:
----------------------------------------

That is noted in the UPGRADE.txt file:

{quote}
from 11.8 to 11.9
* res_fax now returns the correct rates for V.27ter (4800 or 9600 bit/s).
  Because of this the default settings would not load, so the minrate (minimum
  transmission rate) option was changed to default to 4800 since that is the
  minimum rate for v.27 which is included in the default modem options.
{quote}

While users should read the UPGRADE notes when moving to a version, I will concede that most do not.

For the existing branches, we'll look at adding something that fudges the minrate.
                
> Since 405693 If we have res_fax.conf file set to minrate=2400, then res_fax refuse to load
> ------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-23231
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23231
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_fax
>    Affects Versions: SVN
>         Environment: SVN 405693
>            Reporter: David Brillert
>
> sip*CLI> module load res_fax.so
> Unable to load module res_fax.so
> Command 'module load res_fax.so' failed.
> [2014-01-31 10:10:55]   == Parsing '/etc/asterisk/res_fax.conf': Found
> [2014-01-31 10:10:55] ERROR[12242]: res_fax.c:3888 set_config: 'modems' setting 'V17,V27,V29' is incompatible with 'minrate' setting 2400
> [2014-01-31 10:10:55] ERROR[12242]: res_fax.c:4153 load_module: failed to load configuration file 'res_fax.conf'
> /etc/asterisk/res_fax.conf
> ; Generic Fax Application configuration
> [general]
> ; Maximum Transmission Rate
> ; Possible values are { 2400 | 4800 | 7200 | 9600 | 12000 | 14400 }
> ; Set this value to the maximum desired transfer rate.  Default: 14400
> maxrate=14400
> ; Minimum Transmission Rate
> ; Possible values are { 2400 | 4800 | 7200 | 9600 | 12000 | 14400 }
> ; Set this value to the minimum desired transfer rate.  Default: 2400
> minrate=2400
> ; Send Progress/Status events to manager session
> ; Manager events with 'call' class permissions will receive events indicating the
> ; steps to initiate a fax session.  Fax completion events are always sent to manager
> ; sessions with 'call' class permissions, regardless of the value of this option.
> ; Default: no
> statusevents=yes
> ; modem capabilities
> ; Possible values are { v17 | v27 | v29 }
> ; Set this value to modify the default modem options.  Default: v17,v27,v29
> modems=v17,v27,v29
> ; Enable/disable T.30 ECM (error correction mode) by default.
> ; Default: Enabled
> ecm=yes
> Regression caused by:
> Revision 405693 - Directory Listing
> Modified Thu Jan 16 18:57:43 2014 UTC (2 weeks ago) by kharwell
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list