FreePBX | Register | Issues | Wiki | Portal | Support

Convert sln16 files


#1

Hi everyone, I’m trying to convert an mp3 or waw file to lsn16 to replace the preloaded voice that says to enter the conference pin code


(Jared Busch) #2

Use sox if you are doing it ON the FreePBX system itself.

This is something I did recently to convert some 3CX recordings to something Asterisk could use.

Obviously your syntax will vary. Use soxi filename to get the details of the mp3/wav file.

sox vmail_3038710928_101_20181113170803.wav --encoding ima-adpcm -c 1 -e signed-integer msg0000.wav

#3

Or in Asterisk itself

file convert
Usage: file convert <file_in> <file_out>
Convert from file_in to file_out. If an absolute path
is not given, the default Asterisk sounds directory
will be used.

   Example:
       file convert tt-weasels.gsm tt-weasels.ulaw

(it can’t do mp3 though :wink: )


(Jared Busch) #4

It also could not convert from the 3CX IMA ADPCM format either.


#5

But it would likely handle “waw file to lsn16” sic, as wav or sln16 :wink:


(Jared Busch) #6

Probably.


(system) closed #8

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.