I’ve got my Asterisk PBX system working, love it. Just wish there was a way to randomize the music on hold? IE, it plays a randomly chosen song from the selected music on hold category.
Searching here as well as the rest of the internet did not return any useful results, but I assume that this HAS to have been done by someone. Thanks for any pointers,
Tom
Havent tried it but here you go
Make a directory called /var/lib/asterisk/moh-native.
Drop your MP3 files into the new diretory you created above.
Put this in your musiconhold.conf file:
[classes]
[moh_files]
default => /var/lib/asterisk/moh-native
If you want random playback order, add “,r” to the end of your lines, like this:
[classes]
[moh_files]
default => /var/lib/asterisk/moh-native,r
yeah, saw that, thanks… i was hoping for a way that i could get the system to use files uploaded through the FreePBX control panel rather than having to convert and upload the files to the server manually. thanks though; maybe the next version of FreePBX will have that capability.
Tom