Tropo Series: Creating a Voicemail Application with Tropo – That simple really?

I’m a bit surprised and impressed on the capabilities of Tropo, and this small post will show you why.

Here is a quick and short tutorial on how to create a Voicemail application at the Tropo site

The Code [PYTHON]

Here is the sample code in Python, I believe this one is more readable for me… JavaScript is the next best option

record(“Please leave your message at the beep. Press pound when finished to listen to your recording.”, {
“beep”:true,
“timeout”:10,
“silenceTimeout”:7,
“maxTime”:60,
“terminator”:”#”,
“recordURI”:”http://www.example.com/recording.py”,
“transcriptionOutURI”:”mailto:you@example.com”,
“onRecord”: lambda event : say(“You said ” + event.recordURI)
})

The Code [JAVASCRIPT]

record(“Please leave your message at the beep. Press pound when finished when finished to listen to your recording.”, {
beep:true,
timeout:10,
silenceTimeout:7,
maxTime:60,
terminator:’#’,
recordURI:”http://example.com/recording.js”,
transcriptionOutURI: “mailto:you@example.com”,
onRecord: function(event) {
say(“You said ” + event.recordURI);
}
});

My take

This is by no means a replacement for Unity Connection as a Voicemail server, which it does way more than this small Tropo application, but it is a great solution

About the Author:

Andres Sarmiento, CCIE # 53520 (Collaboration)
With more than 13 years of experience, Andres is specialized in the Unified Communications and Collaboration technologies. Consulted for several companies in South Florida, also Financial Institutions on behalf of Cisco Systems. Andres has been involved in high-profile implementations including Cisco technologies; such as Data Center, UC & Collaboration, Contact Center Express, Routing & Switching, Security and Hosted IPT Service provider infrastructures.

You can follow Andres using Twitter, LinkedIn or Facebook

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top