O'Reilly logo

Definitive VoiceXML™ by David Cuddihy, Adam Hocek

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

2.10. Organizing code into VoiceXML applications

So far, we have authored VoiceXML documents that exercise a wide range of the language features. As the size and complexity of a voice application grows, it becomes impractical to store it entirely within a single document. We have already seen examples of this where one dialog references another with a <goto next="anotherdocument.xml"/> or <link next="destination.xml"/>.

The problem that arises here is that HTTP, the protocol by which a VoiceXML interpreter communicates with the server storing the VoiceXML documents, does not maintain state. Therefore any state information that may have been created during the interpreting of one VoiceXML document is lost as soon as the next document is loaded. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required