The global variables I'm talking about are the globals that are defined in the dialplan under [globals]. Not the predefined channel variables ( e.g. CALLERID)
I confirmed that there was not something wrong with my code by correctly retrieving both som predefined channel variables and some local variables that I set using Set().
Can you please confirm that you're able to retrieve global variables set in the [globals] section of the dialplan?
Cheers,
- Simon
On 7/28/06, Don <[EMAIL PROTECTED]> wrote:
Worked on same version when I did it...using PHP----- Original Message -----From: Simon AustinSent: Friday, July 28, 2006 3:52 PMSubject: Re: [asterisk-users] accessing dialplan global variables in agiI 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 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 does not work, I would consider that a bug.
Feel free to report it on bugs.digium.com if that is the case.
--
Russell Bryant
Software Developer
Digium, Inc.
_______________________________________________
--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
_______________________________________________
--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
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/401 - Release Date: 7/26/2006
_______________________________________________
--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
_______________________________________________ --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
