Вход | Регистрация
Вы здесь: Главная / Форум / Главный форум по Asterisk / TrixBox, Elastix, FreePbx / Elastix(FreePBX) и DISA

Elastix(FreePBX) и DISA

Сообщений: 32

Elastix(FreePBX) и DISA

Там как бы, на мой неопытный взгляд, все просто. Но не могу настроить хоть убейся. Может причиной моя мигрень а может и нет.
Собственно выкладываю скрин и логи. Вопросы напишу ниже :)



[Sep 6 18:55:43] VERBOSE[18887] manager.c: == Manager 'admin' logged off from 127.0.0.1
[Sep 6 18:56:05] VERBOSE[2726] netsock.c: == Using SIP RTP TOS bits 184
[Sep 6 18:56:05] VERBOSE[2726] netsock.c: == Using SIP RTP CoS mark 5
[Sep 6 18:56:05] VERBOSE[18901] pbx.c: -- Executing [102@from-trunk-sip-GudOut:1] Set("SIP/GudOut-000000f7", "GROUP()=OUT_1") in new stack
[Sep 6 18:56:05] VERBOSE[18901] pbx.c: -- Executing [102@from-trunk-sip-GudOut:2] Goto("SIP/GudOut-000000f7", "from-trunk,102,1") in new stack
[Sep 6 18:56:05] VERBOSE[18901] pbx.c: -- Goto (from-trunk,102,1)
[Sep 6 18:56:05] VERBOSE[18901] pbx.c: -- Executing [102@from-trunk:1] Set("SIP/GudOut-000000f7", "__FROM_DID=102") in new stack
[Sep 6 18:56:05] VERBOSE[18901] pbx.c: -- Executing [102@from-trunk:2] Goto("SIP/GudOut-000000f7", "s,1") in new stack
[Sep 6 18:56:05] VERBOSE[18901] pbx.c: -- Goto (from-trunk,s,1)
[Sep 6 18:56:05] VERBOSE[18901] pbx.c: -- Executing [s@from-trunk:1] ExecIf("SIP/GudOut-000000f7", "0?Set(__FROM_DID=s)") in new stack
[Sep 6 18:56:05] VERBOSE[18901] pbx.c: -- Executing [s@from-trunk:2] Gosub("SIP/GudOut-000000f7", "app-blacklist-check,s,1") in new stack
[Sep 6 18:56:05] VERBOSE[18901] pbx.c: -- Executing [s@app-blacklist-check:1] GotoIf("SIP/GudOut-000000f7", "0?blacklisted") in new stack
[Sep 6 18:56:05] VERBOSE[18901] pbx.c: -- Executing [s@app-blacklist-check:2] Set("SIP/GudOut-000000f7", "CALLED_BLACKLIST=1") in new stack
[Sep 6 18:56:05] VERBOSE[18901] pbx.c: -- Executing [s@app-blacklist-check:3] Return("SIP/GudOut-000000f7", "") in new stack
[Sep 6 18:56:05] VERBOSE[18901] pbx.c: -- Executing [s@from-trunk:3] ExecIf("SIP/GudOut-000000f7", "1 ?Set(CALLERID(name)=380952040427)") in new stack
[Sep 6 18:56:05] VERBOSE[18901] pbx.c: -- Executing [s@from-trunk:4] Set("SIP/GudOut-000000f7", "__CALLINGPRES_SV=allowed_not_screened") in new stack
[Sep 6 18:56:05] VERBOSE[18901] pbx.c: -- Executing [s@from-trunk:5] Set("SIP/GudOut-000000f7", "CALLERPRES()=allowed_not_screened") in new stack
[Sep 6 18:56:05] VERBOSE[18901] pbx.c: -- Executing [s@from-trunk:6] Goto("SIP/GudOut-000000f7", "app-announcement-2,s,1") in new stack
[Sep 6 18:56:05] VERBOSE[18901] pbx.c: -- Goto (app-announcement-2,s,1)
[Sep 6 18:56:05] VERBOSE[18901] pbx.c: -- Executing [s@app-announcement-2:1] GotoIf("SIP/GudOut-000000f7", "0?begin") in new stack
[Sep 6 18:56:05] VERBOSE[18901] pbx.c: -- Executing [s@app-announcement-2:2] Answer("SIP/GudOut-000000f7", "") in new stack
[Sep 6 18:56:05] VERBOSE[18901] pbx.c: -- Executing [s@app-announcement-2:3] Wait("SIP/GudOut-000000f7", "1") in new stack
[Sep 6 18:56:06] VERBOSE[18901] pbx.c: -- Executing [s@app-announcement-2:4] NoOp("SIP/GudOut-000000f7", "Playing announcement p1") in new stack
[Sep 6 18:56:06] VERBOSE[18901] pbx.c: -- Executing [s@app-announcement-2:5] Playback("SIP/GudOut-000000f7", "custom/p1,noanswer") in new stack
[Sep 6 18:56:06] VERBOSE[18901] file.c: -- <SIP/GudOut-000000f7> Playing 'custom/p1.slin' (language 'en')
[Sep 6 18:56:10] VERBOSE[18901] pbx.c: -- Executing [s@app-announcement-2:6] Goto("SIP/GudOut-000000f7", "app-announcement-1,s,1") in new stack
[Sep 6 18:56:10] VERBOSE[18901] pbx.c: -- Goto (app-announcement-1,s,1)
[Sep 6 18:56:10] VERBOSE[18901] pbx.c: -- Executing [s@app-announcement-1:1] GotoIf("SIP/GudOut-000000f7", "1?begin") in new stack
[Sep 6 18:56:10] VERBOSE[18901] pbx.c: -- Goto (app-announcement-1,s,4)
[Sep 6 18:56:10] VERBOSE[18901] pbx.c: -- Executing [s@app-announcement-1:4] NoOp("SIP/GudOut-000000f7", "Playing announcement p2") in new stack
[Sep 6 18:56:10] VERBOSE[18901] pbx.c: -- Executing [s@app-announcement-1:5] Playback("SIP/GudOut-000000f7", "custom/p2,noanswer") in new stack
[Sep 6 18:56:10] VERBOSE[18901] file.c: -- <SIP/GudOut-000000f7> Playing 'custom/p2.slin' (language 'en')
[Sep 6 18:56:13] VERBOSE[18901] pbx.c: -- Executing [s@app-announcement-1:6] Goto("SIP/GudOut-000000f7", "disa,1,1") in new stack
[Sep 6 18:56:13] VERBOSE[18901] pbx.c: -- Goto (disa,1,1)
[Sep 6 18:56:13] VERBOSE[18901] pbx.c: -- Executing [1@disa:1] Set("SIP/GudOut-000000f7", "_DISA="disa,1,newcall"") in new stack
[Sep 6 18:56:13] VERBOSE[18901] pbx.c: -- Executing [1@disa:2] Set("SIP/GudOut-000000f7", "_DISACONTEXT=from-internal") in new stack
[Sep 6 18:56:13] VERBOSE[18901] pbx.c: -- Executing [1@disa:3] Set("SIP/GudOut-000000f7", "_KEEPCID=TRUE") in new stack
[Sep 6 18:56:13] VERBOSE[18901] pbx.c: -- Executing [1@disa:4] Set("SIP/GudOut-000000f7", "_HANGUP=Hg") in new stack
[Sep 6 18:56:13] VERBOSE[18901] pbx.c: -- Executing [1@disa:5] Set("SIP/GudOut-000000f7", "TIMEOUT(digit)=5") in new stack
[Sep 6 18:56:13] VERBOSE[18901] func_timeout.c: -- Digit timeout set to 5.000
[Sep 6 18:56:13] VERBOSE[18901] pbx.c: -- Executing [1@disa:6] Set("SIP/GudOut-000000f7", "TIMEOUT(response)=10") in new stack
[Sep 6 18:56:13] VERBOSE[18901] func_timeout.c: -- Response timeout set to 10.000
[Sep 6 18:56:13] VERBOSE[18901] pbx.c: -- Executing [1@disa:7] Set("SIP/GudOut-000000f7", "CALLERID(all)="brrrr" <911>") in new stack
[Sep 6 18:56:13] VERBOSE[18901] pbx.c: -- Executing [1@disa:8] DISA("SIP/GudOut-000000f7", "no-password,disa-dial") in new stack
(blue) [Sep 6 18:56:15] NOTICE[2605] chan_iax2.c: No registration for peer '0952040427' (from 127.0.0.1)
(blue) [Sep 6 18:56:15] NOTICE[2607] chan_iax2.c: No registration for peer '0952040427' (from 127.0.0.1)
[Sep 6 18:56:29] VERBOSE[18901] pbx.c: -- Executing [095398077@disa-dial:1] NoOp("SIP/GudOut-000000f7", "called 095398077 in from-internal by disa,1,newcall") in new stack
[Sep 6 18:56:29] VERBOSE[18901] pbx.c: -- Executing [095398077@disa-dial:2] Dial("SIP/GudOut-000000f7", "Local/095398077@from-internal,300,Hg") in new stack
[Sep 6 18:56:29] VERBOSE[18901] app_dial.c: -- Called 095398077@from-internal
[Sep 6 18:56:29] VERBOSE[18902] pbx.c: -- Executing [095398077@from-internal:1] ResetCDR("Local/095398077@from-internal-9a30;2", "") in new stack
[Sep 6 18:56:29] VERBOSE[18902] pbx.c: -- Executing [095398077@from-internal:2] NoCDR("Local/095398077@from-internal-9a30;2", "") in new stack
[Sep 6 18:56:29] VERBOSE[18902] pbx.c: -- Executing [095398077@from-internal:3] Progress("Local/095398077@from-internal-9a30;2", "") in new stack
[Sep 6 18:56:29] VERBOSE[18902] pbx.c: -- Executing [095398077@from-internal:4] Wait("Local/095398077@from-internal-9a30;2", "1") in new stack
[Sep 6 18:56:29] VERBOSE[18901] app_dial.c: -- Local/095398077@from-internal-9a30;1 is making progress passing it to SIP/GudOut-000000f7
[Sep 6 18:56:30] VERBOSE[18902] pbx.c: -- Executing [095398077@from-internal:5] Progress("Local/095398077@from-internal-9a30;2", "") in new stack
[Sep 6 18:56:30] VERBOSE[18902] pbx.c: -- Executing [095398077@from-internal:6] Playback("Local/095398077@from-internal-9a30;2", "silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer") in new stack
[Sep 6 18:56:30] VERBOSE[18901] app_dial.c: -- Local/095398077@from-internal-9a30;1 is making progress passing it to SIP/GudOut-000000f7
[Sep 6 18:56:30] VERBOSE[18902] file.c: -- <Local/095398077@from-internal-9a30;2> Playing 'silence/1.gsm' (language 'en')
[Sep 6 18:56:31] VERBOSE[18902] file.c: -- <Local/095398077@from-internal-9a30;2> Playing 'cannot-complete-as-dialed.gsm' (language 'en')
[Sep 6 18:56:34] VERBOSE[18902] file.c: -- <Local/095398077@from-internal-9a30;2> Playing 'check-number-dial-again.gsm' (language 'en')
[Sep 6 18:56:36] VERBOSE[18902] pbx.c: -- Executing [095398077@from-internal:7] Wait("Local/095398077@from-internal-9a30;2", "1") in new stack
[Sep 6 18:56:37] VERBOSE[18902] pbx.c: -- Executing [095398077@from-internal:8] Congestion("Local/095398077@from-internal-9a30;2", "20") in new stack
[Sep 6 18:56:37] VERBOSE[18901] app_dial.c: -- Local/095398077@from-internal-9a30;1 is circuit-busy
[Sep 6 18:56:37] VERBOSE[18901] app_dial.c: == Everyone is busy/congested at this time (1:0/1/0)
[Sep 6 18:56:37] VERBOSE[18901] pbx.c: -- Executing [095398077@disa-dial:3] Gosub("SIP/GudOut-000000f7", "s-CONGESTION,1") in new stack
[Sep 6 18:56:37] VERBOSE[18901] pbx.c: -- Executing [s-CONGESTION@disa-dial:1] NoOp("SIP/GudOut-000000f7", "DISA Dial failed due to CONGESTION - returning to dial tone") in new stack
[Sep 6 18:56:37] VERBOSE[18901] pbx.c: -- Executing [s-CONGESTION@disa-dial:2] PlayTones("SIP/GudOut-000000f7", "congestion") in new stack
[Sep 6 18:56:37] VERBOSE[18901] pbx.c: -- Executing [s-CONGESTION@disa-dial:3] Wait("SIP/GudOut-000000f7", "3") in new stack
[Sep 6 18:56:37] VERBOSE[18902] pbx.c: == Spawn extension (from-internal, 095398077, 8) exited non-zero on 'Local/095398077@from-internal-9a30;2'
[Sep 6 18:56:37] VERBOSE[18902] pbx.c: -- Executing [h@from-internal:1] Macro("Local/095398077@from-internal-9a30;2", "hangupcall") in new stack
[Sep 6 18:56:37] VERBOSE[18902] pbx.c: -- Executing [s@macro-hangupcall:1] GotoIf("Local/095398077@from-internal-9a30;2", "1?noautomon") in new stack
[Sep 6 18:56:37] VERBOSE[18902] pbx.c: -- Goto (macro-hangupcall,s,3)
[Sep 6 18:56:37] VERBOSE[18902] pbx.c: -- Executing [s@macro-hangupcall:3] NoOp("Local/095398077@from-internal-9a30;2", "TOUCH_MONITOR_OUTPUT=") in new stack
[Sep 6 18:56:37] VERBOSE[18902] pbx.c: -- Executing [s@macro-hangupcall:4] GotoIf("Local/095398077@from-internal-9a30;2", "1?skiprg") in new stack
[Sep 6 18:56:37] VERBOSE[18902] pbx.c: -- Goto (macro-hangupcall,s,7)
[Sep 6 18:56:37] VERBOSE[18902] pbx.c: -- Executing [s@macro-hangupcall:7] GotoIf("Local/095398077@from-internal-9a30;2", "1?skipblkvm") in new stack
[Sep 6 18:56:37] VERBOSE[18902] pbx.c: -- Goto (macro-hangupcall,s,10)
[Sep 6 18:56:37] VERBOSE[18902] pbx.c: -- Executing [s@macro-hangupcall:10] GotoIf("Local/095398077@from-internal-9a30;2", "1?theend") in new stack
[Sep 6 18:56:37] VERBOSE[18902] pbx.c: -- Goto (macro-hangupcall,s,12)
[Sep 6 18:56:37] VERBOSE[18902] pbx.c: -- Executing [s@macro-hangupcall:12] Hangup("Local/095398077@from-internal-9a30;2", "") in new stack
[Sep 6 18:56:37] VERBOSE[18902] app_macro.c: == Spawn extension (macro-hangupcall, s, 12) exited non-zero on 'Local/095398077@from-internal-9a30;2' in macro 'hangupcall'
[Sep 6 18:56:37] VERBOSE[18902] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'Local/095398077@from-internal-9a30;2'
[Sep 6 18:56:40] VERBOSE[18901] pbx.c: -- Executing [s-CONGESTION@disa-dial:4] StopPlayTones("SIP/GudOut-000000f7", "") in new stack
[Sep 6 18:56:40] VERBOSE[18901] pbx.c: -- Executing [s-CONGESTION@disa-dial:5] Return("SIP/GudOut-000000f7", "") in new stack
[Sep 6 18:56:40] VERBOSE[18901] pbx.c: -- Executing [095398077@disa-dial:4] Goto("SIP/GudOut-000000f7", "disa,1,newcall") in new stack
[Sep 6 18:56:40] VERBOSE[18901] pbx.c: -- Goto (disa,1,2)
[Sep 6 18:56:40] VERBOSE[18901] pbx.c: -- Executing [1@disa:2] Set("SIP/GudOut-000000f7", "_DISACONTEXT=from-internal") in new stack
[Sep 6 18:56:40] VERBOSE[18901] pbx.c: -- Executing [1@disa:3] Set("SIP/GudOut-000000f7", "_KEEPCID=TRUE") in new stack
[Sep 6 18:56:40] VERBOSE[18901] pbx.c: -- Executing [1@disa:4] Set("SIP/GudOut-000000f7", "_HANGUP=Hg") in new stack
[Sep 6 18:56:40] VERBOSE[18901] pbx.c: -- Executing [1@disa:5] Set("SIP/GudOut-000000f7", "TIMEOUT(digit)=5") in new stack
[Sep 6 18:56:40] VERBOSE[18901] func_timeout.c: -- Digit timeout set to 5.000
[Sep 6 18:56:40] VERBOSE[18901] pbx.c: -- Executing [1@disa:6] Set("SIP/GudOut-000000f7", "TIMEOUT(response)=10") in new stack
[Sep 6 18:56:40] VERBOSE[18901] func_timeout.c: -- Response timeout set to 10.000
[Sep 6 18:56:40] VERBOSE[18901] pbx.c: -- Executing [1@disa:7] Set("SIP/GudOut-000000f7", "CALLERID(all)="brrrr" <911>") in new stack
[Sep 6 18:56:40] VERBOSE[18901] pbx.c: -- Executing [1@disa:8] DISA("SIP/GudOut-000000f7", "no-password,disa-dial") in new stack
[Sep 6 18:56:46] VERBOSE[18901] pbx.c: -- Executing [**@disa-dial:1] NoOp("SIP/GudOut-000000f7", "called ** in from-internal by disa,1,newcall") in new stack
[Sep 6 18:56:46] VERBOSE[18901] pbx.c: -- Executing [**@disa-dial:2] Dial("SIP/GudOut-000000f7", "Local/**@from-internal,300,Hg") in new stack
(blue) [Sep 6 18:56:46] NOTICE[18901] chan_local.c: No such extension/context **@from-internal while calling Local channel
[Sep 6 18:56:46] VERBOSE[18901] app_dial.c: -- Couldn't call **@from-internal
[Sep 6 18:56:46] VERBOSE[18901] app_dial.c: == Everyone is busy/congested at this time (0:0/0/0)
[Sep 6 18:56:46] VERBOSE[18901] pbx.c: -- Executing [**@disa-dial:3] Gosub("SIP/GudOut-000000f7", "s-CHANUNAVAIL,1") in new stack
[Sep 6 18:56:46] VERBOSE[18901] pbx.c: -- Executing [s-CHANUNAVAIL@disa-dial:1] NoOp("SIP/GudOut-000000f7", "DISA Dial failed due to CHANUNAVAIL - returning to dial tone") in new stack
[Sep 6 18:56:46] VERBOSE[18901] pbx.c: -- Executing [s-CHANUNAVAIL@disa-dial:2] PlayTones("SIP/GudOut-000000f7", "congestion") in new stack
[Sep 6 18:56:46] VERBOSE[18901] pbx.c: -- Executing [s-CHANUNAVAIL@disa-dial:3] Wait("SIP/GudOut-000000f7", "3") in new stack
[Sep 6 18:56:49] VERBOSE[18901] pbx.c: -- Executing [s-CHANUNAVAIL@disa-dial:4] StopPlayTones("SIP/GudOut-000000f7", "") in new stack
[Sep 6 18:56:49] VERBOSE[18901] pbx.c: -- Executing [s-CHANUNAVAIL@disa-dial:5] Return("SIP/GudOut-000000f7", "") in new stack
[Sep 6 18:56:49] VERBOSE[18901] pbx.c: -- Executing [**@disa-dial:4] Goto("SIP/GudOut-000000f7", "disa,1,newcall") in new stack
[Sep 6 18:56:49] VERBOSE[18901] pbx.c: -- Goto (disa,1,2)
[Sep 6 18:56:49] VERBOSE[18901] pbx.c: -- Executing [1@disa:2] Set("SIP/GudOut-000000f7", "_DISACONTEXT=from-internal") in new stack
[Sep 6 18:56:49] VERBOSE[18901] pbx.c: -- Executing [1@disa:3] Set("SIP/GudOut-000000f7", "_KEEPCID=TRUE") in new stack
[Sep 6 18:56:49] VERBOSE[18901] pbx.c: -- Executing [1@disa:4] Set("SIP/GudOut-000000f7", "_HANGUP=Hg") in new stack
[Sep 6 18:56:49] VERBOSE[18901] pbx.c: -- Executing [1@disa:5] Set("SIP/GudOut-000000f7", "TIMEOUT(digit)=5") in new stack
[Sep 6 18:56:49] VERBOSE[18901] func_timeout.c: -- Digit timeout set to 5.000
[Sep 6 18:56:49] VERBOSE[18901] pbx.c: -- Executing [1@disa:6] Set("SIP/GudOut-000000f7", "TIMEOUT(response)=10") in new stack
[Sep 6 18:56:49] VERBOSE[18901] func_timeout.c: -- Response timeout set to 10.000
[Sep 6 18:56:49] VERBOSE[18901] pbx.c: -- Executing [1@disa:7] Set("SIP/GudOut-000000f7", "CALLERID(all)="brrrr" <911>") in new stack
[Sep 6 18:56:49] VERBOSE[18901] pbx.c: -- Executing [1@disa:8] DISA("SIP/GudOut-000000f7", "no-password,disa-dial") in new stack
[Sep 6 18:56:54] VERBOSE[18901] pbx.c: == Spawn extension (disa, 1, 8) exited non-zero on 'SIP/GudOut-000000f7'
[Sep 6 18:57:17] VERBOSE[18903] manager.c: == Manager 'admin' logged on from 127.0.0.1

(blue) - Это я выделил 3 строки которые выделены синим цветом. Подскажите что именно не так в этих строках.


Есть предположение что проблемы здесь "from-internal" , если так, то дайте пинка, УКАЖИТЕ ВЕКТОР :)
2010-09-06 20:25

Avatara of zzuz
Откуда: SPb
Сообщений: 1307

Re: Elastix(FreePBX) и DISA

Нет шаблона для исходящих.
(blue) [Sep 6 18:56:46] NOTICE[18901] chan_local.c: No such extension/context **@from-internal while calling Local channel
http://линия24.рф - Астериск и прочие бубны!
2010-09-06 23:03

Сообщений: 32

Re: Elastix(FreePBX) и DISA

спс.
from-internal поменял на outbound-allroutes и все заработало :)

P.S.
(blue) [Sep 6 18:56:15] NOTICE[2605] chan_iax2.c: No registration for peer '0952040427' (from 127.0.0.1)
(blue) [Sep 6 18:56:15] NOTICE[2607] chan_iax2.c: No registration for peer '0952040427' (from 127.0.0.1)

А это что такое ?


P.S. Это мой номер мобилки, для которого сделан отдельный диалплан для тестирования всего что я делаю.
2010-09-07 00:06

Avatara of zzuz
Откуда: SPb
Сообщений: 1307

Re: Elastix(FreePBX) и DISA

Решистрация iax пира на астериск с локального интерфейса. Зачем?
http://линия24.рф - Астериск и прочие бубны!
2010-09-07 10:20

Сообщений: 32

Re: Elastix(FreePBX) и DISA

Я ничего подобного не делал, того и спрашиваю что это такое, где посмотреть и где отменить ????
2010-09-07 12:04

Avatara of zzuz
Откуда: SPb
Сообщений: 1307

Re: Elastix(FreePBX) и DISA

Само оно точно не появилось.
http://линия24.рф - Астериск и прочие бубны!
2010-09-07 15:33

Сообщений: 32

Re: Elastix(FreePBX) и DISA

zzuz:

Само оно точно не появилось.
Поиском искал 0952040427 - нашел этот номер только во входящих диалпланах, больше нигде нет. :(
2010-09-08 09:36

Avatara of zzuz
Откуда: SPb
Сообщений: 1307

Re: Elastix(FreePBX) и DISA

каким поиском?
grep 0952040427 /etc/asterisk/* ?
http://линия24.рф - Астериск и прочие бубны!
2010-09-09 19:06

Сообщений: 32

Re: Elastix(FreePBX) и DISA

mc
и так есть поиск по файлам и по содержимому
2010-09-09 23:55

Добавить страницу в закладки:  Delicious Google Slashdot Yahoo Yandex.ru Reddit Digg Technorati Bobrdobr.ru Newsland.ru Smi2.ru Rumarkz.ru Vaau.ru Memori.ru Rucity.com Moemesto.ru News2.ru Mister-Wong.ru Myscoop.ru 100zakladok.ru