Corrupt Recordings (MixMonitor)

Hi,

I have an customer running an older version of asterisk, 1.4.24-1. About a month ago asterisk was restarted and the G729 codec did not load into asterisk correctly. When running asterisk -rx “g729 license show”, I could view the license and running an asterisk -rx “module show like codec” show the g729 codec as loaded however when running asterisk -rx “core show translation”, there was no G729 transcoding taking place.

Has anyone experienced G729 not loading correctly into asterisk?

Never thought anything of the G729 issue but a couple weeks later the customer said the recordings for that day were corrupt. I have tried import the recording into Audacity using every option possible to recover the recording but with not luck.

Below is the SOX stats from the recording as well as the CDR entry of the recording. The CDR record shows the recording should be 1565 seconds long however the SOX stat says the recording is 121071 seconds. This suggests MixMonitor went a bit crazy.

[quote]sox 5083-OUT–20120914-125951-1347620391.36128.WAV -n stat

Samples read: 968572800
Length (seconds): 121071.600000
Scaled by: 2147483647.0
Maximum amplitude: 0.999756
Minimum amplitude: -1.000000
Midline amplitude: -0.000122
Mean norm: 0.744158
Mean amplitude: 0.104469
RMS amplitude: 0.820207
Maximum delta: 1.999756
Minimum delta: 0.000000
Mean delta: 0.400689
RMS delta: 0.692100
Rough frequency: 1074
Volume adjustment: 1.000
[/quote]

[quote]| src | dst | duration | billsec | calldate |
|5083 | 0114818169 | 1565 | 1552 | 2012-09-14 12:59:51 |[/quote]

The size of the file is quite large.

[quote]ls -l 5083-OUT–20120914-125951-1347620391.36128.WAV
-rw-rw-r-- 1 michael michael 196741410 Oct 3 22:06 5083-OUT–20120914-125951-1347620391.36128.WAV[/quote]

The interesting thing was that we use MixMonitor to do the recordings of an individual extension and Monitor to do the recordings in the queue and both functions were affected. By this I mean both recordings were corrupt.

Looking at the asterisk logs I found messages to suggest there was an issue with transcoding but I don’t know why this would affect MixMonitor and Monitor

[quote][Sep 14 15:04:19] WARNING[32748] channel.c: Failed to write data to channel monitor read stream
[Sep 14 15:04:19] WARNING[32748] translate.c: No translator path from alaw to g723
[Sep 14 15:04:19] WARNING[32748] file.c: Unable to translate to format wav49, source format g729
[Sep 14 15:04:19] WARNING[32748] channel.c: Failed to write data to channel monitor write stream
[Sep 14 15:04:19] WARNING[32750] translate.c: No translator path from alaw to unknown
[Sep 14 15:04:19] WARNING[32750] translate.c: No translator path from alaw to unknown
[Sep 14 15:04:19] WARNING[32748] translate.c: No translator path from alaw to g723
[Sep 14 15:04:19] WARNING[32748] file.c: Unable to translate to format wav49, source format g729
[Sep 14 15:04:19] WARNING[32748] channel.c: Failed to write data to channel monitor read stream
[Sep 14 15:04:19] WARNING[32748] translate.c: No translator path from alaw to g723
[Sep 14 15:04:19] WARNING[32748] file.c: Unable to translate to format wav49, source format g729
[Sep 14 15:04:19] WARNING[32748] channel.c: Failed to write data to channel monitor write stream
[Sep 14 15:04:19] WARNING[32750] translate.c: No translator path from alaw to unknown
[Sep 14 15:04:19] WARNING[32750] translate.c: No translator path from alaw to unknown
[Sep 14 15:04:19] WARNING[32748] translate.c: No translator path from alaw to g723
[Sep 14 15:04:19] WARNING[32748] file.c: Unable to translate to format wav49, source format g729
[Sep 14 15:04:19] WARNING[32748] channel.c: Failed to write data to channel monitor read stream
[Sep 14 15:04:19] WARNING[32748] translate.c: No translator path from alaw to g723
[Sep 14 15:04:19] WARNING[32748] file.c: Unable to translate to format wav49, source format g729
[Sep 14 15:04:19] WARNING[32748] channel.c: Failed to write data to channel monitor write stream
[Sep 14 15:04:19] WARNING[32750] translate.c: No translator path from alaw to unknown
[Sep 14 15:04:19] WARNING[32750] translate.c: No translator path from alaw to unknown
[Sep 14 15:04:19] WARNING[32748] translate.c: No translator path from alaw to g723
[/quote]

I suspect the recordings are not recoverable but I must ask, has any experienced this problem before and if someone has more knowledge of recordings could they assist me in recovering them?

Thanks,
Michael