Jonas Kellens
2011-Feb-01 16:34 UTC
[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. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110201/ae20fee0/attachment.htm>
Danny Nicholas
2011-Feb-01 16:45 UTC
[asterisk-users] How to load new musiconhold classes ?
_____ 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>
Seemingly Similar Threads
- MusicOnHold class working for internal calls, not for external
- moh reload not reloading/reading new musiconhold files
- moh reload not reloading/reading new musiconhold files
- moh reload not reloading/reading new musiconhold files
- realtime sip peers : musiconhold class