installation_guide:tts_http:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
installation_guide:tts_http:start [2015/11/16 21:55] – created borjainstallation_guide:tts_http:start [2016/11/25 15:46] (current) borja
Line 1: Line 1:
 ====== HTTP/TTS Protocol ====== ====== HTTP/TTS Protocol ======
- 
-[[:vxi_installation_guide:start|Home]] > 
- 
 ===== Description ===== ===== Description =====
  
-The VoiceXML browser can connect to a TTS engine using HTTP.+The Voximal VoiceXML browser can connect to a TTS engine using HTTP.
 The HTTP protocol is used to transform the prompt text to an audio file. The HTTP protocol is used to transform the prompt text to an audio file.
 The audio file can be store in a cache directory in order to optimize the TTS ressources using. The audio file can be store in a cache directory in order to optimize the TTS ressources using.
Line 17: Line 14:
  
  
-===== VoiceXML Browser configuration =====+===== Voximal configuration =====
  
-The main TTS configuration is set in /etc/vxmld.conf, in the section "TTS server configuration", parameters prefix "client.prompt.resource.0."+The main TTS configuration is set in /etc/asterisk/voximal.conf, in the section "[prompt]:
  
   * **method** : When you set the 'method' with POST or GET the HTTP/TTS protocol is used to process <prompt> text contents. If you set the value ASTERISK, the VoiceXML browser will send the content to the Asterisk module (as a text/UTF8 or XML/UTF8 content).   * **method** : When you set the 'method' with POST or GET the HTTP/TTS protocol is used to process <prompt> text contents. If you set the value ASTERISK, the VoiceXML browser will send the content to the Asterisk module (as a text/UTF8 or XML/UTF8 content).
Line 35: Line 32:
  
 <code> <code>
-############################ 
-# TTS server configuration # 
-############################ 
  
-#client.prompt.resource.0.uri                VXIString   http://localhost/tts/flite/tts.php +[prompt] 
-#client.prompt.resource.0.uriVideo           VXIString   http://localhost/tts/video/ttv.php +api=microsoft 
-client.prompt.resource.0.method             VXIString   POST +method=POST 
-client.prompt.resource.0.cacheDir           VXIString   /tmp/cacheContent +ssml=
-client.prompt.resource.0.format             VXIString   wav +cutprompt=1 
-client.prompt.resource.0.formatVideo        VXIString   3gp +maxage=-1 
-client.prompt.resource.0.maxage             VXIInteger  -1 +key=xxxxxxxxxxxxxxxxxxxxxxxxx 
-client.prompt.resource.0.checkBreak         VXIInteger  0 +user=xxxxxxx 
-client.prompt.resource.0.cutPrompt          VXIInteger +password=xxxxxxx 
-#client.prompt.resource.0.api                VXIString   voxygen +
-#client.prompt.resource.0.user               VXIString   demo +
-#client.prompt.resource.0.password           VXIString   demo +
-client.prompt.resource.0.ssml               VXIInteger  0+
 </code> </code>
  
Line 61: Line 52:
 <property name="promptvoice" value="Poala"/> <property name="promptvoice" value="Poala"/>
 </code> </code>
 +
 ===== HTTP Parameters ==== ===== HTTP Parameters ====
  
  • installation_guide/tts_http/start.1447710905.txt.gz
  • Last modified: 2015/11/16 21:55
  • by borja