Index: res/res_fax.c =================================================================== --- res/res_fax.c (revision 407178) +++ res/res_fax.c (working copy) @@ -2738,6 +2738,13 @@ goto end; } + if (options.minrate == 2400 && (options.modems & AST_FAX_MODEM_V27) && !(options.modems & (AST_FAX_MODEM_V34))) { + ast_fax_modem_to_str(options.modems, modems, sizeof(modems)); + ast_log(LOG_WARNING, "'modems' setting '%s' is no longer accepted with 'minrate' setting %d\n", modems, options.minrate); + ast_log(LOG_WARNING, "'minrate' has been reset to 4800, please update res_fax.conf.\n"); + options.minrate = 4800; + } + if (check_modem_rate(options.modems, options.minrate)) { ast_fax_modem_to_str(options.modems, modems, sizeof(modems)); ast_log(LOG_ERROR, "'modems' setting '%s' is incompatible with 'minrate' setting %d\n", modems, options.minrate); Index: configs/res_fax.conf.sample =================================================================== --- configs/res_fax.conf.sample (revision 407178) +++ configs/res_fax.conf.sample (working copy) @@ -4,12 +4,12 @@ ; 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 +;maxrate=14400 ; Minimum Transmission Rate ; Possible values are { 2400 | 4800 | 7200 | 9600 | 12000 | 14400 } ; Set this value to the minimum desired transfer rate. Default: 4800 -minrate=4800 +;minrate=4800 ; Send Progress/Status events to manager session ; Manager events with 'call' class permissions will receive events indicating the @@ -21,8 +21,8 @@ ; 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 +;modems=v17,v27,v29 ; Enable/disable T.30 ECM (error correction mode) by default. ; Default: Enabled -ecm=yes +;ecm=yes