View Single Post
  #66  
Old 02-25-08, 12:19 PM
frontline frontline is offline
Senior Member
 
Join Date: Oct 2007
Posts: 106
multiple user access/web passwords
A couple of useful tweaks that work for me. First the dial plan for reminders can be modified to accommodate multiple users/passwords. In my case I allow users to access reminders using their voicemail password. That requires a one line change to the /etc/asterisk/extensions_custom.conf file. Edit that file:

nano -w /etc/asterisk/extensions_custom.conf

find the line under from-internal-custom that appears as

exten => 123,3,Authenticate(12345678)

and replace it with

exten => 123,3,vmauthenticate(${CALLERID(number)})

save the file and run "amportal restart" from the command line. Henceforth dialing 123 and entering a valid voicemail password will provide access to the reminder system.


Second, the excellent instructions at the "Best of" website tell how to setup password authentication for the web interface. Following those instructions you can add users to the list of authenticated web access users. To add a user find the line that appears

Require user wwwadmin maint

and add your users to that line.

e.g. it might become

Require user wwwadmin maint micky mouse

Then setup a proper password for users micky and mouse by executing from the unix command line something like this

htpasswd /usr/local/apache/passwd/wwwpasswd micky

enter the password for micky as prompted. Then repeat the command above for user mouse.

After these additions micky and mouse will be able to access the reminders web interface using the name/password combination you setup for them.

Last edited by wardmundy : 02-25-08 at 12:34 PM. Reason: added Best Of link
Reply With Quote