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
