Specifies general information about the VoiceXML document rather than the document's content. The <meta> element can specify a property of the document as a whole, or it can specify HTTP response headers.
Note: A <meta> element exists as well for SSML content (see SSML <meta>), and for grammars.
<meta
name="string"
http-equiv="string"
content="string"/>
|
|
Attribute |
Description |
|
name |
The name of the meta-data property. Exactly one of name or http-equiv must be specified. |
|
http-equiv |
The name of an HTTP response header. Not currently supported. Exactly one of name or http-equiv must be specified. |
|
content |
The value of the meta-data property. Required. |
error.badfetch is thrown if both name and http-equiv are specified.|
Name |
Description |
|
application |
Defines the name of the application for logging and billing purposes. |
|
callrequest |
If this property is set to
This property can also be used to support call redirection. For example:
|
|
maintainer |
The email address that log files will be sent to (if applicable). Note that emails are sent only when a session ends. when the VoiceGenie Media Platform is shut down, all unsent maintainer emails will be discarded. If the VoiceXML document contains multiple The maintainer content can be a space-separated list of recipients. For example: See the Debugging Tutorial for more details on using maintainer email. |
None
None
The http-equiv attribute is not currently supported.
<?xml version="1.0"?>
<vxml version="2.0" xmlns="http://www.w3.org/2001/vxml">
<meta name="maintainer" content="yourname@yourserver.com"/>
<property name="loglevel" value="3"/>
<form>
<block>
<prompt>
<!-- If you set the maintainer to your email address -->
<!-- You should get email because log can't be used within prompt -->
<log> INVALID LOG </log>
Hello, world!
</prompt>
</block>
</form>
</vxml>
|