i6net header image 5

Elements

ivan | General | Friday, January 25th, 2008

The following table lists the VoiceXML 2.0+ elements supported by the VXI* VoiceXML interpreter. Using these elements you can develop voice applications that are W3C compliant with the VoiceXML 2.0 and VoiceXML 2.1 specifications and run them.

Element Short Description Supported
<assign> Assigns a value to a variable. yes
<audio> Plays audio file to user. yes
<block> Allows execution of code within this item. yes
<catch> Handles (or catches) events. yes
<choice> Provides definition of a menu. yes
<clear> Clears or resets form items (form fields). yes
<data>    
<disconnect> Terminates application and hangup. yes
<else> Conditional code, associated with <if>. yes
<elseif> Conditional code, associated with <if> yes
<enumerate> Builds choice list. yes*
<error> Catches error event. yes
<exit> Terminates application but keep port alive. yes*
<field> Collects user input. yes
<filled> Defines code when user input complete. yes
<foreach>    
<form> Defines dialog for collecting user input. yes
<goto> Jumps to another dialog. yes
<grammar> Defines DTMF user input rules. yes
<help> Catches help event. yes
<if> Defines conditional code. yes
<initial> Defines prompt for initial form level input. yes
<link> Defines URL to go to when choice made. yes*
<log> Output debug message. yes
<menu> Dialog for selecting from fixed choices. yes
<meta> Defines page information. yes
<metadata> Defines page information. no
<noinput> Catches a user input timeout event. yes
<nomatch> Catches an invalid user input event. yes
<object> Executes an extension function. yes
<option> Defines a field selection. yes
<param> Defines parameter to subdialog or object. yes
<prompt> Defines output to be played to user. yes
<property> Allows internal setting to be configured. yes
<record> Makes user audio recording to file. yes
<reprompt> Re-asks for user input after prompting. yes
<return> Return from a subdialog. yes
<script> Executes ECMAScript (javascript) code. yes
<subdialog> Invokes another dialog and then returns. yes
<submit> Sends application values and gets new doc. yes
<throw> Generates an event to be handled by catch. yes
<transfer> Transfers the call. yes*
<value> Inserts value of variable into text. yes
<var> Declares a variable. yes
<vxml> Defines root element of document. yes

w3c

Please go to W3C to know more about the VoiceXML language at:
Voice Extensible Markup Language VoiceXML 2.0

9 Comments »

  1. The elements like and plays audio messages to the caller(the originating phone). Is there anything in vxml to play an audio message to the callee(the destination phone)?

    In asterisk, we can use the Dial application to announce a message to callee as mentioned below.

    exten => 789,2,Dial(SIP/123,20,A(/tmp/soundfile))

    Can something similar to be done using a vxml?

    Comment by lg_0811 — May 19, 2009 @ 5:47 am

  2. Sorry for the typo. The elements I reffered above are “audio” and “prompt”.

    Comment by lg_0811 — May 19, 2009 @ 5:50 am

  3. Yes, of course.
    You can connect a vxml application to an extension and play a message or get the caller_ID…but with vxml you can do much more complex things…

    Comment by ivan — May 19, 2009 @ 9:23 am

  4. Evan, could you please provide an example vxml that plays a message to the called destination?

    Comment by lg_0811 — May 20, 2009 @ 5:23 am

  5. Hi, I’m having trouble with the element. I get an error that says it is unknown. Is this element supported by the vxml browser?
    John

    Comment by john.ogara — August 17, 2009 @ 3:45 pm

  6. Hi John,
    What is the tag element you are testing or asking to be supported?
    Bests.

    Comment by ivan — August 17, 2009 @ 4:19 pm

  7. My apologies, I thought I had included it in my previous post. The data element is the one I’m asking about.
    John

    Comment by john.ogara — August 18, 2009 @ 9:55 am

  8. hi there,
    a simple question, the vxi for free download support dtfm modes? i cant improve more complex vxml than hello world with audio tag, so anybody got the same problem?

    Bests

    Comment by topsoluciones — November 13, 2009 @ 8:46 pm

  9. Yes of course, topsoluciones. VXI* free download support all dtfm modes managed by Asterisk.
    You can test any complex voice portal using many dtmf sessions.

    Comment by ivan — November 14, 2009 @ 1:23 pm

RSS feed for comments on this post. TrackBack URI

Leave a comment

You must be logged in to post a comment.

© 2009 I6NET Solutions and Technologies | Privacy | this website is powered by WordPress

About us: Technorati | Linkedin | TechCrunch
Follow us: RSS | Twitter | Facebook | Friendfeed | Flickr | Slideshare | Youtube
Links: Blog | Products | Support | Partners | Team | Company