summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2006-01-26 19:44:16 +0000
committerRussell Bryant <russell@russellbryant.com>2006-01-26 19:44:16 +0000
commit99abd45d016e48efd9e43db41ab560c3e273d2d9 (patch)
treed3947d1fa7b12bd9717324c8ab72d937e59aeab0 /channels
parentdb97a8d9ceffce5ae944a19691f2090718383be8 (diff)
Merged revisions 8729 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r8729 | russell | 2006-01-26 14:42:35 -0500 (Thu, 26 Jan 2006) | 2 lines fix problem with dtmf on e&m (issue #6364) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8730 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_zap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index 4e5110bec..d4a5c591d 100644
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -5362,7 +5362,7 @@ static void *ss_thread(void *data)
else
ast_dsp_digitmode(p->dsp,DSP_DIGITMODE_DTMF | p->dtmfrelax);
}
- dtmfbuf[0] = 0;
+ memset(dtmfbuf, 0, sizeof(dtmfbuf));
/* Wait for the first digit only if immediate=no */
if (!p->immediate)
/* Wait for the first digit (up to 5 seconds). */