Unable to play wav file using Backgound

Hi,

I have placed wav file under /var/lib/asterisk/sounds directory. permissions are seemed to be ok since its playing on some calls.

While originating file is played to some customers, but fails to few customers.

below are the logs:

[Aug 10 11:18:34] WARNING[6890] file.c: Unable to open sample_playing_prompt (format 0x8 (alaw)): No such file or directory
[Aug 10 11:18:34] WARNING[6890] pbx.c: ast_streamfile failed on DAHDI/643-1 for sample_playing_prompt
[Aug 10 11:18:34] WARNING[7164] pbx_spool.c: Unable to open directory /var/spool/asterisk/outgoing: Too many open files
[Aug 10 11:18:34] WARNING[6695] file.c: Unable to open sample_playing_prompt (format 0x8 (alaw)): No such file or directory

Please help on this.

Regards,
Rajkumar

Too many open files

An OS level configuration problem.

David thanks for quick reply.

But i am able to play the same file to other calls. Only few calls has this issue.