Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| installation_guide:configuration_file_voximal:start [2016/01/18 21:57] – borja | installation_guide:configuration_file_voximal:start [2016/12/02 15:20] (current) – [License Section [license]] borja | ||
|---|---|---|---|
| Line 139: | Line 139: | ||
| |audiowait | file | empty | Plays this file and waits for a free VoiceXML channel. | | |audiowait | file | empty | Plays this file and waits for a free VoiceXML channel. | | ||
| |mrcpsynthparams | string | empty | Add extra parameters for the MRCPsynth application (volume, keep session...) | | |mrcpsynthparams | string | empty | Add extra parameters for the MRCPsynth application (volume, keep session...) | | ||
| + | |console | yes/no| empty | Enable the console log output of the interpreter, | ||
| ===== License Section [license] ===== | ===== License Section [license] ===== | ||
| Line 168: | Line 169: | ||
| |max|number of channels|1|Max number of VoiceXML channels for this license.| | |max|number of channels|1|Max number of VoiceXML channels for this license.| | ||
| |texttospeech|yes/ | |texttospeech|yes/ | ||
| - | |video |yes/ | + | |speech |yes/ |
| - | |speech |yes/ | + | |
| - | |dialer |yes/ | + | |
| - | |voicexml|yes/ | + | |
| |expiration|date YYMMDD| |Optional expiration date of the license| | |expiration|date YYMMDD| |Optional expiration date of the license| | ||
| |key|License key| |Key after purchasing a official commercial license. If not set or wrong key, you have 1 trial VoiceXML channel.| | |key|License key| |Key after purchasing a official commercial license. If not set or wrong key, you have 1 trial VoiceXML channel.| | ||
| + | |||
| + | ===== Synthesis Section [prompt] ===== | ||
| + | |||
| + | The configuration of the Speech To Text connector. | ||
| + | |||
| + | ^Key ^Values ^Default ^Purpose | | ||
| + | |api|api protocol|(empty)|HTTP protocol to use (defaule, Voximal, Microsoft, IBM/ | ||
| + | |uri|http uri|local PicoTTS|HTTP uri local or remote server.| | ||
| + | |||
| + | ===== Recognize Section [recognize] ===== | ||
| + | |||
| + | ^Key ^Values ^Default ^Purpose | | ||
| + | |api|api protocol|(empty)|HTTP protocol to use (defaule, Voximal, Microsoft, IBM/ | ||
| + | |uri|http uri|local PicoTTS|HTTP uri local or remote server.| | ||
| ===== Control Section [control] ====== | ===== Control Section [control] ====== | ||
| Line 269: | Line 281: | ||
| |split | | | | | |split | | | | | ||
| - | ===== Configuration example ===== | ||
| - | |||
| - | Example: | ||
| - | |||
| - | < | ||
| - | ; VoiceXML Configuration | ||
| - | ; | ||
| - | [general] | ||
| - | wav_codec=gsm | ||
| - | videosilence=; | ||
| - | audiosilence=; | ||
| - | debug=4 | ||
| - | video=yes | ||
| - | |||
| - | [license] | ||
| - | max=100 | ||
| - | key=… | ||
| - | |||
| - | [account1] | ||
| - | name=Test1 | ||
| - | url=http:// | ||
| - | max=1 | ||
| - | |||
| - | [account2] | ||
| - | name=Test2 | ||
| - | url=http:// | ||
| - | max=3 | ||
| - | dialformat=SIP/ | ||
| - | </ | ||
| - | |||
| - | To assign an extension to a VXML account just follow this example, where we are assigning the previous account to three extensions number in your / | ||
| - | |||
| - | < | ||
| - | [default] | ||
| - | |||
| - | exten => 981001001, | ||
| - | exten => 981001002, | ||
| - | exten => 981001003, | ||
| - | </ | ||
| - | |||
| - | NOTE: | ||
| - | When you update your voximal.conf file, remember to refresh configuration making a command “voximal reload” in your CLI*> prompt. If you have added SIP, PRI or new extensions you must launch “sip reload”, “extensions reload”, “dialplan reload” or reload asterisk/ | ||
| - | |||
| - | < | ||
| - | CLI*> diaplan reload | ||
| - | CLI*> voximal reload | ||
| - | CLI*> voximal show accounts | ||
| - | </ | ||
| - | |||
| - | Example: | ||
| - | |||
| - | Add extensions to the Asterisk dial plan / | ||
| - | |||
| - | < | ||
| - | exten => 888, | ||
| - | exten => 888, | ||
| - | exten => 888, | ||
| - | exten => 888, | ||
| - | </ | ||
| - | |||
| - | You can create and edit the file / | ||
| - | |||
| - | This example will work if you have text-to-speech configured. | ||
| - | |||
| - | < | ||
| - | <?xml version=" | ||
| - | <vxml version = " | ||
| - | < | ||
| - | < | ||
| - | </ | ||
| - | </ | ||
| - | </ | ||
| - | |||
| - | Save the file in the same directory as the VoiceXML script (relative reference in this example). | ||
| - | Reload the extensions configuration with: | ||
| - | |||
| - | < | ||
| - | *CLI> extensions reload | ||
| - | </ | ||
| - | |||
| - | Call the service by calling: | ||
| - | |||
| - | < | ||
| - | SIP: | ||
| - | </ | ||