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

Jorge Merlino jorge at teledata.com.uy
Wed Dec 29 11:45:33 MST 2004


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



More information about the asterisk-dev mailing list