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:
c617999
)
Always initialize dtmfbuf
author
Mark Spencer
<markster@digium.com>
Mon, 28 Apr 2003 02:28:27 +0000
(
02:28
+0000)
committer
Mark Spencer
<markster@digium.com>
Mon, 28 Apr 2003 02:28:27 +0000
(
02:28
+0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@923
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
e15ebe3
..
8db1366
100755
(executable)
--- a/
channels/chan_zap.c
+++ b/
channels/chan_zap.c
@@
-3677,6
+3677,7
@@
static void *ss_thread(void *data)
else
ast_dsp_digitmode(p->dsp,DSP_DIGITMODE_DTMF | p->dtmfrelax);
}
+ dtmfbuf[0] = 0;
/* Wait for the first digit only if immediate=no */
if (((p->sig == SIG_EM) || (p->sig == SIG_EMWINK)) && !p->immediate)
/* Wait for the first digit (up to 5 seconds). */