[asterisk-users] how to know status of asterisk from php

Juan David Diaz juanchonk at gmail.com
Wed Apr 27 10:13:38 CDT 2011


Hi:

http://php.net/manual/en/function.system.php

Then, the commands you shoul run:

/usr/sbin/asterisk -rnx"pri show spans"
/etc/init.d/asterisk status
/etc/init.d/mysql status
.
.
.
.
and so on!!

good luck!

Regards.

Juan.
Linux User #441131


On Wed, Apr 27, 2011 at 6:22 AM, virendra bhati <virbhati at gmail.com> wrote:

> Hi
>
> How to know status of Asterisk,Mysql. PRI lines and other services from PHP
> scripts ?
>
> ----
> Thanks and regards
>
>  Virendra Bhati
> +91-9172341457
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110427/9ff01e22/attachment.htm>


More information about the asterisk-users mailing list