Esto es sacado del Handbook Wiki de asterisk@home:
Con esto se consigue que al poner la IP de asterisk en el navegador pida el nombre de usuario y la contraseña.
The Asterisk@Home splash page is the first thing that appears in your browser when you browse to your asterisk@home's IP address. This splash page was added in Asterisk@Home to make it easier to jump to different services that are running.
The splash page contains:
+ Web-access to Voicemail
+ CRM
+ Flash Operator Panel
+ Web MeetMe Control
+ Asterisk Management Portal
It wouldn't be a bad idea to place a password on this page to stop any "curious" employees. The idea behind it this requiring Apache (the web server doing all the heavy lifting for us in CentOS) to get a login and password from a user browsing to the Asterisk@Home Splash Page. Use your own user name instead of "NewUserName".
htpasswd /usr/local/apache/passwd/wwwpasswd NewUserName
(Apache will prompt you for a new password)
New password:
(Apache will prompt you to retype your new password)
Re-type new password:
(Apache will then confirm the new user)
Adding password for user NewUserName
Now you have to add the user name you've just created to the "httpd.conf" file. To edit that file in "nano" type:
nano /etc/httpd/conf/httpd.conf
Now do a CTRL-W to search for "AuthUser" and you'll find the area where all the users are listed (for example: "maint", your AMP user). Now add the following lines:
#Password protect the Asterisk@Home Splash Page /var/www/html
<Directory /var/www/html>
AuthType Basic
AuthName "Restricted Area"
AuthUserFile /usr/local/apache/passwd/wwwpasswd
Require user NewUserName1 NewUserName2 NewUserName3 yaddayaddayadda
</Directory>
To delete an Apache user, type in the following and then remove the user from the "httpd.conf" file.
htpasswd -D /usr/local/apache/passwd/wwwpasswd NewUserName
Then reboot the machine (maybe you just need to stop and start Apache? -ginellipan)
reboot