[asterisk-commits] mmichelson: trunk r102454 - in /trunk: ./ channels/chan_mgcp.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Feb 5 14:03:54 CST 2008
Author: mmichelson
Date: Tue Feb 5 14:03:54 2008
New Revision: 102454
URL: http://svn.digium.com/view/asterisk?view=rev&rev=102454
Log:
Merged revisions 102453 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r102453 | mmichelson | 2008-02-05 14:02:44 -0600 (Tue, 05 Feb 2008) | 8 lines
Clear the DTMF buffer on hangup.
(closes issue #11919)
Reported by: eferro
Patches:
mgcp_dtmfclean_on_hangup.diff uploaded by eferro (license 337)
Tested 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=102454&r1=102453&r2=102454
==============================================================================
--- trunk/channels/chan_mgcp.c (original)
+++ trunk/channels/chan_mgcp.c Tue Feb 5 14:03:54 2008
@@ -998,6 +998,9 @@
sub->outgoing = 0;
sub->cxmode = MGCP_CX_INACTIVE;
sub->callid[0] = '\0';
+ if (p) {
+ memset(p->dtmf_buf, 0, sizeof(p->dtmf_buf));
+ }
/* Reset temporary destination */
memset(&sub->tmpdest, 0, sizeof(sub->tmpdest));
if (sub->rtp) {
More information about the asterisk-commits
mailing list