[Asterisk-Users] Re: Executing a Function from AGI

Douglas Garstang dgarstang at oneeighty.com
Fri Jun 16 08:20:18 MST 2006


> -----Original Message-----
> From: Stefan Tichy [mailto:asterisk at pi4tel.de]
> Sent: Friday, June 16, 2006 7:26 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: [Asterisk-Users] Re: Executing a Function from AGI
> 
> 
> On Thu, Jun 15, 2006 at 03:21:32PM -0600, Douglas Garstang wrote:
> > I've tried this:
> > EXEC "Set" "DIALPATH=${DUNDILOOKUP(2944093|180net)}"
> > 
> > and also:
> > SET VARIABLE DIALPATH ${DUNDILOOKUP(2944093|180net)}
> > 
> > in both cases, DIALPATH is set to a literal 
> "${DUNDILOOKUP2944093|180net}"
> 
> "get full variable" evaluates a channel expression, but "set
> variable" cannot be used this way.
> 
> Use "GET FULL VARIABLE" to get the value and then use "SET VARIABLE"
> to store this value in the DIALPATH variable. 

Oh... Thanks... This doesn't seem to be documented anywhere.
Where did you find out about this?

Doug.



More information about the asterisk-users mailing list