<!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.2900.2963" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Yes, I did check it. The asterisk.st1 is
running at /var/run folder, I tried to change to /var/run/asterisk/asterisk.ct1,
then I will have the error "<STRONG>Unable to connect to remote asterisk (does
/var/run/asterisk/asterisk.ctl exist?" </STRONG></FONT></DIV>
<DIV><STRONG><FONT face=Arial size=2></FONT></STRONG> </DIV>
<DIV><FONT face=Arial size=2>I thing it have something with the
permission. How can I check what user running under the php? How can
I specify the user for PHP? What user should I specify?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><FONT>My
</FONT><STRONG>/etc/asterisk/manager.conf</STRONG></FONT></FONT> <FONT
face=Arial size=2>has </FONT></DIV>
<DIV><FONT face=Arial size=2></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</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=aspendora@gmail.com href="mailto:aspendora@gmail.com">Lacy Moore -
Aspendora</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=asterisk-users@lists.digium.com
href="mailto:asterisk-users@lists.digium.com">Asterisk Users Mailing List -
Non-Commercial Discussion</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, October 25, 2006 11:34
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [asterisk-users] Asterisk
Manager</DIV>
<DIV><BR></DIV>
<DIV>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<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></BLOCKQUOTE>
<DIV> </DIV>
<DIV>Check to make sure the file is actually /var/run/asterisk.ctl and not
/var/run/asterisk/asterisk.ctl.</DIV><BR> </DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>--Bandwidth and
Colocation provided by Easynews.com --<BR><BR>asterisk-users mailing
list<BR>To UNSUBSCRIBE or update options visit:<BR>
http://lists.digium.com/mailman/listinfo/asterisk-users<BR></BLOCKQUOTE></BODY></HTML>