A guide to Asterisk native audio formats (ulaw, alaw, GSM, G.722, WAV, SLN), when to use each one, and how to convert files with sox and ffmpeg.
Covers where to find royalty-free audio to replace the default opsound tracks, how to convert downloaded files to the formats Asterisk plays natively,...
Configure Asterisk music on hold using native audio files instead of mpg123. Covers musiconhold.conf setup, sox format conversion, multi-codec files t...
Dialplan extension that plays random Asterisk sound files in an infinite loop. Useful for load testing, demo systems, and verifying audio paths.
Convert audio files to Asterisk-compatible formats using sox or ffmpeg. Covers single-file WAV, GSM, and ulaw conversion, batch directory scripts, and...
Play a custom audio greeting if the file exists on disk, falling back to built-in Asterisk prompts without any dialplan changes.
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.