_____
From: [email protected]
[mailto:[email protected]] 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.
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users