Make immediate mode only work E&M

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@913 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.0
Mark Spencer 22 years ago
parent 0a9130bb4b
commit a54678d7fa

@ -3678,7 +3678,7 @@ static void *ss_thread(void *data)
ast_dsp_digitmode(p->dsp,DSP_DIGITMODE_DTMF | p->dtmfrelax);
}
/* Wait for the first digit only if immediate=no */
if (!p->immediate)
if (((p->sig == SIG_EM) || (p->sig == SIG_EMWINK)) && !p->immediate)
/* Wait for the first digit (up to 5 seconds). */
res = ast_waitfordigit(chan,5000);
else res = 0;

Loading…
Cancel
Save