Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision | ||
installation_guide:asterisk:start [2016/09/09 13:43] – [Configuration example] borja | installation_guide:asterisk:start [2017/06/27 20:39] – [Variables] borja | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Asterisk integration ====== | + | ====== |
===== The Asterisk Module ===== | ===== The Asterisk Module ===== | ||
Line 138: | Line 138: | ||
- | ==== Variables | + | ==== Voximal variables |
Variables to set before or filled after the Vxml() execution : | Variables to set before or filled after the Vxml() execution : | ||
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 ===== | + | ==== Asterisk Global Variables |
+ | |||
+ | You can set and get variable at any moment from the VoiceXML syntax using the < | ||
+ | |||
+ | ** GET ** | ||
- | Example use with an URL parameter: | ||
< | < | ||
- | [incoming] | + | < |
- | exten => s,1,Answer | + | <block> |
- | exten => s,n,Wait(3) | + | < |
- | exten => s, | + | End of Transfer test <value expr=" |
- | exten => s,n,Hangup | + | </ |
+ | </ | ||
</ | </ | ||
- | Example to catch the Vxml() errors : | + | ** SET ** |
< | < | ||
- | exten => _X., | + | < |
- | exten => _X., | + | </ |
- | exten => _X., | + | |
- | exten => _X.,n,Busy() | + | |
- | exten => _X., | + | |
</ | </ | ||
+ | |||
===== Asterisk Online Help ====== | ===== Asterisk Online Help ====== | ||
Online help can be accessed by typing the following command at the CLI prompt: | Online help can be accessed by typing the following command at the CLI prompt: | ||
+ | |||
+ | < | ||
*CLI> help voximal | *CLI> help voximal | ||
+ | </ | ||
===== CLI Management Commands ====== | ===== CLI Management Commands ====== | ||
Line 298: | Line 304: | ||
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 / | Add extensions to the Asterisk dial plan / | ||
+ | |||
+ | Example use with an URL parameter: | ||
< | < | ||
- | exten => 888, | + | [incoming] |
- | exten => 888, | + | exten => 888, |
- | exten => 888, | + | exten => 888, |
+ | exten => 888, | ||
exten => 888, | exten => 888, | ||
+ | </ | ||
+ | |||
+ | Example to catch the Vxml() errors : | ||
+ | < | ||
+ | exten => _X., | ||
+ | exten => _X., | ||
+ | exten => _X., | ||
+ | exten => _X., | ||
+ | exten => _X., | ||
</ | </ | ||
Line 339: | Line 357: | ||
</ | </ | ||
+ | ===== Load Balancer ===== | ||
+ | |||
+ | Example using the Dialplan and 4 different accounts (with differents ASR and TTS ressources). | ||
+ | |||
+ | < | ||
+ | exten => s, | ||
+ | exten => s, | ||
+ | exten => s, | ||
+ | exten => s, | ||
+ | exten => s, | ||
+ | exten => s, | ||
+ | exten => s, | ||
+ | exten => s, | ||
+ | exten => s, | ||
+ | exten => s, | ||
+ | exten => s, | ||
+ | </ | ||
===== Troubleshooting (for Support) ===== | ===== Troubleshooting (for Support) ===== |