[asterisk-dev] Asterisk AGI 2.0

Martin Smith martins at bebr.ufl.edu
Wed Oct 24 09:10:04 CDT 2007


Hello Gaspar,

I commend you for the interest and time you've taken to reconsider the
idea of AGI and the suggestions you've made to improve it. I agree with
you, in principle, about reducing the instruction set for AGI, but I
don't really think this is feasible in any real world scenario (for me,
anyway).

First, I don't think we're going to see the end of the dialplan any time
soon. No matter what AGI does, it will have to deal with this fact and
likely MUST interoperate with the dialplan. I realize this sounds
simple, but I think it is a critical acknowledgement we need to make to
have the rest of the conversation.

Given the above, pushing off things like DbGet and DbPut from AGI into
an application's domain means that the dialplan can't always have access
to application data after the AGI connection is broken. This would
seriously cripple my ability to create a useful dialplan without pushing
the whole thing into an AGI script.

Regarding your ideas for event handlers for DTMF (and SIP messages,
etc), I like them, but really, you can already handle these events in
AGI by using statements that always accept DTMF when you play a file,
and for other kinds of messages, I'd like to see AGI remain channel
driver agonostic. Plus, I don't think it would be too difficult to
create a wrapper around those to make them 'feel' event driven.

I'd be more interested in seeing AGI scripts and the Manager interface
somehow synthesized, as more often than not, the developers I see are
connected to a user via AGI and dealing with events via the Manager
interface, and then acting on AGI based on Manager data, and acting on
the Manager interface based on AGI data.

I hope this doesn't come off as negative, as I like the ideas, but I
guess when I put myself in the position of using them, they create a few
barriers I don't think I would enjoy struggling with :).

Regards,

Martin Smith, Systems Developer
martins at bebr.ufl.edu
Bureau of Economic and Business Research
University of Florida
(352) 392-0171 Ext. 221 

 

> -----Original Message-----
> From: asterisk-dev-bounces at lists.digium.com 
> [mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of 
> Gaspar Zoltan
> Sent: Wednesday, October 24, 2007 9:45 AM
> To: 'Asterisk Developers Mailing List'
> Subject: Re: [asterisk-dev] Asterisk AGI 2.0
> 
> Hi all,
> 
> This google docs publishing thing is a little bit new to me. 
> I put it on
> another account. And tried it on another computer. This link works.
> 
> http://docs.google.com/Doc?id=dgrzqb36_8c6j439
> 
> Thanks, and waiting your opinions
> 
> Zoltan Gaspar
> 
> -----Original Message-----
> From: asterisk-dev-bounces at lists.digium.com
> [mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of 
> Tony Mountifield
> Sent: Wednesday, October 24, 2007 12:22 PM
> To: asterisk-dev at lists.digium.com
> Subject: Re: [asterisk-dev] Asterisk AGI 2.0
> 
> In article <471f0301.1c365e0a.1f06.6244 at mx.google.com>,
> Gaspar Zoltan <gasparz at gmail.com> wrote:
> >  
> > I would like to start a discussion about the AGI, about how 
> it should be
> > modified to make asterisk more powerfull.
> >  
> > I started a document, if you have time please read it and 
> give me (and the
> > asterisk developer community) your 2 cents about it. It's not a long
> > document, shoudn't take more then 5 minutes.
> >  
> >  <http://docs.google.com/a/teamanswers.com/Doc?id=dcxr8kn4_14dxjq4b>
> > http://docs.google.com/a/teamanswers.com/Doc?id=dcxr8kn4_14dxjq4b
> 
> Can't get to it without creating a teamanswers.com account (I 
> hate having
> to create an account on a site just to look at stuff). Could you put
> it somewhere public instead?
> 
> Cheers
> Tony
> -- 
> Tony Mountifield
> Work: tony at softins.co.uk - http://www.softins.co.uk
> Play: tony at mountifield.org - http://tony.mountifield.org
> 
> _______________________________________________
> --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