Asterisk cmd Vxml



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.conf.




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 “” 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.


exten => s,1,Answer
exten => s,n,Wait(1)
exten => s,n,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: Sat 24 of Jan, 2015 (00:21 UTC) by borja

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 -