[asterisk-users] how to set callerid in php AGI file.

2012-01-12 Thread virendra bhati
Hi, I am using phpagi for agi scripting. and want to update callerid number but didn't get any success. please help me how to update PHPAGI is new for me. Below is the code which I write. #!/usr/bin/php -q ?php set_time_limit(30); //require(.phpagi.php.); include(phpagi.php); $agi = new AGI();

Re: [asterisk-users] how to set callerid in php AGI file.

2012-01-12 Thread Zohair Raza
Hi, Try setting CDR(clid) Regards, Zohair Raza On Thu, Jan 12, 2012 at 12:44 PM, virendra bhati virbh...@gmail.com wrote: Hi, I am using phpagi for agi scripting. and want to update callerid number but didn't get any success. please help me how to update PHPAGI is new for me. Below is

Re: [asterisk-users] how to set callerid in php AGI file.

2012-01-12 Thread virendra bhati
How to used it in AGI ? I think it's Dialplan apps. On Thu, Jan 12, 2012 at 2:18 PM, Zohair Raza engineerzuhairr...@gmail.comwrote: Hi, Try setting CDR(clid) Regards, Zohair Raza On Thu, Jan 12, 2012 at 12:44 PM, virendra bhati virbh...@gmail.comwrote: Hi, I am using phpagi for

Re: [asterisk-users] how to set callerid in php AGI file.

2012-01-12 Thread Zohair Raza
In phpagi $agi-set_variable(CDR(clid) ) and to get it $agi-get_variable(CDR(clid)) Regards, Zohair Raza www.zuhair.info *http://ae.linkedin.com/in/zuhairraza** *** On Thu, Jan 12, 2012 at 12:51 PM, virendra bhati virbh...@gmail.com wrote: How to used it in AGI ? I think it's

Re: [asterisk-users] how to set callerid in php AGI file.

2012-01-12 Thread Zohair Raza
Any variable can be set and get from agi CDR(clid) is a CDR variable Regards, Zohair Raza On Thu, Jan 12, 2012 at 12:51 PM, virendra bhati virbh...@gmail.com wrote: How to used it in AGI ? I think it's Dialplan apps. On Thu, Jan 12, 2012 at 2:18 PM, Zohair Raza engineerzuhairr...@gmail.com

Re: [asterisk-users] how to set callerid in php AGI file.

2012-01-12 Thread Zohair Raza
Phpagi also has predefined method $agi - set_callerid(); Regards, Zohair Raza On Thu, Jan 12, 2012 at 1:02 PM, Zohair Raza engineerzuhairr...@gmail.comwrote: Any variable can be set and get from agi CDR(clid) is a CDR variable Regards, Zohair Raza On Thu, Jan 12, 2012 at 12:51