[asterisk-users] AGI and retreiving data, how to use this data in extensions.conf

Alex Balashov abalashov at evaristesys.com
Sat Mar 10 14:48:56 CST 2012


Easiest thing is to have your AGI script set channel variables, which can be read in the dial plan.

--
This message was painstakingly thumbed out on my mobile, so apologies for brevity and errors.

Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Atlanta, GA 30030
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/, http://www.alexbalashov.com

On Mar 10, 2012, at 3:27 PM, bilal ghayyad <bilmar_gh at yahoo.com> wrote:

> Hi All;
> 
> I know that I can use the AGI to call (run) a script (php or python or any other kind of scripts), but the question is:
> 
> If I have information that I need to build a decision in the extensions.conf based on it, and these informations can be obtained using this script, so how I will read these informations? What is the method to read it from the database and store it in a variable that I can use it in the extensions.conf to do proper call routing? How?
> 
> 
> Regards
> Bilal
> 
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list