Changeset 13778
- Timestamp:
- 03/07/12 16:56:16 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
contributed_modules/modules/texttospeech/README
r13763 r13778 3 3 ############################################################################ 4 4 5 Original Author: _xo_ - Xavier Ourciere xourciere[at]propolys[dot]com 6 Original Release: 2006-07-06 7 8 Current Modder: JakFrost 9 10 Discussion Thread: http://www.freepbx.org/forum/freepbx/development/texttospeech-module-updated-need-a-little-help-and-advice 11 12 Original Ticket: http://www.freepbx.org/trac/ticket/1012 13 14 Contributed Modules: http://www.freepbx.org/support/documentation/module-documentation/third-party-unsupported-modules 15 Direct Mirror: http://mirror.freepbx.org/modules/release/contributed_modules/ 5 Original Author: _xo_ - Xavier Ourciere (Orig Release: 2006-07-06) 6 Previous Modder: JakFrost (Last Updated on 2009-11-25, v1.3.1.3) 7 8 Current Maintainer: Paul White (phwhite <at> gmail <dot> com) 9 10 Contributed Modules Documentation: 11 http://www.freepbx.org/support/documentation/module-documentation/third-party-unsupported-modules 12 13 Contributed Modules Direct Mirror: 14 http://mirror.freepbx.org/modules/release/contributed_modules/ 16 15 17 16 ============================================================================ … … 387 386 388 387 ---------------------------------------------------------------------------- 388 1.3.1.4 - 2012-03-02 - Paul White [phwhite <at> gmail <dot> com] 389 ---------------------------------------------------------------------------- 390 391 - Fixed #5648: When using a Text-To-Speech destination in aother module such 392 as an IVR, FreePBX notices would be created complaining that the 393 destinations used were invalid. 394 395 396 397 ---------------------------------------------------------------------------- 389 398 1.3.1.3 - 2009-11-25 - JakFrost 390 399 ---------------------------------------------------------------------------- contributed_modules/modules/texttospeech/functions.inc.php
r13763 r13778 12 12 $debug = false; 13 13 14 // Asterisk Context Prefix 15 $context_prefix = 'ext-texttospeech-'; 16 14 17 // Asterisk Lib Folder Get 15 18 $astvarlib_path = $asterisk_conf['astvarlibdir']; … … 30 33 // Destinations Array Return 31 34 function texttospeech_destinations() { 32 33 $context_prefix = 'ext-texttospeech-'; 34 35 global $context_prefix; 35 36 foreach( texttospeech_list() as $row ){ 36 37 $destinations[] = array( 'destination' => $context_prefix . $row['id'] . ',s,1', 'description' => $row['name'] ); … … 43 44 function texttospeech_get_config( $pbx ) { 44 45 46 global $context_prefix; 45 47 global $ext; 46 48 … … 52 54 53 55 case "asterisk": 54 55 $context_prefix = 'ext-texttospeech-';56 57 56 foreach( texttospeech_list() as $entry ) { 58 57 … … 210 209 } 211 210 212 211 // Get Destination 212 function texttospeech_getdest( $id ) { 213 global $context_prefix; 214 215 return array($context_prefix.$id.',s,1'); 216 } 217 218 // Get Destination Info 219 function texttospeech_getdestinfo( $dest ) { 220 global $context_prefix; 221 222 if (substr(trim($dest),0,strlen($context_prefix)) == $context_prefix) { 223 $id = explode(',', $dest); 224 $id = substr($id[0], 17); 225 226 $thisid = texttospeech_get($id); 227 if (empty($thisid)) { 228 return array(); 229 } 230 else { 231 return array('description' => sprintf(_("TTS: %s"), $thisid['name']), 232 'edit_url' => 'config.php?display=texttospeech&type=setup&id='.urlencode($id)); 233 } 234 } 235 else { 236 return false; 237 } 238 } 213 239 214 240 // Get contributed_modules/modules/texttospeech/module.xml
r13764 r13778 2 2 <rawname>texttospeech</rawname> 3 3 <name>Text To Speech</name> 4 <version>1.3.1. 3</version>4 <version>1.3.1.4</version> 5 5 <description> 6 6 <p>Text To Speech synthesis using Swift (Cepstral), Flite, Text2Wave (Festival) or eSpeak voice engines that are already installed on the system. (All voice synthesis engine installation instructions in the README)</p> … … 15 15 <texttospeech>Text To Speech</texttospeech> 16 16 </menuitems> 17 <location>contributed_modules/release/texttospeech-1.3.1. 3.tgz</location>18 <info> http://www.freepbx.org/trac/ticket/1012</info>17 <location>contributed_modules/release/texttospeech-1.3.1.4.tgz</location> 18 <info></info> 19 19 <changelog> 20 *1.3.1.4 - 2012-03-02 - Paul White (phwhite [at] gmail [dot] com)* 21 22 - Fixed #5648: When using a Text-To-Speech destination in aother module such 23 as an IVR, FreePBX notices would be created complaining that the 24 destinations used were invalid. 25 20 26 *1.3.1.3 - 2009-11-25 - JakFrost* 21 27 … … 120 126 Limit: Text stored doubly in text file and database record with 250-byte limit. 121 127 </changelog> 122 <md5sum>d57233ff9719f0517de1208807bca50e</md5sum>128 <md5sum>b86c820e5d0b67eaf134424e8b2178cc</md5sum> 123 129 </module>
