> -----Original Message----- > From: Stefan Tichy [mailto:[EMAIL PROTECTED] > 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. _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users