[asterisk-users] Problem with AGI Script
Chris Blunt
chris.blunt at entropy-it.com
Mon Nov 19 05:00:36 CST 2007
Hello,
I had a similar problem with a PHP AGI script. I'm not sure if it's a bug
or what, but it seems the new way of setting variables is an application, no
way could I get it to work.
In the end I set a user defined variable in the AGI like this: write("SET
VARIABLE myvariable");
Then in the dial play did something like Set(CALLERID(number)=${myvariable})
It may not be the most elegant solution but it works fine for me.
Chris
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Eric
"ManxPower" Wieling
Sent: 18 November 2007 16:48
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Problem with AGI Script
didier wrote:
> Callerid(number) ? or callerid(num) ?
Grasshopper, you will find many answers you seek by looking in
/path/to/src/asterisk-1.4/doc/channelvariables.txt
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list