Skip to content

voximplant/pbx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#VoxEngine scenarios for Cloud PBX functionality

This project lets developers implement Cloud PBX using the 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 a 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 to the Voximplant Control panel 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 the existing phone number using SIP or allow receiving SIP calls, you should authorize IP address/network used for that at Settings->Security->SIP White List