vxi_installation_guide:freepbx:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
vxi_installation_guide:freepbx:start [2015/02/10 19:12] – [VoiceXML Module] borjavxi_installation_guide:freepbx:start [2017/07/31 16:17] (current) – ↷ Links adapted because of a move operation javier
Line 1: Line 1:
 ====== FreePBX ====== ====== FreePBX ======
  
-[[:vxi_installation_guide:start|Home]] >+[[vxi_installation_guide:start|Home]] >
  
  
Line 32: Line 32:
  
 The FreePBX integration is only available for **V12** and after VXI* VoiceXML browser releases. The FreePBX integration is only available for **V12** and after VXI* VoiceXML browser releases.
-===== Module installation =====+===== VoiceXML Module installation =====
  
 NOTE: NOTE:
Line 80: Line 80:
   * **Threshold** : Adjust the sensibility of the VoiceActivityDetection used by the VoiceXML module.   * **Threshold** : Adjust the sensibility of the VoiceActivityDetection used by the VoiceXML module.
   * **WAV default codec** : When the VoiceXML browser set encoding "audio/x-wav", define the codec used with the Wav Contener.   * **WAV default codec** : When the VoiceXML browser set encoding "audio/x-wav", define the codec used with the Wav Contener.
-  * **Debug** : Enable the VoiceXML logs (for the VoiceXML Asterisk Module, and for the VoiceXML browser with verbosity DEV). +  * **Debug** : Enable the VoiceXML logs (for the VoiceXML Asterisk Module, and for the VoiceXML browser with verbose DEV). 
   * **Priority Events** : If mixed DTMF grammars with single DTMF keys and long DTMF inputs, set if after the first digits (events) the VoiceXML should return a value or if it should wait for possible long length input.   * **Priority Events** : If mixed DTMF grammars with single DTMF keys and long DTMF inputs, set if after the first digits (events) the VoiceXML should return a value or if it should wait for possible long length input.
   * **Dial format** : String format parameter to set the asterisk Dial() parameter with the <transfer> destination attribute. Example: SIP/%s@sip_trunk.   * **Dial format** : String format parameter to set the asterisk Dial() parameter with the <transfer> destination attribute. Example: SIP/%s@sip_trunk.
Line 118: Line 118:
 ===== Configuration example ===== ===== Configuration example =====
  
-Create new VoiceXML application.+=== Add a VoiceXML application === 
 Select Menu Application and item VoiceXML. Select Menu Application and item VoiceXML.
 Fill the Application form like this : Fill the Application form like this :
Line 125: Line 126:
 {{:vxi_installation_guide:freepbx:12_voicexml_add_application_filled.png?640|}} {{:vxi_installation_guide:freepbx:12_voicexml_add_application_filled.png?640|}}
  
-To be able to execute The VoiceXML Application, you can set use a Misc Application to define a Feature Code to be able to call this service locally from any Extension Phone. Another way is to define in a SIP trunk configuration to set the VoiceXML application too.+The VoiceXML browser will play the audio file message.wav (in the same folder). In this example, the audio content is ​an english message. 
 + 
 +<code> 
 +<?xml version="1.0"?> 
 +<vxml version = "2.0" xmlns="http://www.w3.org/2001/vxml"> 
 +  <form> 
 +    <block> 
 +      <prompt> 
 +        <audio src="message.wav"/> 
 +      </prompt> 
 +    </block> 
 +  </form> 
 +</vxml> 
 +</code> 
 + 
 +Download : 
 +[[http://​links.i6net.com/​index.vxml|index.vxml]] 
 +[[http://​links.i6net.com/​message.wav|message.wav]] 
 + 
 +To be able to execute The VoiceXML Application,​ you can set use a Misc Application to define a Feature Code to be able to call this service locally from any Extension Phone. Another way is to define in a '​Trunk'​ and use the '​Inbound route' ​ with '​Destination'​ set to the VoiceXML applicatiion.on. 
 + 
 +=== Add a Misc application === 
 + 
 +To be able to execute The VoiceXML Application, you can set use a Misc Application to define a Feature Code to be able to call this service locally from any Extension Phone.  
 +Select the privous VoiceXML application added. 
 +Another way is to define in a SIP trunk configuration to set the VoiceXML application too. 
  
 {{:vxi_installation_guide:freepbx:14_add_misc_application_filled.png?640|}} {{:vxi_installation_guide:freepbx:14_add_misc_application_filled.png?640|}}
 +
 +=== Call the VoiceXML application ===
 +
 +Apply the configuration modifications and call the 9999 from your phone extension.
 +
 +{{:vxi_installation_guide:freepbx:eyebeam.png|}}
 +
 +=== Debug the VoiceXML application ===
 +
 +With the VoiceXML Log Files you can access to the VoiceXML browser logs (to enable it you need to enable 'Debug' in the 'VoiceXML settings').
 +
 +{{:vxi_installation_guide:freepbx:15_voicexml_log_files.png?640|}}
 +
  • vxi_installation_guide/freepbx/start.1423595550.txt.gz
  • Last modified: 2017/07/28 22:29
  • (external edit)