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

Corey Farrell (JIRA) noreply at issues.asterisk.org
Mon Feb 3 03:27:02 CST 2014


     [ https://issues.asterisk.org/jira/browse/ASTERISK-23231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Corey Farrell updated ASTERISK-23231:
-------------------------------------

    Attachment: res_fax-minrate.patch

res_fax-minrate.patch addresses this issue in two ways:

Change on config reload minrate from 2400 to 4800 in response to the regression only.  Any config with minrate of 2400 that would fail before r405693 will still fail.

Comment out many settings in res_fax.conf.sample.  The defaults are set in res_fax.c, so setting the same value in sample config does nothing but make the sample config more fragile.
                
> 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
>         Attachments: res_fax-minrate.patch
>
>
> 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