no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | developer_guide:voicexml_references:elements:subdialog [2015/10/27 21:45] (current) – created borja | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== < subdialog > ====== | ||
+ | ===== Description ===== | ||
+ | |||
+ | The < | ||
+ | |||
+ | ===== Syntax ===== | ||
+ | |||
+ | < | ||
+ | < | ||
+ | name=" | ||
+ | expr=" | ||
+ | cond=" | ||
+ | namelist=" | ||
+ | src=" | ||
+ | method=" | ||
+ | enctype=" | ||
+ | fetchaudio=" | ||
+ | fetchhint=" | ||
+ | fetchtimeout=" | ||
+ | maxage=" | ||
+ | maxstale=" | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ===== Attributes ===== | ||
+ | |||
+ | |name|The name attribute defines the name of the field item variable for the < | ||
+ | |expr|The expr attribute is the initial value of the form item variable. The < | ||
+ | |cond|The cond attribute is a Boolean expression that must evaluate to true for the < | ||
+ | |namelist|The namelist attribute is a space-separated list of variables to submit. This attribute is optional and defaults to nothing.| | ||
+ | |src|The src attribute is the URI of the < | ||
+ | |method|The method attribute specifies the query request method, get or post. This attribute is optional and defaults to get.| | ||
+ | |enctype|The enctype attribute defines the MIME encoding of the document. This attribute is optional and defaults to application/ | ||
+ | |fetchaudio|The fetchaudio attribute is the URI of the audio to play while waiting for the next document to be fetched.| | ||
+ | |fetchtimeout|The fetchtimeout attribute is the time interval to wait for the audio file to be fetched before playing the alternate content. This attribute is optional.| | ||
+ | |fetchhint|The fetchhint attribute defines when the audio file should be retrieved. | ||
+ | |maxage|The maxage attribute indicates the maximum time in seconds that this document will use this subdialog file before fetching another copy. This attribute is optional.| | ||
+ | |maxstale|The maxstale attribute indicates the maximum time in seconds that this document will use a subdialog file that exceeded the maxage time. This attribute is optional.| | ||
+ | |||
+ | ===== Parents ===== | ||
+ | |||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | ===== Children ===== | ||
+ | |||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | ===== Extensions ===== | ||
+ | |||
+ | < | ||
+ | None. | ||
+ | </ | ||
+ | |||
+ | ===== Limitations/ | ||
+ | |||
+ | < | ||
+ | The variables submitted to the < | ||
+ | </ | ||
+ | |||
+ | ===== Example Code ===== | ||
+ | |||
+ | The following is an example of a document that calls the < | ||
+ | < | ||
+ | <vxml version=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | Your account number is <value expr=" | ||
+ | Your phone number is <value expr=" | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | The following is an example of a document containing the < | ||
+ | < | ||
+ | <?xml version=" | ||
+ | <vxml version=" | ||
+ | < | ||
+ | <field name=" | ||
+ | < | ||
+ | </ | ||
+ | <field name=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | <return namelist=" | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ |