VIDEOCHAT  ::   FAQ  ::   Поиск  ::   Регистрация  ::   Вход

Вызов голосовой почты

Новичком считается только что прочитавший «Астериск - будущее телефонии»
http://asterisk.ru/knowledgebase/books
и пытающийся сделать большее

Модераторы: april22, Zavr2008

Ответить
yuo23
Сообщения: 38
Зарегистрирован: 13 ноя 2012, 09:26

Вызов голосовой почты

Сообщение yuo23 »

При выборе русского языка происходит сброс соединения на голосовую почту(*97 или *98) после сообщения: "<SIP/1000-00000003> Playing 'vm-youhave.gsm' (language 'ru')". Для сравнения два трейса с русским и английском языками.
Пробовал ставить французский(fr) нет сброса. Пробовал ставить "хх" нет сброса.

localhost*CLI>
localhost*CLI>
localhost*CLI>
localhost*CLI>
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [*97@from-internal:1] Answer("SIP/1000-00000003", "") in new stack
-- Executing [*97@from-internal:2] Wait("SIP/1000-00000003", "1") in new stack
-- Executing [*97@from-internal:3] Macro("SIP/1000-00000003", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/1000-00000003", "AMPUSER=1000") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/1000-00000003", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/1000-00000003", "1?Set(REALCALLERIDNUM=1000)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/1000-00000003", "AMPUSER=1000") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/1000-00000003", "AMPUSERCIDNAME=1000") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/1000-00000003", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/1000-00000003", "AMPUSERCID=1000") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/1000-00000003", "CALLERID(all)="1000" <1000>") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/1000-00000003", "1?Set(CHANNEL(language)=ru)") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/1000-00000003", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/1000-00000003", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/1000-00000003", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] Set("SIP/1000-00000003", "CALLERID(number)=1000") in new stack
-- Executing [s@macro-user-callerid:20] Set("SIP/1000-00000003", "CALLERID(name)=1000") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("SIP/1000-00000003", "Using CallerID "1000" <1000>") in new stack
-- Executing [*97@from-internal:4] Macro("SIP/1000-00000003", "get-vmcontext,1000") in new stack
-- Executing [s@macro-get-vmcontext:1] Set("SIP/1000-00000003", "VMCONTEXT=default") in new stack
-- Executing [s@macro-get-vmcontext:2] GotoIf("SIP/1000-00000003", "0?200:300") in new stack
-- Goto (macro-get-vmcontext,s,300)
-- Executing [s@macro-get-vmcontext:300] NoOp("SIP/1000-00000003", "") in new stack
-- Executing [*97@from-internal:5] Set("SIP/1000-00000003", "VMBOXEXISTSSTATUS=SUCCESS") in new stack
-- Executing [*97@from-internal:6] GotoIf("SIP/1000-00000003", "1?mbexist") in new stack
-- Goto (from-internal,*97,106)
-- Executing [*97@from-internal:106] VoiceMailMain("SIP/1000-00000003", "1000@default") in new stack
-- <SIP/1000-00000003> Playing 'vm-password.gsm' (language 'ru')
-- <SIP/1000-00000003> Playing 'vm-youhave.gsm' (language 'ru')
== Spawn extension (from-internal, *97, 106) exited non-zero on 'SIP/1000-00000003'
-- Executing [h@from-internal:1] Macro("SIP/1000-00000003", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/1000-00000003", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] NoOp("SIP/1000-00000003", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("SIP/1000-00000003", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,15)
-- Executing [s@macro-hangupcall:15] NoOp("SIP/1000-00000003", "MEETME_RECORDINGFILE=") in new stack
-- Executing [s@macro-hangupcall:16] GotoIf("SIP/1000-00000003", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,18)
-- Executing [s@macro-hangupcall:18] NoOp("SIP/1000-00000003", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:19] GotoIf("SIP/1000-00000003", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,25)
-- Executing [s@macro-hangupcall:25] NoOp("SIP/1000-00000003", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:26] GotoIf("SIP/1000-00000003", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,29)
-- Executing [s@macro-hangupcall:29] GotoIf("SIP/1000-00000003", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,32)
-- Executing [s@macro-hangupcall:32] GotoIf("SIP/1000-00000003", "1?theend") in new stack
-- Goto (macro-hangupcall,s,34)
-- Executing [s@macro-hangupcall:34] Hangup("SIP/1000-00000003", "") in new stack
== Spawn extension (macro-hangupcall, s, 34) exited non-zero on 'SIP/1000-00000003' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/1000-00000003'
*******************************************************************************************************************************************************************************
localhost*CLI>
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [*97@from-internal:1] Answer("SIP/1000-00000004", "") in new stack
-- Executing [*97@from-internal:2] Wait("SIP/1000-00000004", "1") in new stack
-- Executing [*97@from-internal:3] Macro("SIP/1000-00000004", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/1000-00000004", "AMPUSER=1000") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/1000-00000004", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/1000-00000004", "1?Set(REALCALLERIDNUM=1000)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/1000-00000004", "AMPUSER=1000") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/1000-00000004", "AMPUSERCIDNAME=1000") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/1000-00000004", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/1000-00000004", "AMPUSERCID=1000") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/1000-00000004", "CALLERID(all)="1000" <1000>") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/1000-00000004", "1?Set(CHANNEL(language)=en)") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/1000-00000004", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/1000-00000004", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/1000-00000004", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] Set("SIP/1000-00000004", "CALLERID(number)=1000") in new stack
-- Executing [s@macro-user-callerid:20] Set("SIP/1000-00000004", "CALLERID(name)=1000") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("SIP/1000-00000004", "Using CallerID "1000" <1000>") in new stack
-- Executing [*97@from-internal:4] Macro("SIP/1000-00000004", "get-vmcontext,1000") in new stack
-- Executing [s@macro-get-vmcontext:1] Set("SIP/1000-00000004", "VMCONTEXT=default") in new stack
-- Executing [s@macro-get-vmcontext:2] GotoIf("SIP/1000-00000004", "0?200:300") in new stack
-- Goto (macro-get-vmcontext,s,300)
-- Executing [s@macro-get-vmcontext:300] NoOp("SIP/1000-00000004", "") in new stack
-- Executing [*97@from-internal:5] Set("SIP/1000-00000004", "VMBOXEXISTSSTATUS=SUCCESS") in new stack
-- Executing [*97@from-internal:6] GotoIf("SIP/1000-00000004", "1?mbexist") in new stack
-- Goto (from-internal,*97,106)
-- Executing [*97@from-internal:106] VoiceMailMain("SIP/1000-00000004", "1000@default") in new stack
-- <SIP/1000-00000004> Playing 'vm-password.gsm' (language 'en')
-- <SIP/1000-00000004> Playing 'vm-youhave.gsm' (language 'en')
-- <SIP/1000-00000004> Playing 'digits/1.gsm' (language 'en')
-- <SIP/1000-00000004> Playing 'vm-INBOX.gsm' (language 'en')
-- <SIP/1000-00000004> Playing 'vm-message.gsm' (language 'en')
-- <SIP/1000-00000004> Playing 'vm-onefor.gsm' (language 'en')
-- <SIP/1000-00000004> Playing 'vm-INBOX.gsm' (language 'en')
-- <SIP/1000-00000004> Playing 'vm-messages.gsm' (language 'en')
-- <SIP/1000-00000004> Playing 'vm-opts.gsm' (language 'en')
-- <SIP/1000-00000004> Playing 'vm-helpexit.gsm' (language 'en')
== Spawn extension (from-internal, *97, 106) exited non-zero on 'SIP/1000-00000004'
-- Executing [h@from-internal:1] Macro("SIP/1000-00000004", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/1000-00000004", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] NoOp("SIP/1000-00000004", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("SIP/1000-00000004", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,15)
-- Executing [s@macro-hangupcall:15] NoOp("SIP/1000-00000004", "MEETME_RECORDINGFILE=") in new stack
-- Executing [s@macro-hangupcall:16] GotoIf("SIP/1000-00000004", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,18)
-- Executing [s@macro-hangupcall:18] NoOp("SIP/1000-00000004", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:19] GotoIf("SIP/1000-00000004", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,25)
-- Executing [s@macro-hangupcall:25] NoOp("SIP/1000-00000004", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:26] GotoIf("SIP/1000-00000004", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,29)
-- Executing [s@macro-hangupcall:29] GotoIf("SIP/1000-00000004", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,32)
-- Executing [s@macro-hangupcall:32] GotoIf("SIP/1000-00000004", "1?theend") in new stack
-- Goto (macro-hangupcall,s,34)
-- Executing [s@macro-hangupcall:34] Hangup("SIP/1000-00000004", "") in new stack
== Spawn extension (macro-hangupcall, s, 34) exited non-zero on 'SIP/1000-00000004' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/1000-00000004'
ded
Сообщения: 15627
Зарегистрирован: 26 авг 2010, 19:00

Re: Вызов голосовой почты

Сообщение ded »

Не хватает специфических русских голосовых файлов. Типа vm-novoe, vm-novyh
Поэтому сбрасывает при наличии новых сообщений, не может произнести.
Это видно в логе
/var/log/asterisk/full

http://asterisk-support.ru/question/356 ... -asterisk/
yuo23
Сообщения: 38
Зарегистрирован: 13 ноя 2012, 09:26

Re: Вызов голосовой почты

Сообщение yuo23 »

Спасибо. Вот что было в логе:
Nov 28 23:35:01] WARNING[3866] file.c: File vm-messagex2 does not exist in any format
[Nov 28 23:35:01] WARNING[3866] file.c: Unable to open vm-messagex2 (format 0x4 (ulaw)): No such file or directory
[Nov 28 23:35:01] VERBOSE[3866] pbx.c: == Spawn extension (from-internal, *97, 106) exited non-zero on 'SIP/1000-0000000e'
После переименования сообщения "vm-messages" в "vm-messagex2" сбросы прекратились.
Ответить
© 2008 — 2025 Asterisk.ru
Digium, Asterisk and AsteriskNOW are registered trademarks of Digium, Inc.
Design and development by PostMet-Netzwerk GmbH