Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've installed Asterisk on my Ubuntu Server, all works fine, excepts playing the custom sounds.

Asterisk sounds work, but this file I've uploaded does not play (on other servers it works, it is a .WAV PCM 16bit 8000).

Here is some log output:

[Feb  6 22:55:45] WARNING[11045] file.c: File custom/sohoitsoluciones does not exist in any format
[Feb  6 22:55:45] WARNING[11045] file.c: Unable to open custom/sohoitsoluciones (format 0x4 (ulaw)): No such file or directory
[Feb  6 22:55:45] WARNING[11045] app_playback.c: ast_streamfile failed on SIP/Out4903-0000001d for custom/sohoitsoluciones

How can I get Asterisk to play a custom sound?

share|improve this question
up vote 1 down vote accepted

Asterisk is looking in the wrong place for the recordings. You can fix this with:

mv /usr/local/share/asterisk/sounds /usr/local/share/asterisk/sounds.old

followed by

ln -s /var/lib/asterisk/sounds/custom /usr/local/share/asterisk/sounds
chown -R asterisk:asterisk /usr/local/share/asterisk/
chmod -R 755 /usr/local/share/asterisk/

I found this here:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.