Free audio converter for asterisk format 16bit mono 8k pcm wav

    In this article we are going to see the tools used to convert audio files which is supported in asterisk for playback in Dialplan and MOH. If you are planning use the wav format in asterisk it should be converted to 16bit mono 8k PCM wav format.

    If you are using vicidial and uploading wav which is not converted you will see the error file does not exist in any format which means the audio files should be in 16bit mono 8k PCM format


asterisk audio converter 16bit mono 8k pcm

What is asterisk?

    Asterisk is a Open source Communication software , You can use Asterisk to build communications applications, things like business phone systems (also known as IP PBXs), call distributors, VoIP gateways and conference bridges.

Asterisk audio support format

The audio standard for most Voice over IP is 8000Hz, 16Bit, Mono. Asterisk is going to expect that all audio conforms to this standard. Asterisk supports a variety of audio and video media. Asterisk provides CODEC modules to facilitate encoding and decoding of audio streams. Additionally file format modules are provided to handle writing to and reading from the file-system

Asterisk supported audi formats wiki

Asterisk Audio Converter:

Asterisk supports below wav format file to playback, also asterisk supports other formats like ulaw,alaw,g729,slin, gsm etc.

16 bit Mono 8k PCM .wav

By default audio recorded over normal windows recorder or any other software wont support saving the file in above said format, 

Below are softwares and online converter you can use to convert to 16 bit Mono 8k PCM waf format

Option 1: g711.org

This free online tool will convert just about any DRM-free media file into audio that's compatible with most telephony vendors' Music on Hold and IVR Announcements.

no need to install any software on your PC, it just online audio converter.

G711 audio converter

Option 2: Digium Audio converter

           Digium, Inc., the Asterisk Company,  is the innovative force behind Asterisk, the most widely used open source telephony software, To make it easier for you to use the voice prompts immediately, digium have created a online tool to help you convert your prompts to a format compatible with Asterisk 
Now digium is part of Sangoma

Converter Link

Option 3: SOX

    SoX is a cross-platform (Windows, Linux, MacOS X, etc.) command line utility that can convert various formats of computer audio files in to other formats


Linux command to convert audio using SOX
sox originalfile.wav -r 8000 -c 1 -s newfile.wav -q

Option 4: other Softwares

    you can also use other paid software's to convert audio files in asterisk wav format
1. wavepad 
2. Audacity

Conclusion:

    Hope this article is helpful in converting the audio to asterisk supported format to playback in IVR ,MOH and in dialplan etc. for professional support reach me on skype and telegram id: striker24x7

2 Comments
  • Ajit Kumar
    Ajit Kumar April 4, 2022 at 11:20 AM

    Free Online Asterisk Audio converter 16 bit Mono 8k PCM .wav

    • Anonymous
      Anonymous March 22, 2023 at 6:08 PM

      New high

Add Comment
comment url