diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-03-05 19:19:07 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-03-05 19:19:07 +0000 |
commit | 0b17abeca0039c3ebc089eb5c5d18c9b13bf1be6 (patch) | |
tree | 28fdd3ae3fd32f3b1b32b8a28766d8368ab68528 /channels | |
parent | ca26b3e865df58417d426dcde6fcf3b17006d3e5 (diff) |
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/branches/1.4@57914 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-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 31b1f0922..e264ec49e 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -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 */ |