[Asterisk-Dev] Which is better: Using dialplan or AGI?

Brian West brian at bkw.org
Wed Dec 29 11:50:52 MST 2004


res_perl baby !!!!!!! :P

bkw

> -----Original Message-----
> From: asterisk-dev-bounces at lists.digium.com [mailto:asterisk-dev-
> bounces at lists.digium.com] On Behalf Of Jorge Merlino
> Sent: Wednesday, December 29, 2004 12:46 PM
> To: Asterisk Developers Mailing List
> Subject: Re: [Asterisk-Dev] Which is better: Using dialplan or AGI?
> 
> Matthew Boehm wrote:
> 
> >With the recent addition of apps such as app_read I am now needing to ask
> >which is better for certain scenarios.
> >Lets say you are a bank setting up "dial your account info". In your
> >dialplan, is it more efficient to have 10 or so lines that call a bunch
> of
> >apps/db queries or 1 exten line that calls an AGI?
> >
> >-Matthew
> >
> >
> 
> In my experience it is much faster to use asterisk applications. It also
> depends on the language you use to implement the agi executable, but the
> overhead of creating a new process is noticeable nevertheless.
> 
> Regards
>     Jorge
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev




More information about the asterisk-dev mailing list