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.
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.
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.”