From: "Mike D'Ambrogia" <[EMAIL PROTECTED]>
You'll need to modify your current overall programming strategy in order
to implement this. But do the READ that you are attempting from within
the dial plan and not the AGI script, and either update my_var prior to
calling the AGI, or pass my_var in t
From: "Ralph Liebessohn" <[EMAIL PROTECTED]>
On 1/11/07, Mike D'Ambrogia <[EMAIL PROTECTED]> wrote:
Ralph
Kind of new to asterisk, and really new to AGI but it looks like you were
trying to have the AGI script tell asterisk to read and lay the results
into
my_var and then regain control in
just as a followup and potential solution to the passing of values, I've
been setting variables at the top of the dialplan using :
exten => 100,n,Set(my_var=)
Now I can modify my_var in the dialplan, and I can get/set my_var in the
AGI script via GET VARIABLE and SET VARIABLE
You'll need to m
Users Mailing List - Non-Commercial Discussion
Subject: Re: FW: [asterisk-users] Get dialed numbers in AGI
On 1/11/07, Mike D'Ambrogia <[EMAIL PROTECTED]> wrote:
Ralph
Kind of new to asterisk, and really new to AGI but it looks like you
were trying to have the AGI script tell asterisk to
All the variables here was my_var, it worked for GET VARIABLE but didn't for
SAYDIGITS and odbc connection. How can I SAYDIGITS of my_var or insert
my_var value into a db?
- What I need more to use WAIT FOR DIGIT? Because it didn't stop to wait for
digits.
- STDIN shoudn't get the result of READ
On 1/11/07, Mike D'Ambrogia <[EMAIL PROTECTED]> wrote:
Ralph
Kind of new to asterisk, and really new to AGI but it looks like you were
trying to have the AGI script tell asterisk to read and lay the results into
my_var and then regain control in the AGI script, is that correct?
If so I don't