[asterisk-users] Choice of soundfile format

Conrad Wood asterisk-users at conradwood.net
Wed Oct 25 02:29:32 MST 2006


On Wed, 2006-10-25 at 11:24 +0200, Jon Schøpzinsky wrote:
> Hello
> 
> What soundfile format, is the one that uses least transcoding during playback?
> As I can see, I can choose wav or gsm. What sucks least cpu power, during playback to example a Zap channel? I would guess wav, but is this correct?

The one that is encoded in the same codec as the codec of the channel.
On zap it's often alaw or ulaw so you can encode your files like that.
You can encode the same file with different codecs and save it with
different extensions (matching the codec) and asterisk will pick the
most suitable one.
If the channel is gsm, a gsm encoded file would be most efficient, as it
doesn't need transcoding at all.

Conrad



More information about the asterisk-users mailing list