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 wrote: > 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 w

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 wrote: > How to used it in AGI ? I think it's Dialplan apps. > > > On Thu, Jan 12, 2012 at 2:18 PM, Zohair Raza > wrote: > >> Hi, >> >> Try setting CDR(cl

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 wrote: > How to used it in AGI ? I think it's Dialplan apps.

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 wrote: > Hi, > > Try setting CDR(clid) > > Regards, > Zohair Raza > > > > > > On Thu, Jan 12, 2012 at 12:44 PM, virendra bhati wrote: > >> Hi, >> I am using phpagi for agi scripting. and want to updat

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 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 the code which

[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 answer(); $agi->verbose("--"); $agi-> exec('Set',"C