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

Matt Riddell lists at venturevoip.com
Thu Apr 28 16:07:04 CDT 2011


On 28/04/11 10:53 PM, virendra bhati wrote:
> Hi,
>
> I am running this script from wabsite and want to make it just like
> FreePBX show status information of  Asterisk, mysql etc.
>
> *Asterisk is running as root* at my end.
>
> When I start script from command prompt then I am getting error message..
>
> [root at cent68 mtnl]# php temp.php
> PHP Parse error:  syntax error, unexpected ',' in
> /var/www/html/mtnl/temp.php on line 3
>
> Parse error: syntax error, unexpected ',' in /var/www/html/mtnl/temp.php
> on line 3

You have an error on line 3 of your code - probably somewhere around the 
comma.

-- 
Cheers,

Matt Riddell
_______________________________________________

http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/exchange.php (Full ITSP Solution)
http://www.venturevoip.com/cc.php (Call Centre Solutions)



More information about the asterisk-users mailing list