[asterisk-users] How to load new musiconhold classes ?
Danny Nicholas
danny at debsinc.com
Tue Feb 1 10:45:26 CST 2011
_____
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Jonas Kellens
Sent: Tuesday, February 01, 2011 10:34 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] How to load new musiconhold classes ?
Hello,
I've defined some new musiconhold classes in musiconhold.conf :
[default]
mode=files
directory=/var/lib/asterisk/moh
random=yes
;
[908001]
mode=files
directory=/var/lib/asterisk/moh/908001
random=yes
;
[101001-1]
mode=files
directory=/var/lib/asterisk/moh/101001/1
random=yes
;
[101001-2]
mode=files
directory=/var/lib/asterisk/moh/101001/2
random=yes
But the new classes never show up :
asterisk16*CLI> moh show classes
Class: default
Mode: files
Directory: /var/lib/asterisk/moh
I've done the following :
asterisk16*CLI> module reload res_musiconhold.so
asterisk16*CLI> moh reload
asterisk16*CLI> core restart now
How to load new musiconhold classes ??
Using asterisk 1.6.2.10
Kind regards,
Jonas.
I researched this in 1.4.37 and the new classes didn't show up in the "moh
show classes" until they had a valid file in the directory to play.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110201/ae1162de/attachment.htm>
More information about the asterisk-users
mailing list