[asterisk-users] [1.4 + FreeBSD 6.2] Playing WAV PCM file?

Vincent vincent.delporte at bigfoot.com
Tue Jan 1 23:17:04 CST 2008


On Tue, 01 Jan 2008 16:10:47 +0100, MatsK <mkn0014 at gmail.com> wrote:
>The codec is specified (for a sip device) in sip.conf, like this:

Good to know. Actually, I'll have Asterisk save voicemails as WAV and
move the files to the www's htdocs, and send an e-mail to users with
the link they'll just have to click to listen to them.

Actually, I'm thinking of embedding a Flash player in the web page,
and update its playlist file so that the browser doesn't launch the
external app that is registered with Windows to play WAV files. But I
haven't found any Flash player that can play WAV, only MP3 :-/

>And you know that you can convert the files to every codec format that
>is in use then will the cpu load be minimalized !

Yup, but the CPU is just a Pentium 233MHz. I just converted a 20MB WAV
file from a CD-quality (44KHz sample rate, stereo) into the format
Asterisk likes (8HKz, mono), and it took about 10mn. So conversion is
out of the question, as Asterisk is likely to have a problem answering
other incoming calls while it's busy converting the last voicemail
message.

>To convert between different codec formats can you use the asterisk CLI
>command:

Thanks, I didn't know this command.




More information about the asterisk-users mailing list