1

I want to read a dynamic number of products from a textfile. Then i want to use all these products in my voicexml file.

(use: in a menu for example)

How can I do this?

Is it good to create for each product a form? Or is it better to put all products in an external grammar file? an use those in the .vxml file?

are there any ideas?

thanks in advance

Tyzak
  • 2,430
  • 8
  • 38
  • 52

1 Answers1

2

There are a few choices, but all involve adding an application server to the equation.

  1. Generate your VoiceXML page with JSP or ASP and use the implementation language to read the file.
  2. Implement as a servlet (more or less same as #1)
  3. Use the VoiceXML Data element to request the list from an application server as XML. The VoiceXML document can then use Javascript to piece through the data or directly play using the foreach element to enumerate over the values.
Jim Rush
  • 4,143
  • 3
  • 25
  • 27
  • I use an MS Speech Server, there is a "Microsoft Office Communication Server 2007 - Speech Server" is this the application server that I need? – Tyzak Jan 07 '11 at 08:44
  • @Tyzak: Sorry. I haven't worked with that communications suite enough to outline all of the components in the stack. And, I believe the name has changed as it's now part of Lync. This http://msdn.microsoft.com/en-us/library/gg448066.aspx shows a logical overview of the architecture and clues to the components, but it doesn't sufficiently explain the necessary product components. – Jim Rush Jan 07 '11 at 12:24