[svn-commits] file: branch 1.4 r57914 - /branches/1.4/channels/chan_iax2.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Mon Mar 5 12:19:08 MST 2007


Author: file
Date: Mon Mar  5 13:19:07 2007
New Revision: 57914

URL: http://svn.digium.com/view/asterisk?view=rev&rev=57914
Log:
Since chan_iax2 does not support reception of DTMF with duration ensure that it is set to 0 on the frame. (issue #8521 reported by gdhgdh)

Modified:
    branches/1.4/channels/chan_iax2.c

Modified: branches/1.4/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_iax2.c?view=diff&rev=57914&r1=57913&r2=57914
==============================================================================
--- branches/1.4/channels/chan_iax2.c (original)
+++ branches/1.4/channels/chan_iax2.c Mon Mar  5 13:19:07 2007
@@ -7565,6 +7565,7 @@
 	f.src = "IAX2";
 	f.mallocd = 0;
 	f.offset = 0;
+	f.len = 0;
 	if (f.datalen && (f.frametype == AST_FRAME_VOICE)) {
 		f.samples = ast_codec_get_samples(&f);
 		/* We need to byteswap incoming slinear samples from network byte order */



More information about the svn-commits mailing list