[asterisk-commits] file: branch 1.4 r59076 - /branches/1.4/channels/iax2-parser.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Mar 20 13:42:47 MST 2007


Author: file
Date: Tue Mar 20 15:42:46 2007
New Revision: 59076

URL: http://svn.digium.com/view/asterisk?view=rev&rev=59076
Log:
Copy len variable as well, should fix remaining IAX2 DTMF issues.

Modified:
    branches/1.4/channels/iax2-parser.c

Modified: branches/1.4/channels/iax2-parser.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/iax2-parser.c?view=diff&rev=59076&r1=59075&r2=59076
==============================================================================
--- branches/1.4/channels/iax2-parser.c (original)
+++ branches/1.4/channels/iax2-parser.c Tue Mar 20 15:42:46 2007
@@ -928,6 +928,7 @@
 	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 */



More information about the asterisk-commits mailing list