aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_zap.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-26 19:44:16 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-26 19:44:16 +0000
commit24e1605a2dc6e73b1776e0454804a7232fd0c7b4 (patch)
treed3947d1fa7b12bd9717324c8ab72d937e59aeab0 /channels/chan_zap.c
parent0ccb3364984af6a2af3f0cf2ed5bcbc85fcead94 (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: http://svn.digium.com/svn/asterisk/trunk@8730 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_zap.c')
-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). */