[Asterisk-cvs] zaptel wct4xxp.c,1.77,1.78
markster at lists.digium.com
markster at lists.digium.com
Thu Jul 14 10:58:17 CDT 2005
Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv3189
Modified Files:
wct4xxp.c
Log Message:
Handle digits dialed too quickly...
Index: wct4xxp.c
===================================================================
RCS file: /usr/cvsroot/zaptel/wct4xxp.c,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -d -r1.77 -r1.78
--- wct4xxp.c 13 Jul 2005 17:50:13 -0000 1.77
+++ wct4xxp.c 14 Jul 2005 15:06:14 -0000 1.78
@@ -566,6 +566,10 @@
energy = ZT_XLAW(energy, ts->chans);
ts->dtmfactive |= (1 << base);
ts->dtmfenergy[base] = energy;
+ if (ts->dtmfdigit[base]) {
+ if (ts->dtmfmask & (1 << base))
+ zt_qevent_lock(&ts->span.chans[base], (ZT_EVENT_DTMFUP | ts->dtmfdigit[base]));
+ }
ts->dtmfdigit[base] = digit;
if (ts->dtmfmask & (1 << base))
zt_qevent_lock(&ts->span.chans[base], (ZT_EVENT_DTMFDOWN | digit));
More information about the svn-commits
mailing list