I have just followed the MOH guide @ http://www.voip-info.org/wiki-Asterisk+config+musiconhold.conf but for some reason when I call the test extension it answers, says it is starting the music, but I here nothing at all This is what the CLI shows :-
Executing Answer("SIP/uxbod-0e89", "") in new stack
-- Executing SetMusicOnHold("SIP/uxbod-0e89", "default") in new stack
-- Executing WaitMusicOnHold("SIP/uxbod-0e89", "20") in new stack
-- Started music on hold, class 'default', on SIP/uxbod-0e89
-- Stopped music on hold on SIP/uxbod-0e89
-- Executing Hangup("SIP/uxbod-0e89", "") in new stack
and voicemail.conf :-
[default]
mode=quietmp3
directory=/var/lib/asterisk/mohmp3
and extensions.conf :-
exten => 2000,1,Answer
exten => 2000,2,SetMusicOnHold(default)
exten => 2000,3,WaitMusicOnHold(20)
exten => 2000,4,Hangup
Am I missing something here ? I have checked the musiconhold directory and the files are there :-
mailhub mohmp3 # ls -l
total 6600
-rw-r----- 1 asterisk asterisk 1939812 Jun 30 19:45 fpm-calm-river.mp3
-rw-r----- 1 asterisk asterisk 2582496 Jun 30 19:45 fpm-sunshine.mp3
-rw-r----- 1 asterisk asterisk 2217563 Jun 30 19:45 fpm-world-mix.mp3
mailhub mohmp3 # pwd
/var/lib/asterisk/mohmp3