<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><br>thanks for reply.<br><br>> <br>> > how can i give the root permission to
apache ?<br>> <br>> sudo.<br><br>i also tried sudo . <br>> <br>> However, without
careful configuration you will probably be giving root <br>> access
to any process that runs as your apache user.<br>> <br>> I've
never done it, but I'm guessing you could create a group, make your <br>>
asterisk user and your apache user members of that group and protect <br>>
resources appropriately.<br>> <br>> What are you trying to
accomplish that you can't using AMI, querying a <br>> database,
creating a call file or parsing a log file?<br><br>>Alternatively, as of
1.6.1 (or is it 1.6.2) you have CLI permissions.<br>>You can allow
anybody to write to the socket, but only a limited set of<br>>commands to
the user 'apache' or whatever. See<br>>/etc/asterisk/cli_permissions.conf
.<br><br>i am using asterisk 1.6.2 but did't find /etc/asterisk/cli_permissions.conf.<br><br><br></td></tr></table><br>