Vxml()
Synopsis
Execute a VoiceXML document over Asterisk (Based on the i6net VXI* VoiceXML browser).The application use Asterisk internal API (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 (use Dial/Transfer applications and to exchange with Asterisk function/variables too)
- Text To Speech (most TTS supported with HTTP connector, and Festival/Flite and unimrcp applications)
- Automatic Speech Recognition (Nuance, Lunenvox, Verbio, Vtech, VoiceInteraction, Vestec, PocketSphinx, use Asterisk Speech API or unimrcp )
- Accounts for hosting (ranges, url, stats, max limitations)
- FreePbx / Elastix / AsteriskNow Modules for web managment/configuration.
Configuration file
vxml.conf.
Asterisk config vxmld.conf.
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.
CLI commands
- vxml show version- vxml show license
- vxml show configuration
- vxml show statistics
Example
[incoming]exten => s,1,Answer
exten => s,n,Wait(1)
exten => s,n,Vxml(http://links.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