[asterisk-users] Passing parameter from executable program to asterisk dialplan

Steve Edwards asterisk.org at sedwards.com
Sun Jul 25 10:59:01 CDT 2010


On Sun, 25 Jul 2010, Muro, Sam wrote:

> I am having a problem understanding the way to retrieve some parameters 
> to asterisk via AGI or what ever method that fits. I have an executable 
> program that accept one parameter (CALLERID) and return customer status 
> from the database server which can be printed in the console.
>
> #./retrive 0117473789
> NAME: Franklin John
> STATUS: Active
>
> Can someone advice on how i can catch this values from AGI or directly 
> on dialplan.

AGI is a protocol used to interact with Asterisk. An AGI is a separate 
process created by Asterisk when you execute "agi()" in the dialplan.



More information about the asterisk-users mailing list