[asterisk-commits] crichter: branch 1.4 r96199 - /branches/1.4/channels/chan_misdn.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Jan 3 06:12:27 CST 2008
Author: crichter
Date: Thu Jan 3 06:12:27 2008
New Revision: 96199
URL: http://svn.digium.com/view/asterisk?view=rev&rev=96199
Log:
make sure frame is completely clean, before we send it to asterisk as DTMF. If we don't make it clean, it happens that one way audio occurs..
Modified:
branches/1.4/channels/chan_misdn.c
Modified: branches/1.4/channels/chan_misdn.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_misdn.c?view=diff&rev=96199&r1=96198&r2=96199
==============================================================================
--- branches/1.4/channels/chan_misdn.c (original)
+++ branches/1.4/channels/chan_misdn.c Thu Jan 3 06:12:27 2008
@@ -4110,6 +4110,7 @@
/* sending INFOS as DTMF-Frames :) */
int digits;
struct ast_frame fr;
+ memset(&fr, 0, sizeof(fr));
fr.frametype = AST_FRAME_DTMF;
fr.subclass = bc->info_dad[0] ;
fr.src=NULL;
More information about the asterisk-commits
mailing list