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
This commit is contained in:
Joshua Colp
2007-03-05 19:20:45 +00:00
parent 6743eb2117
commit 2adf4fa4e0

View 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 */