aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-03-05 19:20:45 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-03-05 19:20:45 +0000
commitd9b9b917e9ed636e0f699f97ff719d2c7fb4c65e (patch)
tree5bcaf72780e55289061980210059621c4032605e /channels
parentf4a4b7057f0e362ebc44854bb3cedcb69c79fca3 (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: http://svn.digium.com/svn/asterisk/trunk@57915 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_iax2.c1
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 */