dect
/
asterisk
Archived
13
0
Fork 0

Switch back to DTMF at the appropriate time

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1615 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
markster 2003-10-06 05:09:42 +00:00
parent 18f91bc79e
commit 14fabb6d35
1 changed files with 2 additions and 0 deletions

View File

@ -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);