Installing OpenVBX is quick and easy, just follow this five step guide to get up and running in no time.
- Web Server
- MySQL 5+
- PHP 5.2.3+
- Twilio Account
Download the latest release and unpack the source code into your webroot.
OpenVBX needs a database from either your hosting provider or your own web server. Please see your hosting provider's documentation on creating databases for more info.
Open your web browser and navigate to the URL of your OpenVBX installation. The installer will check that your system meets the minimum requirements and will configure your new phone system. You may have to adjust the permissions on the OpenVBX upload and configuration directories.
During the install process, you will be prompted for your Twilio API credentials. You can obtain your Account SID and Auth Token from your Twilio Dashboard. You must be logged into your Twilio account to access the dashboard. If you don't have a Twilio account register for a free trial.
Navigate to the URL of your OpenVBX installation and login using the account you created during the installation. Once you're logged in you'll be able to add users and groups to your new phone system. You can also add devices, provision phone numbers, configure voicemail, and design call flows.
That's it, you're all set.
OpenVBX is open source and extensible so feel free to skin it, hack it, and sell it!
OpenVBX does not function properly on GoDaddy without Mod Rewrite. Make sure that root directory of your OpenVBX install contains the .htaccess
file that was distributed with OpenVBX. If not, copy the htaccess_dist
file to .htaccess
.
Add this to the bottom of OpenVBX/config/config.php
:
$config['uri_protocol'] = 'REQUEST_URI';
$config['index_page'] = '';
If you're still having issues at this point, modify the IfModule mod_rewrite.c
section of your .htaccess
file to be the following:
RewriteEngine ON
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?$1 [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L,QSA]
ErrorDocument 404 /fallback/rewrite.php
Now that you've got a working installation you can:
- Extend OpenVBX by installing a plugin or writing your own - http://www.openvbx.org/plugins
- Scratch your own itch and help improve OpenVBX - http://www.openvbx.org/get-involved/
- Read the documentation - documents http://www.openvbx.org/docs
- Get support - http://getsatisfaction.com/openvbx
This page provides detailed information for each step of the OpenVBX install process.
OpenVBX requires the software listed below. It is all available for free and is open source. OpenVBX is supported and should run on all major linux distributions. OpenVBX may run on other platforms (namely Windows) but is currently unsupported.
- PHP version: We recommend PHP 5.2.3 or higher
- CURL support: OpenVBX requires CURL. If you don't meet this requirement, install the CURL module.
- Apache version: We recommend Apache version 2.2+. Earlier versions and other web servers may work, but are currently unsupported.
- MySQL support: We require MySQL version 5+.
- APC support (optional): APC is recommended and can be used for caching, but not required.
- Memcache support (optional): Memcache can be used for caching, but is not required.
- Config directory writable: The configuration directory must be writable by the user your webserver is running as for the OpenVBX installation to complete. The path to the configuration directory is
<webroot>/OpenVBX/config
. On unix systems you can adjust the permissions with thechown
andchmod
commands. - SimpleXML support: OpenVBX requires SimpleXML. If you don't meet this requirement, install the SimpleXML module.
- JSON support: OpenVBX requires JSON. If you don't meet this requirement install the JSON module.
- Upload directory writable: The upload directory must be writable by the user your webserver is running as for the OpenVBX installation to complete. The path to the configuration directory is
<webroot>/audio-uploads
. On unix systems you can adjust the permissions with thechown
andchmod
commands. - .htaccess File: OpenVBX works best with Mod Rewrite enabled. If you've uploaded the contents of OpenVBX using an FTP application then its possible that the .htaccess file was ignored. If the .htaccess file is missing from your install copy the
htaccess_dist
file to.htaccess
before beginning the install process. Some hosts do not run OpenVBX properly with Mod Rewrite disabled.
OpenVBX requires a MySQL database. You should create a database, and a user with permissions to access the database for OpenVBX. If you are running OpenVBX on a shared hosting environment, you may have to use the tools provided by your hosting provider to create a new database and database user.
- Hostname: In most cases this should be
localhost
. If your database server is on a machine other than your webserver, specify it's address here. - Username: The username to use when connecting to MySQL
- Password: The password to use when connecting to MySQL
- Database Name: The name of your OpenVBX database.
OpenVBX requires a Twilio account to enable provisioning phone numbers, sending and receiving voice calls, and sending and receiving SMS. If you don't have a Twilio account, register for a free trial.
- Twilio SID: This is your account identifier, it is unique to you and can be shared.
- Twilio Token: This is the key to your Twilio account, it is private and should not be shared.
If you plan on hosting multiple tenants on your install and would like each tenant's activity to be billed to their account instead of to your account you can set up a Connect Application via your Twilio Dashboard.
When creating your application use these settings:
- Friendly Name: Any name that makes sense to you.
- Company Name & Description: Optional. Anything that makes sense to you.
- Homepage URL & Authorize URL: The full url to your webroot. ie: http://example.org - these will be updated by OpenVBX during the install process.
- Deauthorize URL: Leave blank. This will be set by OpenVBX during install.
- Access Required: Select "Read all account data" & "Charge account for usage".
OpenVBX has the ability to send email notifications to users. This includes password reset emails, voicemail and SMS notifications, as well as notifications defined by plugins.
- From Email: This email address will be used in the from field of emails sent from your OpenVBX installation.
In order to administer your OpenVBX installation you'll need to create a user account. This is the account that will be used to manage your OpenVBX installation. This information can be updated later from within OpenVBX.
- Email: The email address to be associated with your OpenVBX admin account.
- Password: The password for your OpenVBX admin account.
- First Name: The first name of your OpenVBX administrator.
- Last Name: The last name of your OpenVBX administrator.