[asterisk-commits] mnicholson: branch irroot/t38gateway-1.8 r333116 - /team/irroot/t38gateway-1....

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Aug 24 11:52:40 CDT 2011


Author: mnicholson
Date: Wed Aug 24 11:52:37 2011
New Revision: 333116

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=333116
Log:
Changed the "timeout" option to "gwtimeout".

ASTERISK-18219

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=333116&r1=333115&r2=333116
==============================================================================
--- team/irroot/t38gateway-1.8/res/res_fax.c (original)
+++ team/irroot/t38gateway-1.8/res/res_fax.c Wed Aug 24 11:52:37 2011
@@ -186,7 +186,7 @@
 					<enum name="gateway">
 						<para>R/W T38 Gateway Enabled (yes/no)</para>
 					</enum>
-					<enum name="timeout">
+					<enum name="gwtimeout">
 						<para>R/W Gateway fax activity timeout in seconds (yes/no/seconds)</para>
 					</enum>
 					<enum name="pages">
@@ -3749,7 +3749,7 @@
 	} else if (!strcasecmp(data, "t38gateway") || !strcasecmp(data, "gateway") ||
 		   !strcasecmp(data, "t38_gateway") || !strcasecmp(data, "faxgateway")) {
 		ast_copy_string(buf, details->gateway_id != -1 ? "yes" : "no", len);
-	} else if (!strcasecmp(data, "timeout")) {
+	} else if (!strcasecmp(data, "gwtimeout")) {
 		snprintf(buf, len, "%d", details->gateway_timeout / 1000);
 	} else if (!strcasecmp(data, "error")) {
 		ast_copy_string(buf, details->error, len);
@@ -3846,7 +3846,7 @@
 		} else {
 			ast_log(LOG_WARNING, "Unsupported value '%s' passed to FAXOPT(%s).\n", value, data);
 		}
-	} else if (!strcasecmp(data, "timeout")) {
+	} else if (!strcasecmp(data, "gwtimeout")) {
 		const char *val = ast_skip_blanks(value);
 		int timeout;
 		if (ast_true(val)) {




More information about the asterisk-commits mailing list