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

Tim Panton thp at westhawk.co.uk
Wed Jan 2 08:11:29 CST 2008


On 2 Jan 2008, at 05:17, Vincent wrote:

> 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 :-/

There is a Java Applet I wrote that plays GSM files at :
http://www.westhawk.co.uk/software/playGSM/PlayGSM.jar
with an example at:
http://www.westhawk.co.uk/software/playGSM/PlayGSM.html


Source code is in the Jar. It would be very easy to convert it
to playing SLIN, ulaw or whatever.

Tim.



More information about the asterisk-users mailing list