Пожалуйста, войдите здесь. Часто задаваемые вопросы О нас
Задайте Ваш вопрос

TTS Festival и FreePBX Dsitro

-1

**Использую freepbx distro самой последней версии, в нем нормально работал встроенный flite TTS но правда только на английском языке

Далее установил новый TTS festival по этой статье http://www.asterisk-pbx.ru/wiki/doku.php/festival так как хочу русский TTS

Потом добавил путь во freepbx его это Настройки > TTS и там прописал путь /usr/src/festival/bin/ так вот он не очень то работает, я создал направление image description

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'
удалить закрыть спам изменить тег редактировать

спросил 2013-09-03 20:07:38 +0400

Leshik Gravatar Leshik
27 5 5

обновил 2013-09-03 21:41:29 +0400

Comments

я полагаю такие темы, особенно с таким оформлением, нужно удалять целиком.

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 прописать print($argv[1]); то мы увидим "Привет Никита"?

zzuz ( 2013-09-03 22:08:27 +0400 )редактировать

я чайник в этом деле настраивал 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 )редактировать

3 Ответа

0

я уже облазил много сайтов но так и не нашел как сменить кодировку в freepbx

нашел вот это http://virtual-serg.livejournal.com/1844.html но мне это не помогло

ссылка удалить спам редактировать

ответил 2013-09-05 20:01:46 +0400

Leshik Gravatar Leshik
27 5 5
0

Зачем же базу всю конвертировать? Создай рядом еще одну, ну и то что надо в нее добавляй с конвертацией хочешь руками, хочешь скриптом по крону, iconv в помощь.

ссылка удалить спам редактировать

ответил 2015-03-26 14:55:07 +0400

Filin Gravatar Filin
9 8 1 5
-1

Использую AsteriskNOW-612 (Asterisk 11) последней и наблюдаю такую же ситуацию. Руссификация FreePBX по аналогии http://voxlink.ru/kb/asterisk-configuration/russian-caller-id-in-freepbx/ не увенчались успехом, т.к. там только по CDR. Как полностью перевести корректно mysql-базу на UTF8 и FreePBX пока осталось загадкой. Один раз уже убил тестовый сервер конвертированием mysql-базы в UTF8 - FreePBX просто упал.

Просьба поделиться опытом, у кого есть положительный опыт по переводу Asterisk+FreePBX полностью на UTF8.

ссылка удалить убрать флаг спам (1) редактировать

ответил 2015-03-26 14:29:00 +0400

IISergII Gravatar IISergII
1

Comments

Странный ответ.

zzuz ( 2015-03-26 15:18:04 +0400 )редактировать

Какое было поле для ввода, туда и написал. Почему то могу оставить комментарий только к своему ответу...

IISergII ( 2015-03-26 15:22:08 +0400 )редактировать

А написать отдельно вопрос не позволяет религия?

zzuz ( 2015-03-26 18:00:55 +0400 )редактировать

Да, религия не позволяет плодить однотипные темы.

IISergII ( 2015-03-27 11:33:02 +0400 )редактировать

Ваш ответ

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[скрыть предварительный просмотр]

Закладки и информация

Добавить закладку

подписаться на rss ленту новостей

Статистика

Задан: 2013-09-03 20:07:38 +0400

Просмотрен: 1,144 раз

Обновлен: Mar 26 '15

Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией GNU GPL.