Convert Audio Files for Asterisk: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
To convert a file compatible with Asterisk, Mono 8khz
To convert a file compatible with Asterisk, Mono 8khz<br>
This will convert a mp3 file to wav
<pre>
<pre>
mpg123 filename.wav -r 8000 -c 1 filename.mp3
mpg123 -r 8000 -w or-disable.wav or-disable.mp3
mpg123 /path-to-file/filename.wav -r 8000 -c 1  /path/to/file/filename.au
</pre>


[[Category : Asterisk]]
[[Category : Asterisk]]

Revision as of 22:02, 12 January 2018

To convert a file compatible with Asterisk, Mono 8khz
This will convert a mp3 file to wav

mpg123 -r 8000 -w or-disable.wav or-disable.mp3