<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1561" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Dear Friends and Supporters!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I try to write a php application to monitor the
asterisk, but when I open the .php to access to asterisk to retrieve the
information about the queues status, sip show peers, realtime mysql status
etc... However, It just return to me "<STRONG>Unable to connect to remote
asterisk (does /var/run/asterisk.ctl exist?)"</STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Asterisk is current running with the a file in
/var/run/asterisk.ctl for the user asterisk. I have set asterisk to be the
owner of the folder /var/run, and start asterisk with user is asterisk.
HTTPD is run under asterisk user. My manager.conf has an
entry.</FONT></DIV>
<DIV><FONT face=Arial size=2>[admin]<BR>secret =
password<BR>deny=0.0.0.0/0.0.0.0<BR>permit=127.0.0.1/255.255.255.0<BR>read =
system,call,log,verbose,command,agent,user<BR>write =
system,call,log,verbose,command,agent,user<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>However, my php still unable to retrieve the
information for asterisk. </FONT></DIV>
<DIV><FONT face=Arial size=2>Did I miss somethings?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Your help would be very appreciated!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Lan</DIV></FONT></BODY></HTML>