[asterisk-app-dev] ARI dial application

Leif Madsen lmadsen at thinkingphones.com
Sat Dec 20 12:03:05 CST 2014


On 20 December 2014 at 06:01, Ben Langfeld <ben at langfeld.me> wrote:

>
> Agreed entirely. Dial() is the same sort of monster that Voicemail and
> such are. I think Paul is trying to get agreement on an ARI /dial resource
> (please correct me if I've misunderstood, Paul!) but I think this is a
> mistake. This would break with the purpose of ARI, which is for low-level
> flexible control to implement these sort of application level features
> outside of Asterisk.
>
> It would be nice to solve the problems around early media. Adhearsion has
> had some discussion around these issues relating to the Rayo protocol (
> https://github.com/adhearsion/adhearsion/issues/298) and implements
> something similar to Dial() (
> http://www.rubydoc.info/gems/adhearsion/Adhearsion/CallController/Dial:dial
> ).
>
> What we have found is that these things are very often application
> specific and it's difficult to create something simple yet generic at the
> application level of abstraction; it is probably better to simplify or
> augment the lower level primitives to compose these things more easily in
> an ARI application.
>
>

Ben, actually what I think Paul is trying to propose is a document (think
like an RFC) that describes the functionality, and then programming several
applications in multiple languages that satisfy the functionality of that
document. Think of it like a replacement for app_queue, but in this case,
app_dial. In this case I think we're all in agreement it is going to be
fairly simple, which is great because that shows the power of ARI.
Essentially Paul is asking that we use this as a method to coordinate on
documentation on how to build the dialplan replacement of app_dial in an
ARI driven application.

This would be another one of those Lego blocks that could be made available
to people so that they could start to build something from the blocks. If
the community is able to come together, write some basic documentation on
how something should work, and then other people come in and satisfy that
documentation with code that controls ARI, then that gives us many examples
of ARI being used in capacities formerly satisfied by dialplan applications.

I could be wrong, but that was my impression of this thread. I don't think
he was proposing any sort of ARI resource.

-- 
Leif Madsen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-app-dev/attachments/20141220/574cdeb3/attachment.html>


More information about the asterisk-app-dev mailing list