Which API is appropriate for me?
When writing voice and fax applications you use one of two APIs, REST or UAS. Your choice of API determines how your applications connect to Aculab Cloud. Here are some features and implications of using each API:
If you want to:
- Write your application as a series of web pages
- Write in PHP, Python, Java, C#, VB, C++ or any other scripting language
- Let Aculab Cloud handle the complexity of advanced features
See how easy it is:
- Take a look at the REST API Code Bites.
In more detail:
- You host your application in a 3rd-party web server (e.g. IIS, Apache, Tomcat ...) or your own web server.
- You configure Outbound and Inbound Services in Aculab Cloud to call the First Page of your application when a call is received or a call is made.
- Aculab Cloud sends an HTTP/HTTPS request containing JSON information. You can use any language to interpret and respond to these requests, or download one of our easy to use language wrappers.
- Your pages send back HTTP/HTTPS responses containing JSON representing a series of high-level telephony actions for Aculab Cloud to perform, such as playing a file or asking a question and prompting for a response, and any further pages to request.
- Advanced features such as Call Recording and Far-end Classification (also known as Answering Machine Detection) are implemented by Aculab Cloud and you just switch them on when configuring your services.
If you want to:
- Write your application in a single class
- Write in Python, C#, VB, C++
- Programmatically access all of the features of Aculab Cloud
See how easy it is:
- Take a look at the UAS Code Bites.
In more detail:
- You download a UAS package for your chosen language and install and run it on your platform.
- You install your applications in your UAS and configure Outbound and Inbound Services in Aculab Cloud to call your applications by name when a call is received or a call is made.
- Your applications direct Aculab Cloud to handle the call, make new calls and perform call processing, such as playing a file or asking a question and prompting for a response.
- Advanced features such as Whole Call Recording and Live Speaker Detection (also known as Answering Machine Detection) are controlled by your application using the high-level Object Oriented API.