diff options
author | Joshua Colp <jcolp@digium.com> | 2007-03-05 19:20:45 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2007-03-05 19:20:45 +0000 |
commit | 2adf4fa4e0dfaf629ab682fdf310afd2e8a4b661 (patch) | |
tree | 5bcaf72780e55289061980210059621c4032605e | |
parent | 6743eb2117cd1cd2b0d3593d0cee44468deba7f5 (diff) |
Merged revisions 57914 via svnmerge from
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
-rw-r--r-- | channels/chan_iax2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index bb908e661..dde51139e 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -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 */ |