Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
installation_guide:asterisk:start [2016/09/09 13:44] – [Examples] borja | installation_guide:asterisk:start [2017/06/27 20:40] (current) – [Asterisk Global 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. | ||
+ | ==== Asterisk global variables ==== | ||
+ | |||
+ | You can set and get variable at any moment from the VoiceXML syntax using the < | ||
+ | |||
+ | ** GET ** | ||
+ | |||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | End of Transfer test <value expr=" | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ** SET ** | ||
+ | |||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
Line 188: | Line 209: | ||
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 280: | 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 321: | 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) ===== |