[asterisk-commits] irroot: branch irroot/t38gateway-trunk r319067 - /team/irroot/t38gateway-trun...

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


Author: irroot
Date: Mon May 16 04:18:19 2011
New Revision: 319067

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=319067
Log:

Allow faxgateway as a default option to FAXOPT to enable faxgateway


Modified:
    team/irroot/t38gateway-trunk/res/res_fax.c

Modified: team/irroot/t38gateway-trunk/res/res_fax.c
URL: http://svnview.digium.com/svn/asterisk/team/irroot/t38gateway-trunk/res/res_fax.c?view=diff&rev=319067&r1=319066&r2=319067
==============================================================================
--- team/irroot/t38gateway-trunk/res/res_fax.c (original)
+++ team/irroot/t38gateway-trunk/res/res_fax.c Mon May 16 04:18:19 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