Author: kpfleming
Date: Tue Feb 26 17:43:29 2008
New Revision: 3881
URL: http://svn.digium.com/view/zaptel?view=rev&rev=3881
a>
Log:
properly initialize the buffer used for holding generated
tone samples... this should fix issue #11855 and solve
problems with DTMF generation
Modified:
branches/1.4/tonezone.c
Modified: branches/1.4/tonezone.c
URL: http://s
vn.digium.com/view/zaptel/branches/1.4/tonezone.c?view=diff&
amp;rev=3881&r1=3880&r2=3881
============================================================
==================
--- branches/1.4/tonezone.c (original)
+++ branches/1.4/tonezone.c Tue Feb 26 17:43:29 2008
 -319,6
+319,8 
int iopenedit = 1;
struct zt_tone_def_header *h;
+ memset(buf, 0, sizeof(buf));
+
h = ptr;
ptr += sizeof(*h);
space -= sizeof(*h);
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.c
om--
zaptel-commits mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/zaptel-commits
a>
|