Plum Fuse

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

VXML Subdialog

The VXML Subdialog module can be used to run custom VoiceXML code directly within your Fuse application. Please note that you will need to know VoiceXML to utilize the VXML Subdialog module. For a full reference of VoiceXML as related to the Plum DEV platform, as well as a tutorial to get you started in coding in VoiceXML, please see our Plum DEV documentation.

Notes and Controls

Front Panel Controls

  1. Click this button to display the module menu
  2. Click this Constant/Variable toggler to toggle between submitting a constant or a variable value for this parameter
  3. Enter the URL for your VXML subdialog script
  4. Select from this drop-down menu the method of how you want to send your variable(s) to your VoiceXML subdialog script
  5. Select from this drop-down menu whether you want to submit the variables to your VoiceXML subdialog script via HTTP or through the param tag.
  6. Enter the remote variable name that you want to send to your VoiceXML subdialog script
  7. Click this Constant/Variable toggler to toggle between submitting a constant or a variable value for this parameter
  8. Enter a variable in this combo box; the value of the variable will be assigned to the remote variable
  9. Click this add button to add another remote variable
  10. Click this remove button to remove a remote variable
  11. Enter the local variable to assign a Return variable being passed back from your VoiceXML subdialog script
  12. Enter the Return variable to pass back from your VoiceXML subdialog script to assign to your local variable
  13. Click this add button to add another local variable
  14. Click this remove button to remove a local variable

  1. Enter a variable in this combo box; the value of the variable should be the URL for your VoiceXML subdialog script
  2. Enter the value to assign to your remote variable

Menu Options

Event handling - Selecting this checkbox will enable nodes to handle events. For example, if there were any errors within your VoiceXML subdialog script or if the script was unavailable to fetch, the nodes can be used to handle these events.

Examples

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.

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