Hi All,
Is it possible to access dialplan global variables from the AGI?
voip-info.org indicates that the GET VARIABLE
(http://www.voip-info.org/wiki/view/get+variable) command can't get them.
Is there another method?
(Besides manually parsing extensions.conf from within the AGI...)
I'm not sur
On Thu, 2006-07-27 at 19:02 -0400, Simon Austin wrote:
> Is it possible to access dialplan global variables from the AGI?
It certainly should be.
> voip-info.org indicates that the GET VARIABLE
> (http://www.voip-info.org/wiki/view/get+variable) command can't get them.
If you try it out and this
I have confirmed that GET VARIABLE doesn't return global variables in version 1.2.10 and submitted the following bug report:
http://bugs.digium.com/view.php?id=7609
Cheers,On 7/27/06, Russell Bryant <[EMAIL PROTECTED]> wrote:
On Thu, 2006-07-27 at 19:02 -0400, Simon Austin wrote:> Is it possible t
Worked on same version when I did it...using
PHP
- Original Message -
From:
Simon
Austin
To: Asterisk Users Mailing List -
Non-Commercial Discussion
Sent: Friday, July 28, 2006 3:52 PM
Subject: Re: [asterisk-users] accessing
dialplan global variables in agi
t;[EMAIL PROTECTED]> wrote:
Worked on same version when I did it...using
PHP
- Original Message -
From:
Simon
Austin
To:
Asterisk Users Mailing List -
Non-Commercial Discussion
Sent: Friday, July 28, 2006 3:52 PM
Subject: Re: [asterisk-users] accessi
- Simon Austin <[EMAIL PROTECTED]> wrote:
> I have confirmed that GET VARIABLE doesn't return global variables in
> version 1.2.10 and submitted the following bug report:
> http://bugs.digium.com/view.php?id=7609
I'm not sure if you have seen it, but I posted a patch to your bug report about
-Commercial Discussion
Sent: Friday, July 28, 2006 4:10 PM
Subject: Re: [asterisk-users] accessing
dialplan global variables in agi
I first tried using the perl AGI libraries, then when that
didn't work I tried using GET VARIABLE directly.The global variables
I'm talking
Russel, I did see your note. Thanks for the patch. I haven't had a
chance to apply it yet. I hope to apply it tommorow. I'll let you
know the results as soon as possible.
Thanks for your quick response. That was the fastest response to a bug fix request I've ever seen.
Cheers,
- SimonOn 7/2
Works fine for me with 1.2.10...
In fact, I've just started using environment variables set when Asterisk
is started, setting global variables and using them in my AGI's (written
in c).
Here's a snippet from my /etc/init.d/asterisk:
source /etc/asterisk/environment.sh
nice --