projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a9130b
)
Make immediate mode only work E&M
author
Mark Spencer
<markster@digium.com>
Fri, 25 Apr 2003 18:44:56 +0000
(18:44 +0000)
committer
Mark Spencer
<markster@digium.com>
Fri, 25 Apr 2003 18:44:56 +0000
(18:44 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@913
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_zap.c
patch
|
blob
|
history
diff --git
a/channels/chan_zap.c
b/channels/chan_zap.c
index
a3eb6eb
..
973a086
100755
(executable)
--- a/
channels/chan_zap.c
+++ b/
channels/chan_zap.c
@@
-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;