On 3 Sep 2009, at 08:01, James Mutuku wrote:
> 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

Use asterisk manager within the script.

$asm->command("show hints");

S

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

Reply via email to