I am having trouble with the musiconhold feature. When it is implemented in
my dialplan I see that on the CLI it is started and then stopped
immediately. The call stays active but there is just silence.
I have installed zaptel / ztdummy modules because I don't have any cards in
the machine
Asterisk version:
Asterisk SVN-branch-1.2-r51300M built by root
Result of: lsmod | grep zt:
ztdummy 7560 0
zaptel 180004 9 ztdummy
-- Executing Answer("SIP/xxx.xxx.xxx.xxx-081402c8", "") in new stack
-- Executing SetMusicOnHold("SIP/xxx.xxx.xxx.xxx-081402c8", "default")
in new stack
-- Executing WaitMusicOnHold("SIP/xxx.xxx.xxx.xxx-081402c8", "20") in
new stack
-- Started music on hold, class 'default', on channel
'SIP/xxx.xxx.xxx.xxx-081402c8'
-- Stopped music on hold on SIP/xxx.xxx.xxx.xxx-081402c8
Musiconhold.conf:
[default]
mode=mp3
directory=/var/lib/asterisk/mohmp3
Result of: ls -lsa /var/lib/asterisk/mohmp3:
1898 -rw-r--r-- 1 root root 1939812 Jan 19 18:34 fpm-calm-river.mp3
2527 -rw-r--r-- 1 root root 2582496 Jan 19 18:34 fpm-sunshine.mp3
2170 -rw-r--r-- 1 root root 2217563 Jan 19 18:34 fpm-world-mix.mp3
Any suggestions would be appreciated