Asterisk Audio Converter

Upload audio files and convert them to formats Asterisk can play natively. Supports batch conversion, volume normalization, and silence trimming.

1 Upload

Drop an audio file here or click to browse

MP3, WAV, OGG, FLAC, AIFF, M4A (max 10 MB)

Lowercase, spaces become dashes, special characters removed. If left blank, the original filename is used.
2 Output Formats
3 Processing Options
Uploading...

About Asterisk audio formats

Not sure which format to use or why providing multiple formats avoids real-time transcoding? The Asterisk Audio Formats Explained guide covers ulaw vs alaw, when G.722 wideband makes sense, and how to convert files on the command line with sox.

Related

How it works

Asterisk plays audio files from the Music on Hold directory, IVR prompts, and voicemail greetings. For best performance, provide files in the codec that matches the caller's channel so Asterisk does not need to transcode in real time.

  • Voice / IVR: normalize to -3 dB, trim silence, apply 300–3400 Hz bandpass.
  • Music on Hold: soft limiter, normalize to -8 dB, no bandpass (preserves bass).
FormatExtensionUse case
G.711 u-law.ulawNorth American telephony (T1/PRI lines). Most common Asterisk format.
G.711 a-law.alawEuropean and international telephony (E1 lines).
GSM.gsmGood compression, widely compatible. Default for many Asterisk installations.
WAV (PCM).wavUncompressed 8 kHz 16-bit. Highest quality, largest file size.
Signed Linear.slnRaw PCM with no header. Asterisk internal format. Smallest overhead.
Signed Linear 16kHz.sln16Raw wideband PCM (16 kHz). Pairs with G.722 for wideband-capable endpoints.
G.722.g722Wideband (16 kHz). Higher quality on PJSIP endpoints that support it.

All narrowband formats use 8 kHz mono. Signed Linear 16kHz and G.722 use 16 kHz for wideband audio on endpoints that support it.

Hear the difference

The same Harvard sentence (public domain) encoded to each format, then decoded back to WAV, exactly what Asterisk sends to a caller's channel.

WAV 8 kHz Uncompressed reference
G.711 u-law No perceptible loss; 64 kbps
G.711 a-law No perceptible loss; 64 kbps
GSM Mild artifacts on sibilants; 13 kbps
Signed Linear Raw PCM; identical to source
G.722 (wideband) 16 kHz bandwidth; noticeably fuller
Found this useful? Buy me a coffee