[Asterisk-Users] Executing a Function from AGI

2006-06-15 Thread Douglas Garstang
Hmmm. Not having much luck with this. I'm trying to call the DUNDILOOKUP function and assign it to a variable in an AGI script. I've tried setting with EXEC CMD and with SET VARIABLE. In both cases, it's treating DUNDILOOKUP literally, rather than calling a funciton. I've tried this: EXEC "Set"

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

2006-06-15 Thread Alexander Lopez
What is you AGI written in?? > -Original Message- snip > 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-u

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

2006-06-15 Thread Douglas Garstang
isk Users Mailing List - Non-Commercial Discussion > Subject: RE: [Asterisk-Users] Executing a Function from AGI > > > What is you AGI written in?? > > > -Original Message- > snip > > Doug. > ___ > --Bandwidt

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

2006-06-15 Thread Douglas Garstang
ect: [Asterisk-Users] Executing a Function from AGI > > > Hmmm. Not having much luck with this. I'm trying to call the > DUNDILOOKUP function and assign it to a variable in an AGI script. > I've tried setting with EXEC CMD and with SET VARIABLE. In > both cases,

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

2006-06-15 Thread Time Bandit
I'm getting nowhere with this. Is it even possible to set a variable to the result of a function call in AGI??? > SET VARIABLE DIALPATH ${DUNDILOOKUP(2944093|180net)} > > in both cases, DIALPATH is set to a literal > "${DUNDILOOKUP2944093|180net}" > > What am I doing wrong here? You are telli

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

2006-06-16 Thread Douglas Garstang
> -Original Message- > From: Time Bandit [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 15, 2006 4:49 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [Asterisk-Users] Executing a Function from AGI > > > > I'm getti