[svn-commits] irroot: branch irroot/distrotech-customers-1.8 r319068 - /team/irroot/distrot...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon May 16 04:24:25 CDT 2011


Author: irroot
Date: Mon May 16 04:24:21 2011
New Revision: 319068

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=319068
Log:
Allow faxgateway as a default option to FAXOPT to enable faxgateway


Modified:
    team/irroot/distrotech-customers-1.8/res/res_fax.c

Modified: team/irroot/distrotech-customers-1.8/res/res_fax.c
URL: http://svnview.digium.com/svn/asterisk/team/irroot/distrotech-customers-1.8/res/res_fax.c?view=diff&rev=319068&r1=319067&r2=319068
==============================================================================
--- team/irroot/distrotech-customers-1.8/res/res_fax.c (original)
+++ team/irroot/distrotech-customers-1.8/res/res_fax.c Mon May 16 04:24:21 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 svn-commits mailing list