(not logged in)
 
 
 
 

Telephony application code samples

Want to see what you can do with the telephony API? Here's a list of sample UAS ApplicationUAS Application implementations, which use a mix of telephony features.


Name Code Description

Quickstart

If you have enrolled and phoned your developer number, then this is the first application you tried which hosted on the Cloud rather than your own UAS. It is the default application that is assigned to your Inbound Service Entry when having enrolled. It will answer the phone, speak some text using Text-To-Speech (TTS) and then hang up.

UAS Connection Test

The first application you run while following the quickstart guide, running on your own UAS. This is essentially the same application as the Quickstart program above, but will confirm all connections are active, and will speak the hostname of your host machine. This also demonstrates how to pass parameters ("application parameters") to your application.

Inbound with TTS

A simple voice application, showing how to use TTS to say some text with an incoming call. A good starting point for an inbound voice messaging application or answering service.

Inbound Play Wav

Another inbound example, but rather than play TTS, plays a pre-recorded sound, hosted on the Aculab Cloud. Again another good starting point for an inbound voice messaging application or answering service.

Outbound Reminder

The first outbound example, which will contact a destination address, and say a line of text. The basis of any voice broadcast system.

Outbound Connect

An outbound application that makes calls to two destination addresses. It prompts the first call to record a message and plays this to the second call before tromboning the two calls together. It then waits for the calls to be hung up.

Pin Input

This telephony application asks the user to enter a four digit pin code, and will then repeat them. Useful to see how to do DTMF detection and processing as both play a central role in IVR and voicemail systems.

Transfer Menu

An inbound application that prompts the user to select a person to be transferred to. The target names (to be read out) and addresses (to be transferred to) are listed at service registration. A great starting point for an IVR application.

Add To Conference

A simple inbound conferencing application that prompts the user to enter a 4-digit pin that represents a conference. A number of additional conferencing features can then be added.

Connect To Conference

A simple inbound conferencing application that prompts the user to enter a 4-digit pin that represents a conference. A number of additional conferencing features can then be added.

Get (US) Weather

An inbound call application which answers the call, uses the keypad to enter a US Zip code, and will read out the weather for that particular location. A few Zipcode examples include, 90212 - Beverley Hills CA, 10036 - Times Square, NY, 33139 - South Beach, FL, 94129 - San Fransisco, CA, 20011 - Washington, DC.

Inbound Receive Fax

An inbound application that receives a fax and saves it to a .tif file.

Outbound Send Fax

An outbound application that formats a fax document from header and contents .tif files, adds pages numbers to it and sends it.