thanks for reply.

> 
> > how can i give the root permission to 
apache ?
> 
> sudo.

i also tried sudo . 
> 
> However, without 
careful configuration you will probably be giving root 
> access 
to any process that runs as your apache user.
> 
> I've 
never done it, but I'm guessing you could create a group, make your 
>
 asterisk user and your apache user members of that group and protect 
>
 resources appropriately.
> 
> What are you trying to 
accomplish that you can't using AMI, querying a 
> database, 
creating a call file or parsing a log file?

>Alternatively, as of 
1.6.1 (or is it 1.6.2) you have CLI permissions.
>You can allow 
anybody to write to the socket, but only a limited set of
>commands to
 the user 'apache' or whatever. See
>/etc/asterisk/cli_permissions.conf
 .

i am using asterisk 1.6.2 but did't find /etc/asterisk/cli_permissions.conf.




-- 
_____________________________________________________________________
-- 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

Reply via email to