Displaying 1 result from an estimated 1 matches for "look_up_stuff".
2016 Mar 10
3
Dialplan question: Variables in GoTo() ?
...so I am going to try asking this
here, and maybe anyone else in the same situation searching the archives
sometime in future will find the answer I get.
Can you use variables in the target of a GoTo() statement?
What I am specifically thinking of is this;
[from_some_source]
exten => s,1,AGI(look_up_stuff.agi,${CALLERID(num)},${EXTEN})
; this AGI script sets variables: next_context, next_ext, next_step
exten => s,n,GoTo(${next_context},${next_ext},${next_step})
Will this work? Does Asterisk evaluate expressions like this, or does it
expect literals?
--
AJS
Note: Originating address only a...