> ; > [general] > enabled = yes > port = 5038 > bindaddr = 0.0.0.0 > > [admin] > secret = secret > ;deny=0.0.0.0/0.0.0.0 > ;permit=209.16.236.73/255.255.255.0
Do this in manger.conf, where xxx.xxx.xxx.0 represents your network: [admin] secret = secret permit=xxx.xxx.xxx.0/255.255.255.0 read = system,call,log,verbose,command,agent,user write = system,call,log,verbose,command,agent,user To get the reload script running, you must allow apache (or the account apache runs under) to execute scripts. Therefore use visudo (in Fedora) to add the following line in /etc/sudoers apache ALL=(ALL) NOPASSWD: ALL To write the config files in /etc/asterisk with phpconfig.php you need to give apache the rights to do so. A simple chmod -R a+w /etc/asterisk should do the job. I know, there are more secure methods to do this, but it works for us. Guido Hecken _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
