[asterisk-commits] mattf: branch 1.4 r60485 -
/branches/1.4/channels/chan_zap.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Fri Apr 6 11:21:53 MST 2007
Author: mattf
Date: Fri Apr 6 13:21:52 2007
New Revision: 60485
URL: http://svn.digium.com/view/asterisk?view=rev&rev=60485
Log:
Make sure we check the faxdetect option before doing fax processing
Modified:
branches/1.4/channels/chan_zap.c
Modified: branches/1.4/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_zap.c?view=diff&rev=60485&r1=60484&r2=60485
==============================================================================
--- branches/1.4/channels/chan_zap.c (original)
+++ branches/1.4/channels/chan_zap.c Fri Apr 6 13:21:52 2007
@@ -3610,7 +3610,7 @@
*dest = &p->subs[index].f;
} else if (f->subclass == 'f') {
/* Fax tone -- Handle and return NULL */
- if (!p->faxhandled) {
+ if ((p->callprogress & 0x6) && !p->faxhandled) {
p->faxhandled++;
if (strcmp(ast->exten, "fax")) {
const char *target_context = S_OR(ast->macrocontext, ast->context);
More information about the asterisk-commits
mailing list