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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Aug 26 05:40:56 CDT 2011


Author: irroot
Date: Fri Aug 26 05:40:52 2011
New Revision: 333338

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=333338
Log:
revert moving the v21 indicator

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=333338&r1=333337&r2=333338
==============================================================================
--- team/irroot/t38gateway-trunk/res/res_fax.c (original)
+++ team/irroot/t38gateway-trunk/res/res_fax.c Fri Aug 26 05:40:52 2011
@@ -2554,8 +2554,8 @@
 	}
 
 	if (dfr->frametype == AST_FRAME_DTMF && dfr->subclass.integer == 'g') {
+		gateway->detected_v21 = 1;
 		if (ast_channel_get_t38_state(other) == T38_STATE_UNKNOWN) {
-			gateway->detected_v21 = 1;
 			ast_debug(1, "detected v21 preamble from %s\n", active->name);
 			return fax_gateway_request_t38(gateway, chan, f);
 		} else {




More information about the asterisk-commits mailing list