i added one soundfile in asterisk its not playing its shows error like this
Executing [077@ani2:5] Playback(“SIP/100-00000007”, “newel”) in new stack
[Sep 27 15:09:35] WARNING[C-00000008]: file.c:1017 ast_streamfile: Unable to open newel (format (alaw)): No such file or directory
[Sep 27 15:09:35] WARNING[C-00000008]: app_playback.c:480 playback_exec: ast_streamfile failed on SIP/100-00000007 for newel
Asterisk is telling You that the file (newel) could not be found (under /var/lib/asterisk/sounds and it’s language-specific subdirectories).
Are You sure, You stored the file there and it’s readable for the asterisk-process?
It will be looking for files like newel.wav, newel.gsm, etc., not plain newel.
@david55: Sure, I missed this in my answer: The soundfile needs to have the correct extension advertising the sound-format it’s coded in.