Use Case

A voicemail using a single communication engine

As all communication engines exposes APIs so they can be programmed  to perform specific service logic, this use case demonstrates how the the CPAAS-AEF can be used to build a voicemail application without having the need to rely on any other communication engine. CPAAS-AEF exposes enterprise Unified Communication APIs to embed Voice, Messaging and Presence services into business applications. It relies on SIP/RTP and SMPP communication protocols.

The CPAAS-AEF expose several families of APIs, for this use case, we are going to use:

As decribed in the diagram above, the voicemail application interacts with the CPAAS-AEF which abstracts the SIP and SMPP telecom interfaces towards the private or public telephone switch.

The voicemail service is composed from 2 main call flows, one for leaving a message to a subscriber currently not available to take a call, and the other for the subscriber to retrieve the messages left for him. This article does not refers to the way the message themselves are stored and it which format they are stored. Our aim here is to illustrate how a single communication engine can stand for itself without necessarily being a part of a workload.

Call Flow for leaving a message

Call Flow for retreiving a message

we use telecom protocol aware load balancers to distribute the traffic accross a  workload podss

What other engines can be used in a single or standalone mode?

Any API Exposure Functions can be used in a standalone mode and help you to develop an application in your preferred programming language using its swagger file (openAPI document). Full list of API Exposure Functions and their respective documentation can be found here.

More questions?