Plum Fuse

You are here: Plum Fuse Docs » module » VXML Subdialog

Differences

This shows you the differences between two versions of the page.

module:subdialog.0 [2014/01/31 15:45]
victor
module:subdialog.0 [2014/02/03 10:15] (current)
victor
Line 36: Line 36:
{{:module:subdialogexample.png|}} {{:module:subdialogexample.png|}}
-From this example, the Fuse application prompts the user to enter a 4-digit PIN on their phone keypad. Once the user enters 4 digits, the VoiceXML subdialog is called, with the Fuse application passing it a remote GET variable, userpin, via HTTP. For the subdialog, the script states the 4 digit input the user entered, the user's name, and the user's birthday. It then prompts the user to enter their 5-digit license number. Once the user enters a 5-digit number, the subdialog returns the variable, driverlicense, back to the Fuse application. The Fuse application then states the 5-digit license number that the user entered. +From this example, the Fuse application prompts the user to enter a 4-digit PIN on their phone keypad. Once the user enters 4 digits, the VoiceXML subdialog is called, with the Fuse application passing it a remote GET variable, userpin, via HTTP. For the subdialog, the script states the 4 digit input the user entered, the user's name, and the user's birthday. It then prompts the user to enter their 5-digit license number. Once the user enters a 5-digit number, the subdialog returns the variable, driverlicense, back to the Fuse application. The Fuse application then states the 5-digit license number that the user entered.
 +{{:module:subdialogexample2.png|}}
 +This example demonstrates the Event Handling feature of the VXML Subdialog module. If the Fuse application was unable to fetch the VoiceXML subdialog script or the VoiceXML subdialog script contained an error (e.g. a syntax error), the Fuse application would play the message, "Sorry, there was a technical difficulty. Please try your call again later." 
module/subdialog.0.txt · Last modified: 2014/02/03 10:15 by victor