failed recordings

I keep having some problems with call recordings on my vicidial box.
The message I get is:
/usr/bin/soxmix: Failed reading /var/spool/asterisk/monitor/xxxxxxxxxxxxxxxxxxxxxxxxxx-in.wav: WAVE: RIFF header not found
xxxxxx...x is the file name (campaign+leadnumber+otherinfo)
This happens for extensions using ulaw and g729. Not all recordings have this issue.
My vicidial box uses:
Asterisk 1.2.27
soxmix: Version 12.18.1
All extensions are SIP and termination provider uses SIP too. Let me know if any more details are required.
Vicidial: (it occurred with 2.0.4 too)
VERSION: 2.0.5-173
BUILD: 90320-0424
CentOS 2.6.18-128.1.6.el5 #1 SMP Wed Apr 1 09:19:18 EDT 2009 i686 i686 i386 GNU/Linux
Dual Intel Pentium(R) Dual-Core CPU E5200 @ 2.50GHz stepping 06
4GB RAM
RAID 1
Any ideas?
The rest of the box works just great, this new version cuts the overall load on the servers and the new phones/trunks/DIDs/etc web UI tools are great.
Thanks
-luis
The message I get is:
/usr/bin/soxmix: Failed reading /var/spool/asterisk/monitor/xxxxxxxxxxxxxxxxxxxxxxxxxx-in.wav: WAVE: RIFF header not found
xxxxxx...x is the file name (campaign+leadnumber+otherinfo)
This happens for extensions using ulaw and g729. Not all recordings have this issue.
My vicidial box uses:
Asterisk 1.2.27
soxmix: Version 12.18.1
All extensions are SIP and termination provider uses SIP too. Let me know if any more details are required.
Vicidial: (it occurred with 2.0.4 too)
VERSION: 2.0.5-173
BUILD: 90320-0424
CentOS 2.6.18-128.1.6.el5 #1 SMP Wed Apr 1 09:19:18 EDT 2009 i686 i686 i386 GNU/Linux
Dual Intel Pentium(R) Dual-Core CPU E5200 @ 2.50GHz stepping 06
4GB RAM
RAID 1
Any ideas?
The rest of the box works just great, this new version cuts the overall load on the servers and the new phones/trunks/DIDs/etc web UI tools are great.
Thanks
-luis