Merged revisions 57914 via svnmerge from
authorJoshua Colp <jcolp@digium.com>
Mon, 5 Mar 2007 19:20:45 +0000 (19:20 +0000)
committerJoshua Colp <jcolp@digium.com>
Mon, 5 Mar 2007 19:20:45 +0000 (19:20 +0000)
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

channels/chan_iax2.c

index bb908e6..dde5113 100644 (file)
@@ -7773,6 +7773,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 */