[asterisk-users] Asterisk does not translate from wav to alaw

Steve Murphy 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
> up
> > 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.
>
>       Example:
>           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
tt-weasels.g729"

or,

asterisk -rx "file convert /home/user/tt-weasels.gsm
/home/user/tt-weasels.g729"

(oh, and make sure asterisk is running!)

murf

PS. Wouldn't it be nice if sox could handle the sirens, g729, and everything
else?


> --
> 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:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
Steve Murphy
ParseTree Corp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100828/323c7769/attachment.htm 


More information about the asterisk-users mailing list