[asterisk-commits] irroot: branch irroot/t38gateway-1.8 r319069 - /team/irroot/t38gateway-1.8/res/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon May 16 04:27:36 CDT 2011
Author: irroot
Date: Mon May 16 04:27:33 2011
New Revision: 319069
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=319069
Log:
Allow faxgateway as a default option to FAXOPT to enable faxgateway
Modified:
team/irroot/t38gateway-1.8/res/res_fax.c
Modified: team/irroot/t38gateway-1.8/res/res_fax.c
URL: http://svnview.digium.com/svn/asterisk/team/irroot/t38gateway-1.8/res/res_fax.c?view=diff&rev=319069&r1=319068&r2=319069
==============================================================================
--- team/irroot/t38gateway-1.8/res/res_fax.c (original)
+++ team/irroot/t38gateway-1.8/res/res_fax.c Mon May 16 04:27:33 2011
@@ -3294,7 +3294,7 @@
if (!strcasecmp(data, "ecm")) {
ast_copy_string(buf, details->option.ecm ? "yes" : "no", len);
} else if (!strcasecmp(data, "t38gateway") || !strcasecmp(data, "gateway") ||
- !strcasecmp(data, "t38_gateway")) {
+ !strcasecmp(data, "t38_gateway") || !strcasecmp(data, "faxgateway")) {
ast_copy_string(buf, details->option.t38gateway ? "yes" : "no", len);
} else if (!strcasecmp(data, "error")) {
ast_copy_string(buf, details->error, len);
@@ -3371,7 +3371,7 @@
ast_log(LOG_WARNING, "Unsupported value '%s' passed to FAXOPT(ecm).\n", value);
}
} else if (!strcasecmp(data, "t38gateway") || !strcasecmp(data, "gateway") ||
- !strcasecmp(data, "t38_gateway")) {
+ !strcasecmp(data, "t38_gateway") || !strcasecmp(data, "faxgateway")) {
const char *val = ast_skip_blanks(value);
if (ast_true(val)) {
gateway_attach_hook(chan);
More information about the asterisk-commits
mailing list