[asterisk-users] PHP/AGI/SetVar Issue
David Backeberg
dbackeberg at gmail.com
Fri Jun 5 17:24:57 CDT 2009
On Fri, Jun 5, 2009 at 3:13 PM, Steve Edwards <asterisk.org at sedwards.com> wrote:
> All the "steps" are stored in the database.
>
> When a call comes in, an AGI looks up the steps for the DNIS and loads all
> the variables of the form:
>
> STEP-01-DATA -- name of variable, branch targets, etc
> STEP-01-MAX-LENGTH
> STEP-01-MIN-LENGTH
> STEP-01-PROMPT -- path to a wav file
> STEP-01-TYPE -- types are BRANCH, DTMF, END, PROMPT, VOICE, etc.
> .
> .
> .
> STEP-xx-DATA
> STEP-xx-PROMPT
> STEP-xx-MAX-LENGTH
> STEP-xx-MIN-LENGTH
> STEP-xx-TYPE
>
> (There's actually 8 variables per step. One customer has 75 steps. Thus,
> 600 channel variables.)
>
> Each type is handled by a separate AGI.
Very clever and flexible. Thanks for sharing that.
More information about the asterisk-users
mailing list