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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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


_______________________________________________
--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

Reply via email to