TeleStax.orgCommunity Documentation

Chapter 1. Introduction to RestComm

1.1. How it Works

RestComm is a turnkey Cloud Communications platform based on Open Source building blocks from the team behind Mobicents. Restcomm offers a clean room implementation of the Twilio.com APIs and much more.

Restcomm can be integrated with VoIP and legacy SS7 network providers either in the cloud or via on-premise Resource Adaptors.

In order to demonstrate how RestComm works we will go over an application that instructs RestComm to answer a phone call, say "Hello World" and finally hang up the call.

In this particular example, the first thing that must happen is that TelScale RestComm receives a call.

After TelScale RestComm can confirm that the call is destined for an application that it handles. TelScale RestComm calls out to your application for instructions on how to handle the new incoming call. Keep in mind that when TelScale RestComm calls out to your application it provides useful information such as from what number the call was dialed, to what number the call is destined, caller ID information, etc.

Once your application responds with instructions on how to handle the call, TelScale RestComm gets busy executing the provided instruction set.

		<Response>
		  <Say>Hello World!</Say>
		</Response>
		

In this case TelScale RestComm synthesizes the text to speech, says "Hello World!" to the caller and hangs up.

Keep in mind that before you continue you should configure your ASR, Fax, SMS, and TTS plugins in order to have everything function as you would expect it to.