[asterisk-app-dev] API/AMI Question

Matthew Jordan mjordan at digium.com
Wed Jan 29 11:04:17 CST 2014


On Wed, Jan 29, 2014 at 9:01 AM, Glen Millard <glenmillard at gmail.com> wrote:
> Hello Dan et al;
>
> Okay - what I want to do:
>
> 1. discover what functionality that the Asterisk 12 REST/AMI has - what
> would be the best way to do that please? I see the Wiki on Digium/Asterisk,
> but maybe I am looking in the wrong spots. It does not seem to be clear.
> Once I discover what it is capable of, then I can decide if I can use it
> with what we need to do.

What is up on the wiki right now [1] is certainly more in the realm of
command reference information, so that people writing ARI applications
have some documentation about what resources/operations are available
to them. David has also written page [2] on getting started with ARI,
which is a jumping off point for getting Asterisk configured
correctly, putting a channel into Stasis, and doing basic control of
the channel using ARI.

We're working on some documentation that is more in line with 'how do
I build things', but that's still a work in progress.

In the meantime, you can look at the client libraries that have been
written by various people, that are linked to off of that page. You
may also want to look at some demo applications that were written by
David in Python - these are available with the Python reference
library up on GitHub [3].

> 2. Asterisk 12 - I noticed that the CLI commands seem to be a whole new
> 'language' almost. Is there a way to keep the old Asterisk 11 style and
> before CLI commands?

The CLI commands haven't been changed (although there are some new
ones that have been added for PJSIP). What exactly are you referring
to?

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+12+ARI
[2] https://wiki.asterisk.org/wiki/display/AST/Getting+Started+with+ARI
[3] https://github.com/asterisk/ari-py/tree/master/examples



-- 
Matthew Jordan
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org



More information about the asterisk-app-dev mailing list