https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r57914 | file | 2007-03-05 14:19:07 -0500 (Mon, 05 Mar 2007) | 2 lines
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/trunk@57915
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
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 */