]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Since chan_iax2 does not support reception of DTMF with duration ensure that it is...
authorJoshua Colp <jcolp@digium.com>
Mon, 5 Mar 2007 19:19:07 +0000 (19:19 +0000)
committerJoshua Colp <jcolp@digium.com>
Mon, 5 Mar 2007 19:19:07 +0000 (19:19 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57914 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax2.c

index 31b1f0922ab2bfd2bbd2fc3f266023978671768f..e264ec49eb1fe724ea8ef98d237158da91b0dae0 100644 (file)
@@ -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 */