Fix CIDCW for native bridging
authorMark Spencer <markster@digium.com>
Wed, 2 Jul 2003 21:56:03 +0000 (21:56 +0000)
committerMark Spencer <markster@digium.com>
Wed, 2 Jul 2003 21:56:03 +0000 (21:56 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1160 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index 6b96a19..023a2c4 100755 (executable)
@@ -3233,7 +3233,7 @@ struct ast_frame  *zt_read(struct ast_channel *ast)
                p->subs[index].f.data = NULL;
                p->subs[index].f.datalen= 0;
        }
-       if (p->dsp && !p->ignoredtmf && !index) {
+       if (p->dsp && (!p->ignoredtmf || p->callwaitcas || p->busydetect  || p->callprogress) && !index) {
                /* Perform busy detection. etc on the zap line */
                f = ast_dsp_process(ast, p->dsp, &p->subs[index].f, 0);
                if (f) {