How to build a voice XML application

Interaction with the user using the voice recognition technology is provided by the VoiceXML (VXML). If you build an application using VXML the user can answer the prompts that are made by the system in audio and the system will collect the audio answers from the user and give responses according to the user's choice for the prompts. Although it looks like a high level interface, you can build a voice XML application with ease using the VoiceXML.

_______________________________________________


_______________________________________________

For example the following sample code will prompt the user to choose the city to which he is willing to travel.

<?xml version="1.0"?>
<vxml version="2.0">
<menu>
<prompt>
To which city do you want to travel <enumerate/>
</prompt>
<choice next="http://www.yoursite.com/chicago.vxml">
Chicago
</choice>
<choice next="http://www.yoursite.com/lasvegas.vxml">
Las Vegas
</choice>
<choice next="http://www.yoursite.com/newyork.vxml">
New York
</choice>
<noinput> To which city do you want to travel <enumerate/></noinput>
</menu>
</vxml>

The prompt tag in the above code prompts the user to choose one of the city to which he wants to travel. On choosing a city the user is redirected to another voicexml file based on his choice. Similar interactions can be done and you can build an voicexml application. For more information on the different tags available and some sample code you can refer to W3 voice guide

Brand-Building EmailWire.Com SEO Press Release Distribution Services on Retail Managers, Brand Building and Mobile ...
Houston - (EMAILWIRE.COM) Retail managers can now increase brand awareness, increase sales and better manage their stores - thanks to a pocket-sized computer mobile computer.

Managing and securing iOS 4 devices at work
As more iPhones go to work, IT shops have more options to handle them. Computerworld's Ryan Faas takes an in-depth look at those options.

New Alcatel-Lucent Book "The Shift" Maps the Future of Web 2.0 and the Role of Service Providers in it
Alcatel-Lucent today announced the book launch of The Shift: The Evolving Market, Players and Business Models in a 2.0 World. This powerful new book, which draws on a wealth of research and features a forward by Marshall Kirkpatrick of ReadWriteWeb, a leading mind in the application developer community, discusses how the emerging ecosystem of service providers, developers, advertisers, consumers ...



FREE Subscription

Subscribe to our mailing list and receive new articles
through email. Keep yourself updated with latest
developments in the industry.

Name:
Email:

Note : We never rent, trade, or sell my email lists to
anyone. We assure that your privacy is respected
and protected.

_______________________________________

Recommended XML Books

cover
cover
cover
cover
cover
cover






 

 

FREE Subscription

Stay Current With the Latest Technology Developments Realted to XML. Signup for Our Newsletter and Receive New Articles Through Email.

Name:

Email:

Note : We never rent, trade, or sell our email lists to anyone. We assure that your privacy is respected and protected.

 

 

Add to My Yahoo!


New XML Books Titles - Best Seller's @ Amazon.com

Visit XML Training Material Guide Homepage

Technology helps engage students - how do classroom instruction and social dynamics change when the classroom is completely dependant on modern technology?