[asterisk-commits] mmichelson: trunk r90232 - in /trunk: ./ channels/chan_mgcp.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Nov 29 18:16:46 CST 2007
Author: mmichelson
Date: Thu Nov 29 18:16:45 2007
New Revision: 90232
URL: http://svn.digium.com/view/asterisk?view=rev&rev=90232
Log:
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)
........
Modified:
trunk/ (props changed)
trunk/channels/chan_mgcp.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/channels/chan_mgcp.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_mgcp.c?view=diff&rev=90232&r1=90231&r2=90232
==============================================================================
--- trunk/channels/chan_mgcp.c (original)
+++ trunk/channels/chan_mgcp.c Thu Nov 29 18:16:45 2007
@@ -2696,6 +2696,7 @@
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);
More information about the asterisk-commits
mailing list