Difference between revisions of "Telephone scripts"

From Hackerspace ACKspace
Jump to: navigation, search
(moved telephone scripts to separate pages)
m (linked back to Telephone system)
Line 1: Line 1:
 +
These are scripts used by the [[Telephone system]].
 +
 
=== Number lookup ===
 
=== Number lookup ===
 
This script uses mod_cidlookup combined with a custom php page.
 
This script uses mod_cidlookup combined with a custom php page.
Line 4: Line 6:
 
The script is called both on outgoing and incoming calls
 
The script is called both on outgoing and incoming calls
  
View the scripts at [[Telephone system:Number lookup]]
+
View the scripts at [[Telephone system:Number lookup]] active in ACKspace.
  
 
=== Simple intercom ===
 
=== Simple intercom ===

Revision as of 13:01, 23 September 2012

These are scripts used by the Telephone system.

Number lookup

This script uses mod_cidlookup combined with a custom php page. It tests the number against a mySQL database, several reversed number lookup websites, the national telecommunications authority database and a coarse array of areas of the world, which are called in order of grannularity. The script is called both on outgoing and incoming calls

View the scripts at Telephone system:Number lookup active in ACKspace.

Simple intercom

This is a dialplan sample of using the secondary phone line put on auto answer, and bridge them in a conference call.

View the dialplan at Telephone system:Simple intercom

Space state

This script sets the spacestate variable according to what the webservice API returns. It then can be used in the dialplan to, for example, play a sound file or do call forwarding. Currently it is used to build a sound phrase for playing it as a greeting within our IVR

View the dialplan at Telephone system:Space state

Closing announcement

This collection of scripts was used to broadcast (closing) announcements using cron jobs

View the scripts at Telephone system:Closing announcement

Betamax credit notification

This collection of scripts is used to say the amount of credit left on one of the Betamax services (tested with VoipBuster and InterVoip). It is an altered version of a php script.

View the scripts at Telephone system:Betamax credit