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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jun 1 15:17:17 CDT 2011


Author: mnicholson
Date: Wed Jun  1 15:17:11 2011
New Revision: 321540

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=321540
Log:
revert previous change for setting our custom flag, with changes to frame.c this is nolonger necessary

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=321540&r1=321539&r2=321540
==============================================================================
--- team/irroot/t38gateway-trunk/res/res_fax_spandsp.c (original)
+++ team/irroot/t38gateway-trunk/res/res_fax_spandsp.c Wed Jun  1 15:17:11 2011
@@ -608,6 +608,7 @@
 		.frametype = AST_FRAME_VOICE,
 		.src = "res_fax_spandsp_g711",
 		.samples = samples,
+		.flags = AST_FAX_FRFLAG_GATEWAY,
 	};
 
 	AST_FRAME_SET_BUFFER(&t30_frame, buffer, AST_FRIENDLY_OFFSET, t30_frame.samples * sizeof(int16_t));
@@ -615,7 +616,6 @@
 	/* generate a T.30 packet */
 	ast_format_set(&t30_frame.subclass.format, AST_FORMAT_SLINEAR, 0);
 	f = ast_frisolate(&t30_frame);
-	ast_set_flag(f, AST_FAX_FRFLAG_GATEWAY);
 	if ((f->samples = t38_gateway_tx(&p->t38_gw_state, f->data.ptr, f->samples))) {
 		f->datalen = f->samples * sizeof(int16_t);
 		if (ast_write(chan, f) < 0) {




More information about the asterisk-commits mailing list