[asterisk-dev] get a list with codecs capable of transcoding and export it via AMI
Clod Patry
cpatry at gmail.com
Thu Dec 20 21:26:10 CST 2007
im not sure what you would like for output exactly? Any quick example?
Also, why that output exactly?
On Dec 19, 2007 7:16 PM, Caio Begotti <caio at ueberalles.net> wrote:
> Hi list,
>
> My thoughts: core show codecs lists all supported codecs built in
> Asterisk, core show translation shows from which one to another codec
> we can transcode to. So far so good, but I am trying to get a list
> (via AMI) of the codecs capable of real transcoding, much like show
> translation but without the time cost numbers nor the guys reported
> with a minus sign.
>
> I thought it could be done by using reading through &translators to
> get names of the 13 audio codecs currently supported and them feed
> them into a loop using ast_translate_available_formats to check if
> they're usable. This idea came from 'jointcapability' I've found in
> chan_sip.c, which makes a lot of sense... I guess.
>
> Honestly, this sounds challenging and I didn't understand how show
> translation do that... Am I realizing it wrong and my idea sounds
> harder and more stupid than 'show translation'?
>
> Any guidance? Hints to develop it on my own? :)
>
> Cheers,
>
> --
> Caio Begotti <http://caio.ueberalles.net>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>
--
Clod Patry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20071220/90c258e9/attachment.htm
More information about the asterisk-dev
mailing list