mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-20 20:44:20 +00:00
Only skip it for immediate mode
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1344 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3777,7 +3777,7 @@ static void *ss_thread(void *data)
|
|||||||
}
|
}
|
||||||
dtmfbuf[0] = 0;
|
dtmfbuf[0] = 0;
|
||||||
/* Wait for the first digit only if immediate=no */
|
/* Wait for the first digit only if immediate=no */
|
||||||
if (((p->sig == SIG_EM) || (p->sig == SIG_EMWINK) || (p->sig == SIG_FEATDMF)) && !p->immediate)
|
if (!p->immediate)
|
||||||
/* Wait for the first digit (up to 5 seconds). */
|
/* Wait for the first digit (up to 5 seconds). */
|
||||||
res = ast_waitfordigit(chan,5000);
|
res = ast_waitfordigit(chan,5000);
|
||||||
else res = 0;
|
else res = 0;
|
||||||
|
Reference in New Issue
Block a user