**Использую freepbx distro самой последней версии, в нем нормально работал встроенный flite TTS но правда только на английском языке
Далее установил новый TTS festival по этой статье http://www.asterisk-pbx.ru/wiki/doku.php/festival так как хочу русский TTS
Потом добавил путь во freepbx его это Настройки > TTS и там прописал путь /usr/src/festival/bin/
так вот он не очень то работает, я создал направление
5577 это используется festival и он должен читать на русском однако почему то не читает хотя звонок инед!
5566 это встроенный flite он никогда не читал на русском просто шел звонок а теперь даже не читает на на английском
подскажите как исправить и научить festival произносить на русском????**
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [5566@from-internal:1] Macro("SIP/500-00000e4e", "user-callerid,LIMIT,") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@macro-user-callerid:1] Set("SIP/500-00000e4e", "TOUCH_MONITOR=1378223528.5489") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@macro-user-callerid:2] Set("SIP/500-00000e4e", "AMPUSER=500") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@macro-user-callerid:3] GotoIf("SIP/500-00000e4e", "0?report") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@macro-user-callerid:4] ExecIf("SIP/500-00000e4e", "1?Set(REALCALLERIDNUM=500)") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@macro-user-callerid:5] Set("SIP/500-00000e4e", "AMPUSER=500") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@macro-user-callerid:6] Set("SIP/500-00000e4e", "AMPUSERCIDNAME=500") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@macro-user-callerid:7] GotoIf("SIP/500-00000e4e", "0?report") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@macro-user-callerid:8] Set("SIP/500-00000e4e", "AMPUSERCID=500") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@macro-user-callerid:9] Set("SIP/500-00000e4e", "__DIAL_OPTIONS=Ttr") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@macro-user-callerid:10] Set("SIP/500-00000e4e", "CALLERID(all)="500" <500>") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@macro-user-callerid:11] GotoIf("SIP/500-00000e4e", "0?limit") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@macro-user-callerid:12] ExecIf("SIP/500-00000e4e", "1?Set(GROUP(concurrency_limit)=500)") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@macro-user-callerid:13] GosubIf("SIP/500-00000e4e", "7?sub-ccss,s,1(from-internal,5566)") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@sub-ccss:1] ExecIf("SIP/500-00000e4e", "0?Return()") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@sub-ccss:2] Set("SIP/500-00000e4e", "CCSS_SETUP=TRUE") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@sub-ccss:3] GosubIf("SIP/500-00000e4e", "0?monitor_config,1(from-internal,5566):monitor_default,1(from-internal,5566)") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [monitor_default@sub-ccss:1] GotoIf("SIP/500-00000e4e", "0?is_exten") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [monitor_default@sub-ccss:2] StackPop("SIP/500-00000e4e", "") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [monitor_default@sub-ccss:3] Return("SIP/500-00000e4e", "FALSE") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@macro-user-callerid:14] ExecIf("SIP/500-00000e4e", "0?Set(CHANNEL(language)=)") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@macro-user-callerid:15] GotoIf("SIP/500-00000e4e", "1?continue") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Goto (macro-user-callerid,s,28)
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@macro-user-callerid:28] Set("SIP/500-00000e4e", "CALLERID(number)=500") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@macro-user-callerid:29] Set("SIP/500-00000e4e", "CALLERID(name)=500") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@macro-user-callerid:30] Set("SIP/500-00000e4e", "CDR(cnum)=500") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@macro-user-callerid:31] Set("SIP/500-00000e4e", "CDR(cnam)=500") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@macro-user-callerid:32] Set("SIP/500-00000e4e", "CHANNEL(language)=en") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [5566@from-internal:2] Set("SIP/500-00000e4e", "MOHCLASS=default") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [5566@from-internal:3] Set("SIP/500-00000e4e", "_NODEST=") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [5566@from-internal:4] Gosub("SIP/500-00000e4e", "sub-record-check,s,1(out,5566,)") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@sub-record-check:1] Set("SIP/500-00000e4e", "REC_POLICY_MODE_SAVE=") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@sub-record-check:2] GotoIf("SIP/500-00000e4e", "1?check") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Goto (sub-record-check,s,7)
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@sub-record-check:7] Set("SIP/500-00000e4e", "__MON_FMT=wav") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@sub-record-check:8] GotoIf("SIP/500-00000e4e", "1?next") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Goto (sub-record-check,s,11)
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@sub-record-check:11] ExecIf("SIP/500-00000e4e", "0?Return()") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@sub-record-check:12] ExecIf("SIP/500-00000e4e", "0?Set(__REC_POLICY_MODE=)") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@sub-record-check:13] GotoIf("SIP/500-00000e4e", "0?out,1") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@sub-record-check:14] Set("SIP/500-00000e4e", "__REC_STATUS=INITIALIZED") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@sub-record-check:15] Set("SIP/500-00000e4e", "NOW=1378223528") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@sub-record-check:16] Set("SIP/500-00000e4e", "__DAY=03") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@sub-record-check:17] Set("SIP/500-00000e4e", "__MONTH=09") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@sub-record-check:18] Set("SIP/500-00000e4e", "__YEAR=2013") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@sub-record-check:19] Set("SIP/500-00000e4e", "__TIMESTR=20130903-195208") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@sub-record-check:20] Set("SIP/500-00000e4e", "__FROMEXTEN=500") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@sub-record-check:21] Set("SIP/500-00000e4e", "__CALLFILENAME=out-5566-500-20130903-195208-1378223528.5489") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [s@sub-record-check:22] Goto("SIP/500-00000e4e", "out,1") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Goto (sub-record-check,out,1)
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [out@sub-record-check:1] ExecIf("SIP/500-00000e4e", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [out@sub-record-check:2] GosubIf("SIP/500-00000e4e", "0?record,1(exten,5566,500)") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [out@sub-record-check:3] Return("SIP/500-00000e4e", "") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [5566@from-internal:5] Goto("SIP/500-00000e4e", "ext-tts,1,1") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Goto (ext-tts,1,1)
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [1@ext-tts:1] NoOp("SIP/500-00000e4e", "TTS: eng nikita") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [1@ext-tts:2] NoOp("SIP/500-00000e4e", "Using: flite") in new stack
[2013-09-03 19:52:08] VERBOSE[31373][C-00000630] pbx.c: -- Executing [1@ext-tts:3] Answer("SIP/500-00000e4e", "") in new stack
[2013-09-03 19:52:09] VERBOSE[31373][C-00000630] pbx.c: -- Executing [1@ext-tts:4] AGI("SIP/500-00000e4e", "propolys-tts.agi,Nikita we love you, and we want to live with you!,flite,/usr/bin/flite") in new stack
[2013-09-03 19:52:09] VERBOSE[31373][C-00000630] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/propolys-tts.agi
[2013-09-03 19:52:09] VERBOSE[31373][C-00000630] res_agi.c: propolys-tts.agi,Nikita we love you, and we want to live with you!,flite,/usr/bin/flite: TTS AGI Started
[2013-09-03 19:52:09] VERBOSE[31373][C-00000630] res_agi.c: -- propolys-tts.agi,Nikita we love you, and we want to live with you!,flite,/usr/bin/flite: Generated WAV file: /var/lib/asterisk/sounds/tts/ and we want to live with you!-tts-7ed84674496ead26a75a12dddd981053.wav
[2013-09-03 19:52:09] VERBOSE[31373][C-00000630] res_agi.c: -- propolys-tts.agi,Nikita we love you, and we want to live with you!,flite,/usr/bin/flite: TXT file: /var/lib/asterisk/sounds/tts/ and we want to live with you!-tts-7ed84674496ead26a75a12dddd981053.txt
[2013-09-03 19:52:09] VERBOSE[31373][C-00000630] res_agi.c: propolys-tts.agi,Nikita we love you, and we want to live with you!,flite,/usr/bin/flite: Text to speech wave file doesnt exist, lets create it.
[2013-09-03 19:52:09] VERBOSE[31373][C-00000630] res_agi.c: propolys-tts.agi,Nikita we love you, and we want to live with you!,flite,/usr/bin/flite: Executing and we want to live with you!
[2013-09-03 19:52:10] VERBOSE[31373][C-00000630] res_agi.c: propolys-tts.agi,Nikita we love you, and we want to live with you!,flite,/usr/bin/flite: Streaming the generated wave.
[2013-09-03 19:52:16] VERBOSE[31373][C-00000630] res_agi.c: -- <SIP/500-00000e4e>AGI Script propolys-tts.agi completed, returning 4
[2013-09-03 19:52:16] VERBOSE[31373][C-00000630] pbx.c: == Spawn extension (ext-tts, 1, 4) exited non-zero on 'SIP/500-00000e4e'
[2013-09-03 19:52:18] VERBOSE[3682][C-00000631] netsock2.c: == Using SIP RTP TOS bits 184
[2013-09-03 19:52:18] VERBOSE[3682][C-00000631] netsock2.c: == Using SIP RTP CoS mark 5
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [5577@from-internal:1] Macro("SIP/500-00000e4f", "user-callerid,LIMIT,") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@macro-user-callerid:1] Set("SIP/500-00000e4f", "TOUCH_MONITOR=1378223538.5490") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@macro-user-callerid:2] Set("SIP/500-00000e4f", "AMPUSER=500") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@macro-user-callerid:3] GotoIf("SIP/500-00000e4f", "0?report") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@macro-user-callerid:4] ExecIf("SIP/500-00000e4f", "1?Set(REALCALLERIDNUM=500)") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@macro-user-callerid:5] Set("SIP/500-00000e4f", "AMPUSER=500") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@macro-user-callerid:6] Set("SIP/500-00000e4f", "AMPUSERCIDNAME=500") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@macro-user-callerid:7] GotoIf("SIP/500-00000e4f", "0?report") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@macro-user-callerid:8] Set("SIP/500-00000e4f", "AMPUSERCID=500") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@macro-user-callerid:9] Set("SIP/500-00000e4f", "__DIAL_OPTIONS=Ttr") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@macro-user-callerid:10] Set("SIP/500-00000e4f", "CALLERID(all)="500" <500>") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@macro-user-callerid:11] GotoIf("SIP/500-00000e4f", "0?limit") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@macro-user-callerid:12] ExecIf("SIP/500-00000e4f", "1?Set(GROUP(concurrency_limit)=500)") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@macro-user-callerid:13] GosubIf("SIP/500-00000e4f", "7?sub-ccss,s,1(from-internal,5577)") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@sub-ccss:1] ExecIf("SIP/500-00000e4f", "0?Return()") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@sub-ccss:2] Set("SIP/500-00000e4f", "CCSS_SETUP=TRUE") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@sub-ccss:3] GosubIf("SIP/500-00000e4f", "0?monitor_config,1(from-internal,5577):monitor_default,1(from-internal,5577)") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [monitor_default@sub-ccss:1] GotoIf("SIP/500-00000e4f", "0?is_exten") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [monitor_default@sub-ccss:2] StackPop("SIP/500-00000e4f", "") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [monitor_default@sub-ccss:3] Return("SIP/500-00000e4f", "FALSE") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@macro-user-callerid:14] ExecIf("SIP/500-00000e4f", "0?Set(CHANNEL(language)=)") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@macro-user-callerid:15] GotoIf("SIP/500-00000e4f", "1?continue") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Goto (macro-user-callerid,s,28)
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@macro-user-callerid:28] Set("SIP/500-00000e4f", "CALLERID(number)=500") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@macro-user-callerid:29] Set("SIP/500-00000e4f", "CALLERID(name)=500") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@macro-user-callerid:30] Set("SIP/500-00000e4f", "CDR(cnum)=500") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@macro-user-callerid:31] Set("SIP/500-00000e4f", "CDR(cnam)=500") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@macro-user-callerid:32] Set("SIP/500-00000e4f", "CHANNEL(language)=en") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [5577@from-internal:2] Set("SIP/500-00000e4f", "MOHCLASS=default") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [5577@from-internal:3] Set("SIP/500-00000e4f", "_NODEST=") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [5577@from-internal:4] Gosub("SIP/500-00000e4f", "sub-record-check,s,1(out,5577,)") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@sub-record-check:1] Set("SIP/500-00000e4f", "REC_POLICY_MODE_SAVE=") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@sub-record-check:2] GotoIf("SIP/500-00000e4f", "1?check") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Goto (sub-record-check,s,7)
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@sub-record-check:7] Set("SIP/500-00000e4f", "__MON_FMT=wav") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@sub-record-check:8] GotoIf("SIP/500-00000e4f", "1?next") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Goto (sub-record-check,s,11)
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@sub-record-check:11] ExecIf("SIP/500-00000e4f", "0?Return()") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@sub-record-check:12] ExecIf("SIP/500-00000e4f", "0?Set(__REC_POLICY_MODE=)") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@sub-record-check:13] GotoIf("SIP/500-00000e4f", "0?out,1") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@sub-record-check:14] Set("SIP/500-00000e4f", "__REC_STATUS=INITIALIZED") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@sub-record-check:15] Set("SIP/500-00000e4f", "NOW=1378223538") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@sub-record-check:16] Set("SIP/500-00000e4f", "__DAY=03") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@sub-record-check:17] Set("SIP/500-00000e4f", "__MONTH=09") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@sub-record-check:18] Set("SIP/500-00000e4f", "__YEAR=2013") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@sub-record-check:19] Set("SIP/500-00000e4f", "__TIMESTR=20130903-195218") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@sub-record-check:20] Set("SIP/500-00000e4f", "__FROMEXTEN=500") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@sub-record-check:21] Set("SIP/500-00000e4f", "__CALLFILENAME=out-5577-500-20130903-195218-1378223538.5490") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [s@sub-record-check:22] Goto("SIP/500-00000e4f", "out,1") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Goto (sub-record-check,out,1)
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [out@sub-record-check:1] ExecIf("SIP/500-00000e4f", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [out@sub-record-check:2] GosubIf("SIP/500-00000e4f", "0?record,1(exten,5577,500)") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [out@sub-record-check:3] Return("SIP/500-00000e4f", "") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [5577@from-internal:5] Goto("SIP/500-00000e4f", "ext-tts,2,1") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Goto (ext-tts,2,1)
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [2@ext-tts:1] NoOp("SIP/500-00000e4f", "TTS: Rus-nik") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [2@ext-tts:2] NoOp("SIP/500-00000e4f", "Using: Festival New") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [2@ext-tts:3] Answer("SIP/500-00000e4f", "") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] pbx.c: -- Executing [2@ext-tts:4] AGI("SIP/500-00000e4f", "propolys-tts.agi,пÑÐ¸Ð²ÐµÑ Ñ Ð½Ð¸ÐºÐ¸Ñа а ÑÑ,Festival New,/usr/src/festival/bin/") in new stack
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/propolys-tts.agi
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] res_agi.c: propolys-tts.agi,пÑÐ¸Ð²ÐµÑ Ñ Ð½Ð¸ÐºÐ¸Ñа а ÑÑ,Festival New,/usr/src/festival/bin/: TTS AGI Started
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] res_agi.c: -- propolys-tts.agi,пÑÐ¸Ð²ÐµÑ Ñ Ð½Ð¸ÐºÐ¸Ñа а ÑÑ,Festival New,/usr/src/festival/bin/: Generated WAV file: /var/lib/asterisk/sounds/tts/Festival New-tts-be7edb72d55cb8b35c82f272dcae3ce8.wav
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] res_agi.c: -- propolys-tts.agi,пÑÐ¸Ð²ÐµÑ Ñ Ð½Ð¸ÐºÐ¸Ñа а ÑÑ,Festival New,/usr/src/festival/bin/: TXT file: /var/lib/asterisk/sounds/tts/Festival New-tts-be7edb72d55cb8b35c82f272dcae3ce8.txt
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] res_agi.c: propolys-tts.agi,пÑÐ¸Ð²ÐµÑ Ñ Ð½Ð¸ÐºÐ¸Ñа а ÑÑ,Festival New,/usr/src/festival/bin/: Text to speech wave file doesnt exist, lets create it.
[2013-09-03 19:52:18] VERBOSE[31379][C-00000631] res_agi.c: propolys-tts.agi,пÑÐ¸Ð²ÐµÑ Ñ Ð½Ð¸ÐºÐ¸Ñа а ÑÑ,Festival New,/usr/src/festival/bin/: Executing Festival New
[2013-09-03 19:52:19] VERBOSE[31379][C-00000631] res_agi.c: propolys-tts.agi,пÑÐ¸Ð²ÐµÑ Ñ Ð½Ð¸ÐºÐ¸Ñа а ÑÑ,Festival New,/usr/src/festival/bin/: Streaming the generated wave.
[2013-09-03 19:52:24] VERBOSE[31379][C-00000631] res_agi.c: -- <SIP/500-00000e4f>AGI Script propolys-tts.agi completed, returning 4
[2013-09-03 19:52:24] VERBOSE[31379][C-00000631] pbx.c: == Spawn extension (ext-tts, 2, 4) exited non-zero on 'SIP/500-00000e4f'
я полагаю такие темы, особенно с таким оформлением, нужно удалять целиком.
switch ( 2013-09-03 21:17:10 +0400 )редактироватьДумаю , можно дать пару часов . если форматирование таким же останется , то снести.
zzuz ( 2013-09-03 21:32:46 +0400 )редактироватьТеперь другое дело. Осталось дождать от автора перевода "propolys-tts.agi,пÑÐ¸Ð²ÐµÑ Ñ Ð½Ð¸ÐºÐ¸Ñа а ÑÑ,"
zzuz ( 2013-09-03 21:49:21 +0400 )редактироватьэто русские буквы типо привет это никита! проверка фриипбкс
Leshik ( 2013-09-03 21:51:17 +0400 )редактироватьи что ? если в propolys-tts.agi прописать
zzuz ( 2013-09-03 22:08:27 +0400 )редактироватьprint($argv[1]);
то мы увидим "Привет Никита"?я чайник в этом деле настраивал TTS по статье даже не знаю о чем вы говорите просто если можете поскажите как исправить!
Leshik ( 2013-09-03 22:20:14 +0400 )редактироватьУ Вас кодировка не поддерживается во фреймворке , тестируйте для начала без Freepbx .
zzuz ( 2013-09-03 23:16:55 +0400 )редактироватьи как это сделать?
Leshik ( 2013-09-04 11:03:15 +0400 )редактироватьВыполнив скрипт, передав ему позиционный параметр в виде русского текста.
zzuz ( 2013-09-04 11:34:40 +0400 )редактироватьОх конечно спасибо за помощь но я так и не понял! буду искать помощи в другом месте
Leshik ( 2013-09-05 15:11:00 +0400 )редактироватьhttp://forum.asterisk.ru/viewtopic.php?f=4&t=3325&p=38533#p38533
Думаете ответ будет другим?
zzuz ( 2013-09-05 15:29:09 +0400 )редактироватья уже облазил много сайтов но так и не нашел как сменить кодировку в freepbx
нашел вот это http://virtual-serg.livejournal.com/1844.html но мне это не помогло
Leshik ( 2013-09-05 20:02:17 +0400 )редактироватьЧтобы сменить кодировку, нужны знания по PHP. Изучайте или платите тому , кто разберётся.
zzuz ( 2013-09-06 00:06:21 +0400 )редактировать