Hellos, I know this might be an easy one but either way I am stuck...I need to execute asterisk cli commands using php agi and get the output via the same script.
How to I execute let's say "show hints" and get the output back to the script? I have tried $agi->exec("show hints"); but I am getting the output below on the cli debug AGI Rx << EXEC show hints AGI Tx >> 200 result=-2 AGI Rx << VERBOSE "EXEC show hints returned -2" 1 AGI Tx >> 200 result=1 >From My understanding -2 means "failure to find application" What am I doing wrong? -- Best Regards, James Mutuku Ndeti Agile Systems Limited +254722490994 www.agile.co.ke mutuku.wordpress.com Has your organization implemented a customer relationship management (CRM)system? visit http://www.agile.co.ke/crm.php and find out how our CRM can help you achieve better customer satisfaction and sales
_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users