Royalty-free music sources for Asterisk MOH, how to convert audio for native playback, and streaming live internet radio through mpg123.
Set up music on hold using pre-converted audio files instead of live MP3 decoding. Covers musiconhold.conf, format conversion, multiple music classes,...
Dialplan extension that plays random Asterisk sound files in an infinite loop. Useful for load testing, demo systems, and verifying audio paths.
Convert WAV, MP3, and other audio formats to Asterisk-native formats using sox and ffmpeg. Covers single file conversion and batch processing for prom...
Check for a custom greeting file and fall back to built-in sounds if it doesn't exist
Generate Asterisk audio prompts from text using Google's gTTS Python library -- convert text to WAV files suitable for Playback() and Background().
Configure Music on Hold classes in musiconhold.conf -- set up custom hold music directories, per-context MOH, and per-endpoint MOH assignment.