<meta>

Description

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.

Syntax

<meta
    name="string"
    http-equiv="string"
    content="string"/>

Attributes

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.

Attribute Notes

Meta-data Properties

Name

Description

application

Defines the name of the application for logging and billing purposes.

callrequest

If this property is set to decline in the first page being fetched when a call is made, the call will not be answered.  Otherwise, the call will be answered.  If this property is set in any subsequent pages fetched during the call, it will have no effect.

 

This property can also be used to support call redirection.  For example: <meta name="callrequest" content="redirect;phone://4167360905"/>


Note: If you are calling into a Developer platform with an extension, setting this property to decline in the first page of the associated application will have no effect, since a VoiceXML page that collects the extension input is always fetched first.

 

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 <meta> tags with name="maintainer", the content of the first tag will be used; subsequent tags will be ignored.

The maintainer content can be a space-separated list of recipients.  For example:
<meta name="maintainer" content="email1@yourserver.com email2@yourserver.com email3@yourserver.com"/>
(A single email in this case; all the recipients will be specified in the To: header of the email.)

See the Debugging Tutorial for more details on using maintainer email.

Parents

Vxml

Children

None

VoiceGenie Extensions

None

Limitations/Restrictions

Example

<?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>