[asterisk-dev] Asterisk ARI Recordings Bug?

Michael Petruzzello michael.petruzzello at civi.com
Wed May 11 14:13:34 CDT 2016


Joshua Colp wrote:
>Whether it's ARI or not the same things are used underneath. What file
>format and what says they are unplayable

The file format is wav. Groove Music and Audacity (regular import) says
they are unplayable.

Looking at the file headers, the unplayable recordings are missing the
chunkSize and the subchunk2Size:

52 49 46 46 00 00 00 00 57 41 56 45 66 6d 74 20 10 00 00 00 01 00 40 1f 00
00 80 3e 00 00 02 00 10 00 64 61 74 61 00 00 00 00 94 fd d4 fd

It looks like Asterisk writes the wav file with an invalid header because
it is currently writing out to the file, but then it fails to rewrite with
the correct length data when the recording finishes.


*Michael J. Petruzzello*
Software Engineer
P.O. Box 4689
Greenwich, CT 06831
203-618-1811 ext.289 (office)
www.civi.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20160511/1edf2344/attachment.html>


More information about the asterisk-dev mailing list