Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| vxi_installation_guide:configuration:start [2015/06/05 18:27] – [General Section [general]] borja | vxi_installation_guide:configuration:start [2018/06/13 22:51] (current) – borja | ||
|---|---|---|---|
| Line 59: | Line 59: | ||
| |autoexit | yes/no | no | Stop the Asterisk with return code -1, if VXI interpreter no answer (msq timeouts). | | |autoexit | yes/no | no | Stop the Asterisk with return code -1, if VXI interpreter no answer (msq timeouts). | | ||
| |monitor | yes/ | |monitor | yes/ | ||
| - | |monitordirectory |directory|mixmonitor directory|Set the mixmonitor() monitor() directory or use the default one (/ | + | |monitordirectory |directory|mixmonitor directory|Set the mixmonitor() monitor() directory or use the default one (/ |
| |monitorformat |wav/ | |monitorformat |wav/ | ||
| |defaulttimeout |value in milisecondes|5000|Default timeout if not set in the VoiceXML syntax.| | |defaulttimeout |value in milisecondes|5000|Default timeout if not set in the VoiceXML syntax.| | ||
| Line 237: | Line 237: | ||
| ^Key ^Values ^Default ^Purpose | | ^Key ^Values ^Default ^Purpose | | ||
| - | |name | | | | | + | |name | string |
| - | |number | | | | | + | |number | number/ |
| - | |url | | | | | + | |url | URL | | The VoiceXML URL of the account. |
| - | |urlvideo | | | | | + | |urlvideo | URL | | The VoiceXML video URL of the account. |
| - | |max | | | | | + | |max | number |
| - | |dialformat | | | | | + | |dialformat | string |
| - | |dialformatvideo | | | | | + | |dialformatvideo | string empty | | The same purpose as the dialformat, only for video sessions. |
| - | |dialnumbersonly | | | | | + | |dialnumbersonly | yes/ |
| - | |force | y/n/ | + | |force | yes/nno/ |
| |videoprofile | | | | | |videoprofile | | | | | ||
| - | |speech | y/n/ | + | |speech | yes/no/ |
| - | |speechprovider | | | | | + | |speechprovider | string |
| - | |speechscore | | | | | + | |speechscore | | | As the general function, but for the account only. If not set, use the general value. |
| - | |speechfactor | + | |mark | string |
| - | |speechforcescore | | | | | + | |durationlimit | number |
| - | |speechforcename | | | | | + | |
| - | |mark | | | | + | |
| - | |durationlimit | | | | | + | |
| |maxtime | | | | | |maxtime | | | | | ||
| |param | | | | | |param | | | | | ||
| Line 265: | Line 262: | ||
| |audiowait | | | | | |audiowait | | | | | ||
| - | ===== LogsSection [logs] ===== | + | ===== LogsSection [logs] |
| ^Key ^Values ^Default ^Purpose | | ^Key ^Values ^Default ^Purpose | | ||
| Line 276: | Line 273: | ||
| - | ===== License Section [license] ===== | ||
| - | |||
| - | The following section covers license information and keys of Vxi. | ||
| - | To obtain a commercial valid license key for your copy of VoiceXML browser (for use more than one session), you should run asterisk and get your code by typing the following commands: | ||
| - | |||
| - | < | ||
| - | *CLI> vxml show license | ||
| - | </ | ||
| - | |||
| - | Default License section (no key) allow to run any VoiceXML application with one free port. | ||
| - | |||
| - | Example: | ||
| - | < | ||
| - | [license] | ||
| - | max=1 | ||
| - | key= | ||
| - | </ | ||
| - | |||
| - | Example: | ||
| - | < | ||
| - | [license] | ||
| - | max=30 | ||
| - | key=yourkey | ||
| - | </ | ||
| - | |||
| - | ===== Account Section [account_] ===== | ||
| - | |||
| - | The Vxi VoiceXML browser is designed to manage hosted VoiceXML services and share different applications thru different Inbound / Outbound phone lines. This will allow you to manage customers’ accounts for VoiceXML hosted applications and control easily the capacity you need to assign to each one. | ||
| - | |||
| - | To create accounts, you need to add an [accountX] section (where “X” is a number | ||
| - | |||
| - | Examples: | ||
| - | |||
| - | < | ||
| - | [account1] | ||
| - | name=voiceportal1 | ||
| - | local=0099090 | ||
| - | url=http:// | ||
| - | max=25 | ||
| - | |||
| - | [account2] | ||
| - | name=helloworld | ||
| - | local=0099090 | ||
| - | url=http:// | ||
| - | max=10 | ||
| - | |||
| - | [account3] | ||
| - | name=localservice | ||
| - | local=0099090 | ||
| - | url=http:// | ||
| - | max=51 | ||
| - | </ | ||
| - | |||
| - | The account properties are defined within sections. | ||
| - | |||
| - | < | ||
| - | [account1] | ||
| - | name=example | ||
| - | number=*3 | ||
| - | url=http:// | ||
| - | urlvideo=http:// | ||
| - | max=5 | ||
| - | speech=no | ||
| - | dialformat=SIP/ | ||
| - | dialformatvideo=SIP/ | ||
| - | </ | ||
| - | |||
| - | ** name= {string}** | ||
| - | |||
| - | This function indicates the name or designation of the account. | ||
| - | |||
| - | **number= {called number}** | ||
| - | |||
| - | This function allows the identification of an account with the called number, signaling information from the ANI function, CALLERID(). | ||
| - | There is a way to ) | ||
| - | |||
| - | **url= {voicexml URL}** | ||
| - | |||
| - | This function indicates the VoiceXML URL of the account. | ||
| - | |||
| - | **urlvideo= {voicexml URL}** | ||
| - | |||
| - | This function defines the Video VoiceXML URL of the account. The call is identified as a video call by the set codecs or the function CHANNEL(transfercapability)=VIDEO. | ||
| - | |||
| - | **max= {0…120}** | ||
| - | |||
| - | This indicates the maximum number of sessions allowed to this account. If there are not enough sessions then the VoiceXML application will generate an error. | ||
| - | |||
| - | **dialformat= {application(]/ | ||
| - | |||
| - | This is similar to the general function, but for the account only. If not set, use the general value. | ||
| - | |||
| - | **dialformatvideo= {application(]/ | ||
| - | |||
| - | This function has the same purpose as the dialformat, only for video sessions. | ||
| - | |||
| - | **force= {video/ | ||
| - | |||
| - | If set to video, set the Transfercapability to VIDEO (and enable the h324m processing). | ||
| - | If set to audio, the Vxml application execute directly the account URL and bypass the redirection execution (parameter with ' | ||
| - | |||
| - | **speech= {yes/ | ||
| - | |||
| - | This speech function is as the general function, but for the account only. If not set, use the general value. | ||
| - | |||
| - | **speechprovider= {lumenvox/ | ||
| - | |||
| - | This speech function is as the general function, but for the account only. If not set, use the general value. | ||
| - | |||
| - | **speechscore= {0..100}** | ||
| - | |||
| - | This speech function is as the general function, but for the account only. If not set, use the general value. | ||
| - | |||
| - | **speechforcedscore= {0..100}** | ||
| - | |||
| - | This speech function is as the general function, but for the account only. If not set, use the general value. | ||
| - | |||
| - | **mark= {string/ | ||
| - | |||
| - | Set a string mark in the VoiceXML browser traces. The session ID and this string will be added to the channel number column (3rd) in the traces (Example : ...|33|... → ...|33_1_user1|... ). | ||
| - | Four redirection exist : | ||
| - | |||
| - | @remote : caller number | ||
| - | @local : called number | ||
| - | @id : VoieXML id parameter value | ||
| - | @param : VoiceXML parameter value | ||
| - | **durationlimit= {0…}** | ||
| - | This indicates the maximum duration in seconds for the session using this account. The call will be hangup after this maximal duration. | ||
| ===== Configuration example ===== | ===== Configuration example ===== | ||