[asterisk-commits] branch 1.2 r8729 - /branches/1.2/channels/chan_zap.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Jan 26 12:42:36 MST 2006


Author: russell
Date: Thu Jan 26 13:42:35 2006
New Revision: 8729

URL: http://svn.digium.com/view/asterisk?rev=8729&view=rev
Log:
fix problem with dtmf on e&m (issue #6364)

Modified:
    branches/1.2/channels/chan_zap.c

Modified: branches/1.2/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_zap.c?rev=8729&r1=8728&r2=8729&view=diff
==============================================================================
--- branches/1.2/channels/chan_zap.c (original)
+++ branches/1.2/channels/chan_zap.c Thu Jan 26 13:42:35 2006
@@ -5289,7 +5289,7 @@
 			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). */



More information about the asterisk-commits mailing list