[asterisk-users] How to load new musiconhold classes ?

Jonas Kellens jonas.kellens at telenet.be
Tue Feb 1 10:34:18 CST 2011


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110201/ae20fee0/attachment.htm>


More information about the asterisk-users mailing list