diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-30 00:16:45 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-30 00:16:45 +0000 |
commit | 655737e18634077e8bd8cf35ef5cb525bbfaf23e (patch) | |
tree | 8206c1f21a55f621852260e748911d259be0f697 /channels/chan_mgcp.c | |
parent | 18943278d533f732285dadb36b865537ebfa012f (diff) |
Merged revisions 90231 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r90231 | mmichelson | 2007-11-29 18:16:04 -0600 (Thu, 29 Nov 2007) | 5 lines
Clear the DTMF buffer if the call times out.
(closes issue #11418, reported and patched by eferro)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@90232 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_mgcp.c')
-rw-r--r-- | channels/chan_mgcp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_mgcp.c b/channels/chan_mgcp.c index 22e23f4c0..d736a6226 100644 --- a/channels/chan_mgcp.c +++ b/channels/chan_mgcp.c @@ -2696,6 +2696,7 @@ static void *mgcp_ss(void *data) transmit_notify_request(sub, "G/cg"); /*zt_wait_event(p->subs[index].zfd);*/ ast_hangup(chan); + memset(p->dtmf_buf, 0, sizeof(p->dtmf_buf)); return NULL; } else if (p->hascallwaiting && p->callwaiting && !strcmp(p->dtmf_buf, "*70")) { ast_verb(3, "Disabling call waiting on %s\n", chan->name); |