[asterisk-users] extension status using AMI

2012-05-24 Thread Kamlesh Kumar
Hi, I'm using AMI to get the extension status but always get -1 i.e. extension not found. #!/usr/bin/php -q ?phpinclude_once (phpagi-2.14/phpagi.php); include_once (/phpagi-2.14/phpagi-asmanager.php); $agi = new AGI(); $as = new AGI_AsteriskManager(); $exten =

Re: [asterisk-users] extension status using AMI

2012-05-24 Thread Arstan Jusupov
Why don't you use AMI? There's are phpami project if you google. Sent from my iPhone On May 25, 2012, at 1:51 AM, Kamlesh Kumar kamlesh_...@hotmail.com wrote: Hi, I'm using AMI to get the extension status but always get -1 i.e. extension not found. #!/usr/bin/php -q ?php