Hi, i’ve uploaded this file from the web interface of the module System Recordings, the file is PCM Encoded 16Bit 8Khz Mono, and i’m using with another PBX (Trixbox) without problems.
I’m delevoping a new PBX based on Ubuntu Gutsy, and i can’t play system recordings, i’ve this errors from asterisk full log:
[Nov 7 17:38:49] WARNING[5159] file.c: File custom/ivr-piera-musica does not exist in any format
[Nov 7 17:38:49] WARNING[5159] file.c: Unable to open custom/ivr-piera-musica (format 0x4 (ulaw)): No such file or directory
This are the files: (i’ve encoded with sox the same file in gsm, but without good result)
I seem to remember somebody else posting something similar to this a few months ago. The problem ended up being that the install was not looking in the “normal expected” place you think it was supposed to. Based on the error it is either a permissions problem or it can’t access the file which would be true if it was not looking at the /var/lib/asterisk/sounds folder to start with.
Search the forums and take a look around as the solution was to create a symlink for the custom directory someplace different pointing to this location and it then worked.
Take a look at lsof or strace to track the files and path of said files that asterisk has opened will also help.
I didn’t notice any log errors/warnings, but I have had the problem of recorded messages not playing back for ages.
It was driving me crazy. Scanned the forums, was even on the #freepbx and #asterisk IRC to no avail.
Everything else works except commands which play sound files. The result is usually that the entire dialplan fails and my provider can’t even connect the call. IVR doesn’t work. Playback command doesn’t work.