Skip to content
Snippets Groups Projects
Commit ceb8d1cc authored by Mark Spencer's avatar Mark Spencer
Browse files

Switch back to DTMF at the appropriate time

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1615 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent daf8899e
No related branches found
No related tags found
No related merge requests found
......@@ -4016,6 +4016,8 @@ static void *ss_thread(void *data)
zt_wink(p, index);
}
zt_enable_ec(p);
if ((p->sig == SIG_FEATDMF) || (p->sig == SIG_FEATB))
ast_dsp_digitmode(p->dsp,DSP_DIGITMODE_DTMF | p->dtmfrelax);
if (ast_exists_extension(chan, chan->context, exten, 1, chan->callerid)) {
strncpy(chan->exten, exten, sizeof(chan->exten)-1);
ast_dsp_digitreset(p->dsp);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment