Cloud PBX scripts for VoxImplant
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md Update README.md Feb 12, 2014
pbx_in.js Fixed code formatting Feb 5, 2014
pbx_local.js Fixed code formatting Feb 5, 2014
pbx_out.js Fixed code formatting Feb 5, 2014

README.md

#VoxEngine scenarios for Cloud PBX functionality

This project lets developers implement Cloud PBX using VoxImplant platform. This README file describes how to use the provided VoxEngine scenarios and VoxImplant Application Rules to process calls according to standard PBX scenarios: IVR for incoming call, forwarding call to operators after greeting playback, calls between PBX extensions, calls from PBX extensions to phone numbers, call recording, etc. The only thing you need to start building your Cloud PBX is VoxImplant developer account, you can get it for free at https://voximplant.com/sign-up/

For this project we consider that:

  1. VoxImplant Application Users = PBX extensions
  2. PBX extensions can be registered using SIP or VoxImplant Web SDK
  3. Script modification is required if you want to forward incoming calls to real phone numbers instead of SIP/Web SDK
  4. Extensions that will be used as operators receiving incoming calls can be specified in configuration variable
  5. Incoming call forwarded to all operators simultaneously (in parallel) , the caller will be connected with the first operator who answers the call

This project contains 3 types of scenarios used for call processing:

  • pbx_in - script is used to process incoming calls.
  • pbx_local - script is used to process local calls between PBX extensions.
  • pbx_out - script is used to process outbound calls to PSTN.

Quickstart

After you successfully created and activated your VoxImplant developer account you need to login into VoxImplant admin interface and complete these steps to have your PBX up and running:

  1. Create 3 scenarios in Scenarios tab by copying and pasting the code provided ( pbx_in, pbx_local, pbx_out )
  2. Create couple of users in Users tab, please remember that they will be registered on VoxImplant as PBX extensions if you use SIP phones to make/receive calls
  3. Customize scenarios according to your requirements and users you created
  4. Create application in Applications tab and specify Rules for the application to launch scenarios according to the specified Rule's Pattern
  5. Register your SIP phones using users credentials you specified (2nd step), full username will look like sip:USERNAME@APPNAME.ACCOUNTNAME.voximplant.com. They should act like PBX extensions, so you should be able to make calls between extensions and to phone numbers at the moment.
  6. Depending on Rules you specified (4th step) you can also make a call to PBX from outside to test incoming call scenario. If you want to connect existing phone number using SIP or allow receiving SIP calls you should authorize IP address/network used for that at Settings->SIP