Noojee PBX includes a built in Scripting system that allows you to extend the functionalliy functionally of your Noojee PBX.
The Scripting system allows you to hook into a growing number of interface points within the system.
Current the following hooks are supported:
- Route Step Action Scripts
- Disposition Action Scripts
- Screen Layout Action Scripts
- Utility scripts
- System Startup Action Scripts
- API Action Script
We expect that over time the number of hooks points will expand.
...
The Scripting interface exposes an API that makes it easy to build more scripts including simple interfaces to allow end users to easily configure each script.
To create new scripts Scripts navigate to : Provision | Action Scripts
Overview
If you are not a programmer or at least a budding programmer you should now look the other way and pretend you never saw this page.
...
A Route Step also you can also provide a mini-UI which is displayed when your Route Step is used in a Call Route Step. The purpose of the mini-UI is to allow the user to select one or more parameters which are passed to your Route Step at run time.
Disposition Actions
Custom DAs can let you add advanced control logic around how a lead is processed. You might need to consult an external DB to see if a lead should be called again based on data entered by an agent.
Note: Noojee's Zapier integration allows you to trigger external actions as the result of a lead being dispositioned without having to right an Action Script.
Screen Layout Actions
Allow you to extend the Javascript you right in a Screen Layout to call into server side Java code. This can be necessary if you need to securely access a third party system and don't want access tokens exposed to Javascript. It also allows to take advantage of Java's more powerful programming constructs (not to mention the better error handling and compile errors rather than runtime errors).
Utility
A utility Action is a Java Class that can be used by any other Action type. This is really just a place to put common code.
System Startup Action
These actions are called whenever your PBX is restarted and allow you to do any startup processes such as scheduling recurring events.
Api Action Scripts
The Noojee API includes a method to directly call a special type of Action Script called an 'Api Action Script'
By calling an Api Action script you can trigger a route or call any of the exposed Action Script APIs.
The Api Action Script method accepts the name of script to run and a single argument which is passed to the action script as a string.
Versions
To make your life easier Noojee PBX supports the concept of having multiple version of a given Route Scripts only one of which is designated as the 'Active' script. This allows you to start working on a script without affecting how your PBX is operating until you are ready to deploy the new version of you Script.
...