[Asterisk-cvs] zaptel wct4xxp.c,1.51.2.6,1.51.2.7
malcolmd at lists.digium.com
malcolmd at lists.digium.com
Thu Jul 14 12:01:15 CDT 2005
Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv3538
Modified Files:
Tag: v1-0
wct4xxp.c
Log Message:
Backport dtmf fix to stable
Index: wct4xxp.c
===================================================================
RCS file: /usr/cvsroot/zaptel/wct4xxp.c,v
retrieving revision 1.51.2.6
retrieving revision 1.51.2.7
diff -u -d -r1.51.2.6 -r1.51.2.7
--- wct4xxp.c 15 Jun 2005 15:11:47 -0000 1.51.2.6
+++ wct4xxp.c 14 Jul 2005 16:09:02 -0000 1.51.2.7
@@ -563,6 +563,10 @@
ts->dtmfactive |= (1 << base);
ts->dtmfenergy[base] = energy;
ts->dtmfdigit[base] = digit;
+ if (ts->dtmfdigit[base]) {
+ if (ts->dtmfmask & (1 << base))
+ zt_qevent_lock(&ts->span.chans[base], (ZT_EVENT_DTMFUP | ts->dtmfdigit[base]));
+ }
if (ts->dtmfmask & (1 << base))
zt_qevent_lock(&ts->span.chans[base], (ZT_EVENT_DTMFDOWN | digit));
if (ts->dtmfmutemask & (1 << base)) {
More information about the svn-commits
mailing list