[asterisk-commits] mnicholson: branch irroot/t38gateway-trunk r324617 - /team/irroot/t38gateway-...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jun 23 09:26:03 CDT 2011


Author: mnicholson
Date: Thu Jun 23 09:26:00 2011
New Revision: 324617

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=324617
Log:
use > instead of >= for timeout

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=324617&r1=324616&r2=324617
==============================================================================
--- team/irroot/t38gateway-trunk/res/res_fax.c (original)
+++ team/irroot/t38gateway-trunk/res/res_fax.c Thu Jun 23 09:26:00 2011
@@ -2745,7 +2745,7 @@
 	}
 
 	if (gateway->bridged && !ast_tvzero(gateway->bridge_start)) {
-		if (ast_tvdiff_ms(ast_tvnow(), gateway->bridge_start) >= FAX_GATEWAY_TIMEOUT) {
+		if (ast_tvdiff_ms(ast_tvnow(), gateway->bridge_start) > FAX_GATEWAY_TIMEOUT) {
 			ast_debug(1, "no fax activity between %s and %s after %d ms, disabling gateway\n", chan->name, peer->name, FAX_GATEWAY_TIMEOUT);
 			ast_framehook_detach(chan, gateway->s->details->gateway_id);
 			gateway->s->details->gateway_id = -1;




More information about the asterisk-commits mailing list