diff -urN asterisk-1.4.4.orig/codecs/codec_speex.c asterisk-1.4.4/codecs/codec_speex.c --- asterisk-1.4.4.orig/codecs/codec_speex.c 2006-09-08 17:33:32.000000000 -0400 +++ asterisk-1.4.4/codecs/codec_speex.c 2007-05-14 13:33:14.000000000 -0400 @@ -220,6 +220,7 @@ } #endif pvt->samples += tmp->framesize; + pvt->datalen += 2 * tmp->framesize; /* 2 bytes/sample */ return 0; }