[zaptel-commits] mattf: branch 1.4 r3079 - /branches/1.4/wct4xxp/base.c
SVN commits to the Zaptel project
zaptel-commits at lists.digium.com
Sat Sep 22 12:22:36 CDT 2007
Author: mattf
Date: Sat Sep 22 12:22:35 2007
New Revision: 3079
URL: http://svn.digium.com/view/zaptel?view=rev&rev=3079
Log:
Disable that for now (DTMF detection)
Modified:
branches/1.4/wct4xxp/base.c
Modified: branches/1.4/wct4xxp/base.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/wct4xxp/base.c?view=diff&rev=3079&r1=3078&r2=3079
==============================================================================
--- branches/1.4/wct4xxp/base.c (original)
+++ branches/1.4/wct4xxp/base.c Sat Sep 22 12:22:35 2007
@@ -725,9 +725,9 @@
static void t4_check_vpm450(struct t4 *wc)
{
int channel, tone, start, span;
-#if 0
+#if 1
/* There's no point checking the interrupt, it's pointless. */
- vpm450m_checkirq(wc->vpm450m);
+ if (vpm450m_checkirq(wc->vpm450m)) {
#endif
while(vpm450m_getdtmf(wc->vpm450m, &channel, &tone, &start)) {
span = channel & 0x3;
@@ -761,6 +761,7 @@
zt_qevent_lock(&wc->tspans[span]->span.chans[channel], (ZT_EVENT_DTMFUP | tone));
}
}
+ }
}
}
@@ -3152,8 +3153,8 @@
#endif
if (vpmdtmfsupport == -1) {
- printk("VPM450: hardware DTMF enabled.\n");
- vpmdtmfsupport = 1;
+ printk("VPM450: hardware DTMF disabled.\n");
+ vpmdtmfsupport = 0;
}
wc->vpm = T4_VPM_PRESENT;
More information about the zaptel-commits
mailing list