installation_guide:asterisk: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
Next revisionBoth sides next revision
installation_guide:asterisk:start [2016/09/09 13:43] – [Configuration example] borjainstallation_guide:asterisk:start [2016/09/09 13:47] – [Asterisk integration] borja
Line 1: Line 1:
-====== Asterisk integration ======+====== Voximal Asterisk integration ======
  
 ===== The Asterisk Module ===== ===== The Asterisk Module =====
Line 183: Line 183:
   * VOXIMAL_ERROR=INTERPRETER ; Session refused, critical error with the VoiceXML browser connection.   * VOXIMAL_ERROR=INTERPRETER ; Session refused, critical error with the VoiceXML browser connection.
  
-===== Examples ===== 
  
-Example use with an URL parameter: 
-<code> 
-[incoming]  
-exten => s,1,Answer  
-exten => s,n,Wait(3)  
-exten => s,n,Voximal(http://localhost/vxml/index.vxml) 
-exten => s,n,Hangup 
-</code> 
- 
-Example to catch the Vxml() errors : 
-<code> 
-exten => _X.,1,Voximal() 
-exten => _X.,n,NoOp(${VOXIMAL_ERROR}) 
-exten => _X.,n,GotoIf($["${VOXIMAL_ERROR}" == ""]?hangup) 
-exten => _X.,n,Busy() 
-exten => _X.,n(hangup),Hangup() 
-</code> 
  
 ===== Asterisk Online Help ====== ===== Asterisk Online Help ======
Line 298: Line 280:
 The following entries are the Asterisk CLI commands for the VoiceXML browser. The following entries are the Asterisk CLI commands for the VoiceXML browser.
  
-===== Example ======+===== Examples =====
  
 Add extensions to the Asterisk dial plan /etc/asterisk/extensions.conf: Add extensions to the Asterisk dial plan /etc/asterisk/extensions.conf:
 +
 +Example use with an URL parameter:
 <code> <code>
-exten => 888,1,Answer +[incoming]  
-exten => 888,n,Wait(3) +exten => 888,1,Answer  
-exten => 888,n,Voximal(file:///root/example.vxml)+exten => 888,n,Wait(3)  
 +exten => 888,n,Voximal(http://localhost/vxml/index.vxml)
 exten => 888,n,Hangup exten => 888,n,Hangup
 +</code>
 +
 +Example to catch the Vxml() errors :
 +<code>
 +exten => _X.,1,Voximal()
 +exten => _X.,n,NoOp(${VOXIMAL_ERROR})
 +exten => _X.,n,GotoIf($["${VOXIMAL_ERROR}" == ""]?hangup)
 +exten => _X.,n,Busy()
 +exten => _X.,n(hangup),Hangup()
 </code> </code>
  
  • installation_guide/asterisk/start.txt
  • Last modified: 2017/06/27 20:40
  • by borja