[asterisk-users] Asterisk does not translate from wav to alaw
murf at parsetree.com
Sat Aug 28 12:27:52 CDT 2010
On Sat, Aug 28, 2010 at 9:52 AM, Tilghman Lesher <tlesher at digium.com> wrote:
> On Saturday 28 August 2010 10:35:59 Bryant Zimmerman wrote:
> > Thanks for sharing I appericate your insight as this is something I run
> > against as well.
> > What about g729 we use this coded a lot what is the best method to
> > transcode it it?
> If you load "res_convert.so", you will have a CLI command "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.
> file convert tt-weasels.gsm tt-weasels.ulaw
Tilghman speaks rightly. This conversion utility keys from file names,
so for g729, you might say: asterisk -rx "file convert tt-weasels.ulaw
asterisk -rx "file convert /home/user/tt-weasels.gsm
(oh, and make sure asterisk is running!)
PS. Wouldn't it be nice if sox could handle the sirens, g729, and everything
> Tilghman Lesher
> Digium, Inc. | Senior Software Developer
> twitter: Corydon76 | IRC: Corydon76-dig (Freenode)
> Check us out at: www.digium.com & www.asterisk.org
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the asterisk-users