返回列表 發帖
回復 15# bubblestar


    Glad to hear this. Please show yours file and how they interact.

For me, I take out the macro into a separate file
skype_trunk into another
incoming call to third, etc

TOP

回復 16# ckleea


Basically, I use the same logic as yours.  
I use include=> macro.conf and the like in my extensions.conf to make interaction.  All extenal resources like Google Voice, IPTEL etc. are extracted to other files for easy managmenet.  Now, the file size of extensions.conf is much smaller than before.

TOP

回復 17# bubblestar

This is the trick. If you somehow need to manage via GUI, the risk will be much lesser.

TOP

回復 17# bubblestar


An update:
http://zaf.github.com/asterisk-googletts/

The change logs are
  1. 2012-03-18 Lefteris Zafiris <zaf.000@gmail.com> - 0.6
  2.         Added speed factor option. Major rewrite of the cli app.
  3.         Many small fixes.

  4. 2012-01-18 Lefteris Zafiris <zaf.000@gmail.com> - 0.5
  5.         Removed the waiting for user input after the end of playback.
  6.         It is now advised to use Waitexten() in IVR to get that behavior.
  7.     Updated dialplan examples in README accordingly.
  8.         Replaced POSIX character class [:punct:] in text splitting regural
  9.         expressions. This fixes a misbehavior with some unicode strings.
  10.         Added sample cli app that does speech synthesis.

  11. 2011-12-20 Lefteris Zafiris <zaf.000@gmail.com> - 0.4
  12.         Added option for verbose debugging messages.
  13.         Fixed interrupt handling and cleaning of temp files.
  14.         Multiline and unicode input is now properly handled.
  15.         Code cleanup.

  16. 2011-12-13 Lefteris Zafiris <zaf.000@gmail.com> - 0.3
  17.         Fixed compatibility with asterisk 1.4 and older.
  18.         Changed the arguments of tempfile() for compatibility
  19.         with older perl versions.
  20.         Encode ampersands and plus sign to ascii values.
  21.         Added check for channel status before answering.
  22.         When 'intkey' is set the script waits for user input.

  23. 2011-12-01 Lefteris Zafiris <zaf.000@gmail.com> - 0.2
  24.         Working cache mechanism. Input sanitisation
  25.         and removal of dangerous characters. Better
  26.         error handling. Support for sampling rates
  27.         other than 8KHz. Cleanup mechanism for
  28.         temporary files.

  29. 2011-11-28 Lefteris Zafiris <zaf.000@gmail.com> - 0.1
  30.         Initial release 0.1
複製代碼

TOP

回復 19# ckleea


   
Thanks for the information.  Just updated already.  As before, the Installation instruction in Readme just tell that we only need to copy googletts.agi to our agi-bin directory and thats it.  Do you notice that there is another file called googletts-cli.pl in the source folder cli ?  Don't know what is all about and shall we need to put it somewhere in our Asterisk server as well.  Any ideas?

TOP

回復 20# bubblestar


   
Just disregard my question.  I made a mistake.  The content of googletts-cli.pl is already included in googletts.agi.   

TOP

Raspberry 入手了多時,最近想試試架設自己的 asterisk, 請問TTS 能否由 asterisk 叫 mac 裡的 say 指令來達成的呢?

TOP

回復 22# lawleo


    You mean to use Mac OSX voice function to achieve? I think you can but it is a matter of programming

TOP

可行便好了, thx

TOP

返回列表