On Fri, Jun 5, 2009 at 3:13 PM, Steve Edwards <[email protected]> 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.

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to