dect
/
asterisk
Archived
13
0
Fork 0

Merged revisions 59076 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59076 | file | 2007-03-20 16:42:46 -0400 (Tue, 20 Mar 2007) | 2 lines

Copy len variable as well, should fix remaining IAX2 DTMF issues.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@59077 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
file 2007-03-20 20:44:58 +00:00
parent 22043a6e79
commit 814b796e90
1 changed files with 1 additions and 0 deletions

View File

@ -960,6 +960,7 @@ void iax_frame_wrap(struct iax_frame *fr, struct ast_frame *f)
fr->af.delivery.tv_sec = 0;
fr->af.delivery.tv_usec = 0;
fr->af.data = fr->afdata;
fr->af.len = f->len;
if (fr->af.datalen) {
#if __BYTE_ORDER == __LITTLE_ENDIAN
/* We need to byte-swap slinear samples from network byte order */