[asterisk-commits] mnicholson: branch irroot/t38gateway-trunk r323868 - /team/irroot/t38gateway-...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jun 15 15:10:38 CDT 2011
Author: mnicholson
Date: Wed Jun 15 15:10:31 2011
New Revision: 323868
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=323868
Log:
add support for alternative spandsp v34 enum values
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=323868&r1=323867&r2=323868
==============================================================================
--- team/irroot/t38gateway-trunk/res/res_fax_spandsp.c (original)
+++ team/irroot/t38gateway-trunk/res/res_fax_spandsp.c Wed Jun 15 15:10:31 2011
@@ -706,7 +706,13 @@
modems |= T30_SUPPORT_V29;
}
if (AST_FAX_MODEM_V34 & s->details->modems) {
+#if defined(T30_SUPPORT_V34)
modems |= T30_SUPPORT_V34;
+#elif defined(T30_SUPPORT_V34HDX)
+ modems |= T30_SUPPORT_V34HDX;
+#else
+ ast_log(LOG_WARNING, "v34 not supported in this version of spandsp\n");
+#endif
}
t38_gateway_set_supported_modems(&p->t38_gw_state, modems);
More information about the asterisk-commits
mailing list