A Twilio customer came to us today with the following GNARLY nested Twilio Markup script. They ran it on our platform without any changes and were pleasantly surprised that their phone application could run on Teleku without being ported and that they also were able to interact with their TwiML application using speech recognition and even better sounding text-to-speech!
Here’s their TwiML example (with the names changed to protect the innocent):
<?xml version=”1.0” encoding=”UTF-8” ?>
<Response>
<Gather method=”POST” finishOnKey=”#” timeout=”5” action=”http://teleku.com/echo
“>
<Play>http://acme.com/menu1.mp3</Play>
<Play>http://acme.com/menu2.mp3</Play>
<Say language=”EN”>Chris Matthieu of Teleku</Say>
<Play>http://acme.com/menu3.mp3</Play>
<Play>http://acme.com/menu4.mp3</Play>
<Play>http://acme.com/menu5.mp3</Play>
<Play>http://acme.com/menu6.mp3</Play>
<Play>http://acme.com/menu7.mp3</Play>
<Play>http://acme.com/menu8.mp3</Play>
<Play>http://acme.com/menu9.mp3</Play>
<Say language=”EN”>If you would like to change your language</Say>
<Play>http://acme.com/menu10.mp3</Play>
<Play>http://acme.com/menu11.mp3</Play>
<Play>http://acme.com/menu12.mp3</Play>
<Say language=”EN”>To sign up other users</Say>
<Play>http://acme.com/menu13.mp3</Play>
<Play>http://acme.com/menu14.mp3</Play>
<Play>http://acme.com/menu15.mp3</Play>
<Play>http://acme.com/menu16.mp3</Play>
<Play>http://acme.com/menu17.mp3</Play>
</Gather>
<Redirect>http://teleku.com/echo</Redirect>
Let Freedom Ring!Team Teleku