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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jun 30 11:47:20 CDT 2011


Author: mnicholson
Date: Thu Jun 30 11:47:17 2011
New Revision: 325812

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=325812
Log:
removed debug output and set ECM status in the details structure for gateway operations

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

Modified: team/irroot/t38gateway-trunk/res/res_fax_spandsp.c
URL: http://svnview.digium.com/svn/asterisk/team/irroot/t38gateway-trunk/res/res_fax_spandsp.c?view=diff&rev=325812&r1=325811&r2=325812
==============================================================================
--- team/irroot/t38gateway-trunk/res/res_fax_spandsp.c (original)
+++ team/irroot/t38gateway-trunk/res/res_fax_spandsp.c Thu Jun 30 11:47:17 2011
@@ -772,12 +772,7 @@
 
 	t38_gateway_get_transfer_statistics(&p->t38_gw_state, &t38_stats);
 
-	/* XXX remove this output */
-	ast_verb(3, "Connection Statistics\n\tBit Rate :%i\n\tECM : %s\n\tPages : %i\n",
-			t38_stats.bit_rate, 
-			(t38_stats.error_correcting_mode?"Yes":"No"), 
-			t38_stats.pages_transferred);
-
+	s->details->option.ecm = t38_stats.error_correcting_mode ? AST_FAX_OPTFLAG_TRUE : AST_FAX_OPTFLAG_FALSE;
 	s->details->pages_transferred = t38_stats.pages_transferred;
 	ast_string_field_build(s->details, transfer_rate, "%d", t38_stats.bit_rate);
 }




More information about the asterisk-commits mailing list