How To: Install Asterisk Voicemail GUI Centos vmail.cgi

Giving users the ability to check voicemail from a computer is a nice feature for many people. I don’t always set this up but it is helpful to do sometimes and very easy to do. First we need to take care of the prerequisites. Apache and perl have to be installed with some extra perl modules.
1. Use yum to install the prerequisites.
#yum -y install httpd perl perl-suidperl perl-Time-HiRes
2. Once you have those installed go to the asterisk source directory for example /usr/src/asterisk-1.4.30
#make webvmail
3. That will install a script in /var/www/cgi-bin which does not need to be modifed it will work as is just go to the following url. http://(ip address of your asterisk server)/cgi-bin/vmail.cgi
4. Enter in your voicemail box username and followed by the @ sign and the context that box is stored in your asterisk voicemail.conf file. Alternativly you can modify vmail.cgi to default to any context you would like just change the $context=””; to $context=”default”; or whatever context you use in asterisk.

Comments