From: Joshua Colp Date: Mon, 5 Mar 2007 19:19:07 +0000 (+0000) Subject: Since chan_iax2 does not support reception of DTMF with duration ensure that it is... X-Git-Tag: 1.4.2~60 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=94c9dcda60d92391b3b3fbf0e10de79b069df7e7;p=thirdparty%2Fasterisk.git 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) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57914 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index 31b1f0922a..e264ec49eb 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -7565,6 +7565,7 @@ retryowner2: 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 */