[asterisk-dev] Formatting options for CLI output

Tilghman Lesher tilghman at meg.abyt.es
Mon Nov 12 17:04:55 CST 2012


The AMI command for accessing the Data output is "DataGet", for one.
I don't believe the JSON stuff was ever implemented, but you can check
out the code in main/data.c.  The API was entirely designed around
getting access to all internal structures.

On Mon, Nov 12, 2012 at 12:56 PM, Nir Simionovich
<nir.simionovich at gmail.com> wrote:
> Where can I find information about it?
>
> -----Original Message-----
> From: asterisk-dev-bounces at lists.digium.com
> [mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of Tilghman Lesher
> Sent: Monday, November 12, 2012 6:38 PM
> To: Asterisk Developers Mailing List
> Subject: Re: [asterisk-dev] Formatting options for CLI output
>
> On Mon, Nov 12, 2012 at 3:02 AM, Nir Simionovich <nir.simionovich at gmail.com>
> wrote:
>> So, I opened a can of worms with this - so let's see if we can put a
>> lid on it in some form.
>
> Why don't you forget about changing AMI completely, and follow onto Paul's
> suggestion at looking at the Asterisk Data API, which was explictly designed
> with the ability to output XML, JSON, etc.?
>
> --
> _____________________________________________________________________
> -- 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
>
>
> --
> _____________________________________________________________________
> -- 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



More information about the asterisk-dev mailing list