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"?> 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
|
|
|||
|
||||
“Amazon and the Amazon logo are trademarks of Amazon.com, Inc. or its affiliates.”
Copyright - © 2004 - 2019 - All Rights Reserved.