[Asterisk-cvs] asterisk/channels chan_zap.c,1.204,1.205
markster at lists.digium.com
markster at lists.digium.com
Fri Apr 9 23:45:37 CDT 2004
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv18593/channels
Modified Files:
chan_zap.c
Log Message:
Don't check PRI settings unless there is PRI
Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.204
retrieving revision 1.205
diff -u -d -r1.204 -r1.205
--- chan_zap.c 9 Apr 2004 16:33:37 -0000 1.204
+++ chan_zap.c 10 Apr 2004 03:46:59 -0000 1.205
@@ -3673,11 +3673,13 @@
f = NULL;
}
} else if (f->frametype == AST_FRAME_DTMF) {
+#ifdef ZAPATA_PRI
if (!p->proceeding && p->sig==SIG_PRI && p->pri && p->pri->overlapdial) {
/* Don't accept in-band DTMF when in overlap dial mode */
f->frametype = AST_FRAME_NULL;
f->subclass = 0;
}
+#endif
/* DSP clears us of being pulse */
p->pulsedial = 0;
}
More information about the svn-commits
mailing list