Asterisk cmd Vxml

Vxml()

Synopsis

Execute a VoiceXML URL (Based on the i6net VXI* VoiceXML browser).
The application use Asterisk internal interfaces (Prompt / DTMF / Record) and installed applications .

Features :
- Audio (play and record gsm, wav, WAV files)
- Video (play and record h263, mp4, 3gp files)
- DTMF (bargein support)
- Transfer (used to exchange with Asterisk too)
- Text To Speech (supported by the browser, most TTS supported)
- ASR (Lunenvox, Verbio, Vtech, VoiceInteraction and uniMRCP)
- Accounts for hosting (ranges, url, stats)

Configuration file vxml.cfg.


Description

Vxml(url)

Variables

If the variable VXML_URL(or VXML_URL2) has been set when vxml is run, the value of that variable will be used as the URL if not parameter is set to the application.
If the variable VXML_ID has been set when vxml is run, the VoiceXML session ID variable called “telephone.id” is set with this value (in the VoiceXML execution session context).
If the variable VXML_PARAM has been set when vxml is run, the value of that variable will be used as “telephone.param” (in the VoiceXML execution session context.

After execution, the VoiceXML result passed with the <exit> tag and the property ‘expr’ is accessible with the variable VXML_RESULT.


Example

[incoming]
exten => s,1,Answer
exten => s,n,Wait(1)
exten => s,n,Vxml(http://vxml.i6net.com/index.vxml)
exten => s,n,Hangup

VoiceXML Examples

Download the VoiceXML examples from the i6net web site : (Examples).
- Helloworld
- MP3 streaming
- Record and send by mail
- Games
- ...

Return codes

Always returns 0.


Asterisk | Configuration | The Dialplan - extensions.conf | Dialplan Commands

Created by: i6net, Last modification: Fri 26 of Feb, 2010 (21:53 UTC)


Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+

Page Changes | Comments

 

Featured -

Search: