2600hz: Difference between revisions
No edit summary |
No edit summary |
||
Line 76: | Line 76: | ||
Change Folder Name | Change Folder Name | ||
mv bluebox/ / | mv bluebox/ /var/www/localhost/htdocs/bluesbox | ||
Change Folder Persmissions | Change Folder Persmissions | ||
chmod -R 777 | chmod -R 777 /var/www/localhost/htdocs/bluesbox | ||
== Configuring bluesbox == | == Configuring bluesbox == |
Revision as of 11:20, 12 August 2010
== WORK IN PROGRESS
What is 2600hz?
2600hz is home to a collection of open-source telephony software that enables the use of the FreeSWITCH, Asterisk and YATE switching libraries. Initially built around the blue.box project, we aim to provide a collection of software to power your GUI, your cloud-based telephony switch and/or your monitoring and maintenance tool set.
Set up 2600hz bluesbox on Alpine Linux
This document will be a very quick c/p guide to setup 2600hz on Alpine linux. What we will setup is the following:
- Lighttpd with PHP
- Postgresql
- git
- 2600hz (bluesbox)
- Freeswitch
Install lighttpd, PHP and postgresql
apk add git lighttpd php php-iconv php-json php-gd php-curl php-xml php-pgsql php-imap php-pdo php-pdo_pgsql php-soap php-xmlrpc php-posix php-mcrypt php-gettext postgresql postgresql-client
Configuring Lighttpd
Edit lighttpd.conf
nano +46 /etc/lighttpd/lighttpd.conf
Uncomment line:
uncoment include "mod_fastcgi.conf", save and exit
Note: If you are using the Alpine ACF, change the lighttpd port:
nano +81 /etc/lighttpd/lighttpd.conf
uncomment and change the line to: server.port = 8080
Starting http service and adding to boot
/etc/init.d/lighttpd start && rc-update add lighttpd default
Configuring postgresql
/etc/init.d/postgresql setup
Starting http service and adding to boot
/etc/init.d/postgresql start && rc-update add postgresql default
Installing FreeSwitch
Installing Freeswitch
apk add freeswitch freeswitch-flite freeswitch-sounds-en-us-callie-8000 freeswitch-sample-config -U -X http://build.alpinelinux.org:8009/backports/1.10/ --allow-untrusted
Changing some permissions
chown lighttpd:lighttpd /etc/freeswitch/ chmod 777 -R /etc/freeswitch/
Starting
Starting http and sql server and adding to boot
/etc/init.d/postgresql setup /etc/init.d/postgresql start && rc-update add postgresql default /etc/init.d/lighttpd start && rc-update add lighttpd default
Installing 2600hz
Install 2600hz (bluesbox)
Download
cd /tmp git clone git://source.2600hz.org/bluebox.git bluebox/
Change Folder Name
mv bluebox/ /var/www/localhost/htdocs/bluesbox
Change Folder Persmissions
chmod -R 777 /var/www/localhost/htdocs/bluesbox
Configuring bluesbox
Log on your bluesbox
Browse to: http://WEBSERVER_IP_ADDRESS/bluesbox and start configuration.
- Welcome to Bluebox 1.0 Setup Wizard
Accept Terms and Conditions Next
- Initial Configuration
Select pqsl as database server, bluebox as database name, postgres as user, no password Set Default Timezone Next
- Create Main Administrator
Master Administration Account
Email Address:youremail@yourserver.net Password:adminpassword Confirm Password:adminpassword
Next
- Telephony Engine
In Telephony Configuration
Conf Directory: /etc/freeswitch
Global Sound File Directory: /usr/sounds
Next
Conflicting configuration files will be permanently erased if you continue!
Next
- Installation
Ready to Install
Next
After that you will see Click here to use Bluebox 1.0!
And you finish you Bluesbox installation.
Note: If you are using the Alpine ACF, or if you change the port in the lighttpd.conf file, the go to the port you set. e.g: if you set the port to 8080, then browse to: http://WEBSERVER_IP_ADDRESS:8080/bluesbox
Note: This documentation need some minor fixes.