It allows retail facing businesses to quickly and easily let their customers sign up for customer care programs using their cell phone, then uses text messaging to send coupons back to the customers. It’s free and open source, and it runs today on Tropo.
Thomas indicates he’ll be doing a series of screencasts, the first two of which are out already. He has also made the source code available over on Github and included an architecture diagram to show how the pieces all fit together.
The first screencast introduces the Mobile Mail List application:
If you would like to try out Thomas’ app yourself, you can download the Mobile Mail List software and then use it with your Tropo.com account (which is free if you haven’t created one yet) as well as your own web server.
It’s cool to see and we’re looking forward to seeing the other screencasts Thomas creates!
In the previous weeks, Jason Goecke made a post regarding how to use Tropo’s Simple Grammar Engine to do some trivial voice recognition in your applications. In today’s blog, I will be showing you how to take that a step further, and implement some industry standard grammars and interpretation mechanisms. These grammar types will allow Tropo to utilize the same advanced level of speech recognition you might use or expect in VoiceXML applications today.
Before we get started with the examples, here is a list of the types of grammars (and return styles) which will be available to you:
GSL syntax is not considered to be a W3C-compliant syntax for grammars, and Nuance has discontinued support for GSL grammars in their most recent product offerings. Tropo will continue to support GSL-specific markup for some time to come, but it is strongly suggested that new applications and their associated grammars leverage the SRGS + SISR grammar syntaxes instead of being reliant upon the deprecated GSL grammar format.
The above being said, the example I will be showing you in this post will be Tropo utilizing an SRGS grammar with SISR returns. This is 100% W3C compliant, and is the industry standard for grammar development. Let’s start with our grammar:
Those of you familiar with grammars will likely notice this structure. If not, a great place to get started is here. The above grammar accepts the following utterances:
Red Sox, Boston Red Sox, Yankees, or New York Yankees
Based on the team you choose, you will get some information back about the team. Specifically, the value you would like returned for the team, the league they play in, their division, and standing. The grammar is quite simple, and I made it this way to illustrate the concept of using external grammars with your Tropo applications. Feel free to go as crazy as you want with these grammars.
How does one tie this grammar into a Tropo application? It’s easy! Let’s take a look at a basic Ruby app:
Notice when we declare our choices within “options”, I simply reference the remote destination of my SRGS/GRXML grammar with SISR returns. As soon as the prompt starts, we should be able to say any of the above utterances. When the result comes back, you can get the slot values (team,division,standing,etc) by accessing them directly:
That’s it! At this point, you should have the information needed to start developing your own Tropo applications with powerful voice recognition capability. If you have any questions at all, feel free to contact our free 24×7 Support team! We are more than happy to help you with any issues you may encounter!
Recently we did an upgrade to the Tropo platform that included the requirement to include a ‘+’ whenever making an outbound call from the Tropo cloud. This means that when dialing a number, even in the US, you must now format as ‘+14155551212’ when using the call or transfer method.