Страница 1 из 2

Asterisk DISA

Добавлено: 19 июн 2015, 12:16
SeVeRSeVeR
Доброго суток.
Была настроена связка Panasonic 1232 и Asterisk.
Возникла проблема с DISA для Asterisk.
При наборе с Panasonic 91 выходим на Asterisk, слышим гудок и даже можем попасть обратно по транку на Panasonic по набору 0!
Но если набрать внутренний номер абонента Asterisk 100, говорит "соединение не возможно проверьте номер и перезвоните"
Я так понимаю связанно с правами(( только не могу понять где.
Заранее благодарен за ответ.

Re: Asterisk DISA

Добавлено: 19 июн 2015, 12:29
awsswa
если бы кто-то выкладывал логи - мы бы догадались в каком contex нету внутренних номеров

но нет логов - нету варенья

Re: Asterisk DISA

Добавлено: 19 июн 2015, 12:46
ded
Я вот догадался, что связка Panasonic 1232 и Asterisk сделана при помощи двух коробков и нитки между ними. Я правильно думаю?

С уток ничего доброго не бывает.

Re: Asterisk DISA

Добавлено: 19 июн 2015, 12:58
Glukinho
SeVeRSeVeR писал(а):Была настроена связка Panasonic 1232 и Asterisk.
Изображение

Re: Asterisk DISA

Добавлено: 19 июн 2015, 13:03
ded
Face palm иллюcтрирует диалог:
- Это ты настроил тут связку Panasonic 1232 и Asterisk?
- ...... (facepalm)

Re: Asterisk DISA

Добавлено: 19 июн 2015, 13:17
SeVeRSeVeR
Извиняюсь что не выложил сразу. Лог громоздкий так не знал что именно выложить, тут все что связано с одним звонком с Panasonic на Asterisk, а точнее:
На 1232 набор 91 (попадаем на DISA *) -> далее набор номера 101 -> далее сообщение о котором я говорил выше
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
[2015-06-19 17:19:26] VERBOSE[17345][C-00000012] sig_pri.c: Accepting call from '513333' to 's' on channel 0/1, span 1
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@from-digital:1] ExecIf("DAHDI/i1/513333-17", "1?Set(__FROM_DID=s)") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@from-digital:2] Gosub("DAHDI/i1/513333-17", "sub-record-check,s,1(in,s,never)") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@sub-record-check:1] GotoIf("DAHDI/i1/513333-17", "0?initialized") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@sub-record-check:2] Set("DAHDI/i1/513333-17", "__REC_STATUS=INITIALIZED") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@sub-record-check:3] Set("DAHDI/i1/513333-17", "NOW=1434705566") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@sub-record-check:4] Set("DAHDI/i1/513333-17", "__DAY=19") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@sub-record-check:5] Set("DAHDI/i1/513333-17", "__MONTH=06") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@sub-record-check:6] Set("DAHDI/i1/513333-17", "__YEAR=2015") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@sub-record-check:7] Set("DAHDI/i1/513333-17", "__TIMESTR=20150619-171926") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@sub-record-check:8] Set("DAHDI/i1/513333-17", "__FROMEXTEN=unknown") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@sub-record-check:9] Set("DAHDI/i1/513333-17", "__MON_FMT=wav") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@sub-record-check:10] NoOp("DAHDI/i1/513333-17", "Recordings initialized") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@sub-record-check:11] ExecIf("DAHDI/i1/513333-17", "0?Set(ARG3=dontcare)") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@sub-record-check:12] Set("DAHDI/i1/513333-17", "REC_POLICY_MODE_SAVE=") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@sub-record-check:13] ExecIf("DAHDI/i1/513333-17", "0?Set(REC_STATUS=NO)") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@sub-record-check:14] GotoIf("DAHDI/i1/513333-17", "2?checkaction") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Goto (sub-record-check,s,17)
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@sub-record-check:17] GotoIf("DAHDI/i1/513333-17", "1?sub-record-check,in,1") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Goto (sub-record-check,in,1)
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [in@sub-record-check:1] NoOp("DAHDI/i1/513333-17", "Inbound Recording Check to s") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [in@sub-record-check:2] Set("DAHDI/i1/513333-17", "FROMEXTEN=unknown") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [in@sub-record-check:3] ExecIf("DAHDI/i1/513333-17", "6?Set(FROMEXTEN=513333)") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [in@sub-record-check:4] Gosub("DAHDI/i1/513333-17", "recordcheck,1(never,in,s)") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp("DAHDI/i1/513333-17", "Starting recording check against never") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [recordcheck@sub-record-check:2] Goto("DAHDI/i1/513333-17", "never") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Goto (sub-record-check,recordcheck,14)
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [recordcheck@sub-record-check:14] Set("DAHDI/i1/513333-17", "__REC_POLICY_MODE=NEVER") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [recordcheck@sub-record-check:15] Goto("DAHDI/i1/513333-17", "stoprec") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Goto (sub-record-check,recordcheck,25)
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [recordcheck@sub-record-check:25] NoOp("DAHDI/i1/513333-17", "Stopping recording: in, s") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [recordcheck@sub-record-check:26] Set("DAHDI/i1/513333-17", "__REC_STATUS=STOPPED") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [recordcheck@sub-record-check:27] System("DAHDI/i1/513333-17", "/var/lib/asterisk/bin/stoprecording.php "DAHDI/i1/513333-17"") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [recordcheck@sub-record-check:28] Return("DAHDI/i1/513333-17", "") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [in@sub-record-check:5] Return("DAHDI/i1/513333-17", "") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@from-digital:3] Gosub("DAHDI/i1/513333-17", "app-blacklist-check,s,1()") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@app-blacklist-check:1] GotoIf("DAHDI/i1/513333-17", "0?blacklisted") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@app-blacklist-check:2] Set("DAHDI/i1/513333-17", "CALLED_BLACKLIST=1") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@app-blacklist-check:3] Return("DAHDI/i1/513333-17", "") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@from-digital:4] Set("DAHDI/i1/513333-17", "CDR(did)=s") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@from-digital:5] ExecIf("DAHDI/i1/513333-17", "1 ?Set(CALLERID(name)=513333)") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@from-digital:6] Set("DAHDI/i1/513333-17", "CHANNEL(musicclass)=default") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@from-digital:7] Set("DAHDI/i1/513333-17", "__MOHCLASS=default") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@from-digital:8] GotoIf("DAHDI/i1/513333-17", "0?macro-hangupcall") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@from-digital:9] Set("DAHDI/i1/513333-17", "__CALLINGPRES_SV=prohib_passed_screen") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@from-digital:10] Set("DAHDI/i1/513333-17", "CALLERPRES()=allowed_not_screened") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@from-digital:11] Macro("DAHDI/i1/513333-17", "prepend-cid,Офис: ") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@macro-prepend-cid:1] GotoIf("DAHDI/i1/513333-17", "1?REPCID") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Goto (macro-prepend-cid,s,5)
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@macro-prepend-cid:5] Set("DAHDI/i1/513333-17", "_RGPREFIX=Офис: ") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@macro-prepend-cid:6] Set("DAHDI/i1/513333-17", "CALLERID(name)=Офис: 513333") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@from-digital:12] Goto("DAHDI/i1/513333-17", "disa,1,1") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Goto (disa,1,1)
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [1@disa:1] Answer("DAHDI/i1/513333-17", "") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [1@disa:2] Gosub("DAHDI/i1/513333-17", "sub-record-check,s,1(disa,1,dontcare)") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@sub-record-check:1] GotoIf("DAHDI/i1/513333-17", "6?initialized") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Goto (sub-record-check,s,10)
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@sub-record-check:10] NoOp("DAHDI/i1/513333-17", "Recordings initialized") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@sub-record-check:11] ExecIf("DAHDI/i1/513333-17", "0?Set(ARG3=dontcare)") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@sub-record-check:12] Set("DAHDI/i1/513333-17", "REC_POLICY_MODE_SAVE=NEVER") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@sub-record-check:13] ExecIf("DAHDI/i1/513333-17", "0?Set(REC_STATUS=NO)") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@sub-record-check:14] GotoIf("DAHDI/i1/513333-17", "4?checkaction") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Goto (sub-record-check,s,17)
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@sub-record-check:17] GotoIf("DAHDI/i1/513333-17", "0?sub-record-check,disa,1") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@sub-record-check:18] NoOp("DAHDI/i1/513333-17", "Generic disa Recording Check - 513333 1") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@sub-record-check:19] Gosub("DAHDI/i1/513333-17", "recordcheck,1(dontcare,disa,1)") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp("DAHDI/i1/513333-17", "Starting recording check against dontcare") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [recordcheck@sub-record-check:2] Goto("DAHDI/i1/513333-17", "dontcare") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Goto (sub-record-check,recordcheck,3)
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [recordcheck@sub-record-check:3] Return("DAHDI/i1/513333-17", "") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [s@sub-record-check:20] Return("DAHDI/i1/513333-17", "") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [1@disa:3] Set("DAHDI/i1/513333-17", "_DISA=disa^1^newcall") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [1@disa:4] Set("DAHDI/i1/513333-17", "_DISACONTEXT=from-internal") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [1@disa:5] Set("DAHDI/i1/513333-17", "_KEEPCID=FALSE") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [1@disa:6] Set("DAHDI/i1/513333-17", "_HANGUP=Tt") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [1@disa:7] Set("DAHDI/i1/513333-17", "TIMEOUT(digit)=5") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] func_timeout.c: Digit timeout set to 5.000
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [1@disa:8] Set("DAHDI/i1/513333-17", "TIMEOUT(response)=10") in new stack
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] func_timeout.c: Response timeout set to 10.000
[2015-06-19 17:19:26] VERBOSE[19990][C-00000012] pbx.c: Executing [1@disa:9] DISA("DAHDI/i1/513333-17", "no-password,disa-dial") in new stack
[2015-06-19 17:19:36] VERBOSE[19990][C-00000012] pbx.c: Executing [00@disa-dial:1] NoOp("DAHDI/i1/513333-17", "called 00 in from-internal by ID: 1") in new stack
[2015-06-19 17:19:36] VERBOSE[19990][C-00000012] pbx.c: Executing [00@disa-dial:2] Dial("DAHDI/i1/513333-17", "Local/00@from-internal,300,Tt") in new stack
[2015-06-19 17:19:36] VERBOSE[19990][C-00000012] app_dial.c: Called Local/00@from-internal
[2015-06-19 17:19:36] VERBOSE[19997][C-00000012] pbx.c: Executing [00@from-internal:1] ResetCDR("Local/00@from-internal-0000001e;2", "") in new stack
[2015-06-19 17:19:36] VERBOSE[19997][C-00000012] pbx.c: Executing [00@from-internal:2] NoCDR("Local/00@from-internal-0000001e;2", "") in new stack
[2015-06-19 17:19:36] VERBOSE[19997][C-00000012] pbx.c: Executing [00@from-internal:3] Progress("Local/00@from-internal-0000001e;2", "") in new stack
[2015-06-19 17:19:36] VERBOSE[19990][C-00000012] app_dial.c: Local/00@from-internal-0000001e;1 is making progress passing it to DAHDI/i1/513333-17
[2015-06-19 17:19:36] VERBOSE[19997][C-00000012] pbx.c: Executing [00@from-internal:4] Wait("Local/00@from-internal-0000001e;2", "1") in new stack
[2015-06-19 17:19:37] VERBOSE[19997][C-00000012] pbx.c: Executing [00@from-internal:5] Progress("Local/00@from-internal-0000001e;2", "") in new stack
[2015-06-19 17:19:37] VERBOSE[19990][C-00000012] app_dial.c: Local/00@from-internal-0000001e;1 is making progress passing it to DAHDI/i1/513333-17
[2015-06-19 17:19:37] VERBOSE[19997][C-00000012] pbx.c: Executing [00@from-internal:6] Playback("Local/00@from-internal-0000001e;2", "silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer") in new stack
[2015-06-19 17:19:37] VERBOSE[19997][C-00000012] file.c: <Local/00@from-internal-0000001e;2> Playing 'silence/1.slin' (language 'ru')
[2015-06-19 17:19:38] VERBOSE[19997][C-00000012] file.c: <Local/00@from-internal-0000001e;2> Playing 'cannot-complete-as-dialed.slin' (language 'ru')
[2015-06-19 17:19:40] VERBOSE[19997][C-00000012] file.c: <Local/00@from-internal-0000001e;2> Playing 'check-number-dial-again.slin' (language 'ru')
ded писал(а):Я вот догадался, что связка Panasonic 1232 и Asterisk сделана при помощи двух коробков и нитки между ними. Я правильно думаю?

С уток ничего доброго не бывает.
Да хоть так, не думаю что это имеет значение в данном вопросе, а излагать с нуля как все настроено, не вижу смысла.

Заметил что на DISA можно вводит сервисные коды типа *73 и Asterisk их обрабатывает, а вот внутренний номер нет.

Re: Asterisk DISA

Добавлено: 19 июн 2015, 13:27
ded
Это имеет значение в данном вопросе, а если Вы это не поняли, то описывать проблему Вам здесь тоже не вижу смысла.

Re: Asterisk DISA

Добавлено: 19 июн 2015, 13:32
SeVeRSeVeR
Ну если критично то http://forum.asterisk.ru/viewtopic.php? ... 380#p58380

Re: Asterisk DISA

Добавлено: 19 июн 2015, 13:47
Glukinho
Понимаете, ваша ситуация называется "через жопу", разбираться в исходно ущербной схеме ни у кого нет желания, уж простите :(

Re: Asterisk DISA

Добавлено: 19 июн 2015, 13:59
ded
Поддерживаю.
SeVeRSeVeR, прочитали соглашение, прежде чем кликнуть Я СОГЛАСЕН, когда регистрировались? Помните что там написано большими буквами?