Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
vxi_installation_guide:management:start [2015/02/03 21:28] – [Management Commands] borja | vxi_installation_guide:management:start [2015/02/25 21:23] – borja | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== Management ====== |
===== Getting Started ===== | ===== Getting Started ===== | ||
Line 112: | Line 112: | ||
After execution, the VoiceXML result of < | After execution, the VoiceXML result of < | ||
- | Example: | + | |
+ | ** VXML_ERROR ** | ||
+ | |||
+ | After execution, the VoiceXML application notify the error cause, if the VoiceXML session cannot be launched. | ||
+ | |||
+ | * VXML_ERROR=(empty) ; No error occurs. | ||
+ | * VXML_ERROR=INITALISATION ; Session refused, Asterisk module not connected to the VoiceXML browser. | ||
+ | * VXML_ERROR=LICENSE ; Session refused, license locking | ||
+ | * VXML_ERROR=ACCOUNT_LIMIT ; Session refused, max session for the account reached. | ||
+ | * VXML_ERROR=SPEECH ; Session refused, cannot allocate the Speech (ASR) ressource. | ||
+ | * VXML_ERROR=TTY/ | ||
+ | * VXML_ERROR=BILLING ; Session refused, billing interface refuse the session. | ||
+ | * VXML_ERROR=INTERPRETER ; Session refused, critical error with the VoiceXML browser connection. | ||
+ | |||
+ | |||
+ | Example | ||
< | < | ||
[incoming] | [incoming] | ||
Line 121: | Line 136: | ||
</ | </ | ||
+ | Example to catch the Vxml() errors : | ||
+ | < | ||
+ | exten => _X., | ||
+ | exten => _X., | ||
+ | exten => _X., | ||
+ | exten => _X., | ||
+ | exten => _X., | ||
+ | </ | ||
===== Asterisk Online Help ====== | ===== Asterisk Online Help ====== | ||
Line 216: | Line 239: | ||
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: | + | ===== VoiceXML example ====== |
Add extensions to the Asterisk dial plan / | Add extensions to the Asterisk dial plan / | ||
< | < | ||
Line 226: | Line 250: | ||
You can create and edit the file / | You can create and edit the file / | ||
+ | |||
+ | < | ||
+ | # vi / | ||
+ | </ | ||
NOTE: | NOTE: | ||
Line 231: | Line 259: | ||
This example will work if you have text-to-speech configured. | This example will work if you have text-to-speech configured. | ||
< | < | ||
- | < | + | <?xml version=" |
+ | <vxml version = " | ||
+ | < | ||
+ | | ||
+ | </ | ||
+ | </vxml> | ||
</ | </ | ||
- | |||
Save the file in the same directory as the VoiceXML script (relative reference in this example). | Save the file in the same directory as the VoiceXML script (relative reference in this example). | ||
+ | |||
Reload the extensions configuration with: | Reload the extensions configuration with: | ||
- | *CLI> extensions reload | + | |
+ | < | ||
+ | CLI> extensions reload | ||
+ | </ | ||
Call the service by calling: | Call the service by calling: | ||
Line 255: | Line 291: | ||
/ | / | ||
</ | </ | ||
- | |||
- | **Core files** | ||
- | |||
- | Collected files should be sent by email to Technical Support (support@i6net.com). | ||
**Log Files** | **Log Files** | ||
Line 310: | Line 342: | ||
- An Apache/PHP script exists generate the traces from a standard Internet browser (Internet Explorer, Mozilla/ | - An Apache/PHP script exists generate the traces from a standard Internet browser (Internet Explorer, Mozilla/ | ||
- At the end of the trace record, don’t forget to stop it to recover optimal real time function. With the V4.x release, you can dynamically enable/ | - At the end of the trace record, don’t forget to stop it to recover optimal real time function. With the V4.x release, you can dynamically enable/ | ||
- | |||
- | Simple traces for the VoiceXML development: | ||
- | < | ||
- | *CLI> vxml debug interpreter dev | ||
- | </ | ||
Full traces: | Full traces: | ||
< | < | ||
- | *CLI> vxml debug interpreter | + | *CLI> vxml debug interpreter |
</ | </ | ||
Line 324: | Line 351: | ||
< | < | ||
*CLI> vxml no debug interpreter | *CLI> vxml no debug interpreter | ||
- | </ | ||
- | |||
- | Restore the log traces: | ||
- | < | ||
- | *CLI> vxml debug interpreter log | ||
</ | </ | ||