[asterisk-commits] irroot: branch irroot/distrotech-customers-trunk r319070 - /team/irroot/distr...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon May 16 04:28:55 CDT 2011


Author: irroot
Date: Mon May 16 04:28:51 2011
New Revision: 319070

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


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

Modified: team/irroot/distrotech-customers-trunk/res/res_fax.c
URL: http://svnview.digium.com/svn/asterisk/team/irroot/distrotech-customers-trunk/res/res_fax.c?view=diff&rev=319070&r1=319069&r2=319070
==============================================================================
--- team/irroot/distrotech-customers-trunk/res/res_fax.c (original)
+++ team/irroot/distrotech-customers-trunk/res/res_fax.c Mon May 16 04:28:51 2011
@@ -3229,7 +3229,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);
@@ -3306,7 +3306,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