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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun May 15 04:34:23 CDT 2011


Author: irroot
Date: Sun May 15 04:34:19 2011
New Revision: 319016

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=319016
Log:
There do not need dsp processing for voice frames if channel is in t.38 mode.


Modified:
    team/irroot/t38gateway-trunk/addons/chan_ooh323.c

Modified: team/irroot/t38gateway-trunk/addons/chan_ooh323.c
URL: http://svnview.digium.com/svn/asterisk/team/irroot/t38gateway-trunk/addons/chan_ooh323.c?view=diff&rev=319016&r1=319015&r2=319016
==============================================================================
--- team/irroot/t38gateway-trunk/addons/chan_ooh323.c (original)
+++ team/irroot/t38gateway-trunk/addons/chan_ooh323.c Sun May 15 04:34:19 2011
@@ -4497,7 +4497,7 @@
 		f = &null_frame;
 	}
 
-	if (p->owner && (f->frametype == AST_FRAME_VOICE)) {
+	if (p->owner && !p->faxmode && (f->frametype == AST_FRAME_VOICE)) {
 		/* We already hold the channel lock */
 		if (!(ast_format_cap_iscompatible(p->owner->nativeformats, &f->subclass.format))) {
 			ast_debug(1, "Oooh, voice format changed to %s\n", ast_getformatname(&f->subclass.format));




More information about the asterisk-commits mailing list