[asterisk-dev] Asterisk AGI Playback FF and Playback REW

Steve Edwards asterisk.org at sedwards.com
Thu Feb 18 19:24:38 CST 2010


On Thu, 18 Feb 2010, Bryant Zimmerman wrote:

> I am using AGI how would I maintain control with-in my AGI program. The 
> only way to access the Controlplayback would be with the EXEC command 
> based on what I have seen the overhead would kill the app. I would need 
> to issue a Get on each of the variables after each stop. This would 
> cause three to four additional calls.

I have an AGI (written in C) that sets 810 (yes, eight hundred ten) 
channel variables at the start of every call after reading the variables 
from a MySQL database based on the DNIS. It executes in the blink of an 
eye.

I'm guessing that setting a variable takes a bit longer than reading a 
variable so the overhead of reading 4 variables after each step should be 
undetectable.

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000



More information about the asterisk-dev mailing list