diff options
-rwxr-xr-x | wct4xxp.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -563,6 +563,10 @@ static void __t4_check_vpm(struct t4 *wc, unsigned int newio) 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)) { |