[Asterisk-Users] Problem with musiconhold - No such file or directory

Waldek sp2ong at wp.pl
Wed Dec 29 03:16:20 MST 2004


I have mpg123 v59r and in command line mpg123 play of music 
/var/lib/asterisk/mohmp3/sample.mp3

in musiconhold.conf I have:
--------------------------------------
[classes]
default => mp3:/var/lib/asterisk/mohmp3/
-------------------------------------

and extensions.conf
exten => 2,1,WaitMusicOnHold(30)


When I call on console asterisk I have message:
-----------------------------------------
    -- Executing WaitMusicOnHold("SIP/100-2278", "30") in new stack
    -- Started music on hold, class 'default', on SIP/100-2278
sample.mp3: No such file or directory
-------------------------------------

Why asterisk don't see my sample.mp3 ?






More information about the asterisk-users mailing list