aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_zap.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-26 19:42:35 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-26 19:42:35 +0000
commit28fce0a9b6b0c35cd430de11fb2c7619fd69abff (patch)
tree64680c1a134d20c013865e98fe7130ca15f7702d /channels/chan_zap.c
parentbe8677b3a0f6a773db6855464d9385be43d7a9ec (diff)
fix problem with dtmf on e&m (issue #6364)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@8729 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 c219d61b2..7308aecaf 100644
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -5289,7 +5289,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). */