Sunday, April 10, 2011

Asterisk GUI on Debian Squeeze

Installation of FreePBX has many dependencies and is a very involved install.  An alternative is to use Digium's Asterisk-GUI, which doesn't seem to install by default in Debian.

cd /usr/src
svn co http://svn.digium.com/svn/asterisk-gui/branches/2.0 asterisk-gui
cd asterisk-gui
./configure
make
make install
make checkconfig

*Need to fix http location:
mv /usr/share/asterisk/static-http /usr/share/asterisk/static-http_orig
ln -s /var/lib/asterisk-gui/static-http /usr/share/asterisk/static-http


*Need to enable Asterisk HTTP:
nano /etc/asterisk/http.conf
    -> enable, bind, enable static, etc.
nano /etc/asterisk/manager.conf
  [admin]
  secret=password
  read=system,call,log,verbose,command,agent,user,config,originate,read,write
  write=system,call,log,verbose,command,agent,user,config,originate,read,write


*Need to fix permissions on folders
  cd /var/lib
    chown asterisk asterisk -R
    chgrp asterisk asterisk -R

/etc/init.d/asterisk restart

http://localhost:8088/static/config/index.html
*password reset forced (hack /etc/asterisk/manager.conf & set to *not* "password" if necessary)

No comments:

Post a Comment