[Asterisk-cvs] asterisk/channels chan_zap.c,1.203,1.204
markster at lists.digium.com
markster at lists.digium.com
Fri Apr 9 12:32:25 CDT 2004
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv15418/channels
Modified Files:
chan_zap.c
Log Message:
Don't take digits in-band when in overlap dial mode
Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.203
retrieving revision 1.204
diff -u -d -r1.203 -r1.204
--- chan_zap.c 7 Apr 2004 14:11:49 -0000 1.203
+++ chan_zap.c 9 Apr 2004 16:33:37 -0000 1.204
@@ -3673,6 +3673,11 @@
f = NULL;
}
} else if (f->frametype == AST_FRAME_DTMF) {
+ 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;
+ }
/* DSP clears us of being pulse */
p->pulsedial = 0;
}
More information about the svn-commits
mailing list