Displaying 1 result from an estimated 1 matches for "options3".
Did you mean:
options
2006 Nov 23
0
Passing arguments to AGI script
...s works fine when I use the callerid variable passed from asterisk to the
script however; I want to pass a variable to the script, which is a number
entered by the caller and stored in a varialbe within the dialplan.
Here is the part of the dialplan code calling the script,
exten => s,8,Read(options3,Test/fnnconf,1)
exten => s,9,Gotoif($[${options3} = 1]?13:10)
exten => s,10,Gotoif($[${options3} = 2]?3:11)
exten => s,11,Gotoif($[${options3} = 3]?6:12)
exten => s,12,Gotoif($["foo${options3}" = "foo"]?t|1:i|1)
exten => s,13,agi,query.agi|${options3}
Kind Regar...