Откуда: Чувашия, г.Шумерля
Сообщений: 14
|
Re: Как перенаправить звонок на второй сервер
zepps: sadmi, вам стоит начать с книжки Trixbox without tears. Далее вопросы будут конкретными и по существу. На них и будет ответ.
А нет ли этой книжки по-русски. Слова понимаю, а смысл не всегда, терминология для меня новая.
Но всетаки мне удалось настроить и Панасоник и Астериск. Осталась одна проблема не могу позвонить с Астериска на Панасоник, "дама" говорит все линии заняты. И вот, что в консоле:
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
-- Executing [7222@from-internal:1] Macro("SIP/401-08da2bd0", "user-callerid,SKIPTTL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/401-08da2bd0", "AMPUSER=401") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/401-08da2bd0", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/401-08da2bd0", "1?Set(REALCALLERIDNUM=401)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/401-08da2bd0", "AMPUSER=401") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/401-08da2bd0", "AMPUSERCIDNAME=401") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/401-08da2bd0", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/401-08da2bd0", "AMPUSERCID=401") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/401-08da2bd0", "CALLERID(all)="401" <401>") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/401-08da2bd0", "1?Set(CHANNEL(language)=ru)") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/401-08da2bd0", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("SIP/401-08da2bd0", "Using CallerID "401" <401>") in new stack
-- Executing [7222@from-internal:2] Set("SIP/401-08da2bd0", "_NODEST=") in new stack
-- Executing [7222@from-internal:3] Macro("SIP/401-08da2bd0", "record-enable,401,OUT,") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/401-08da2bd0", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/401-08da2bd0", "recordingcheck,20100819-081112,1282191072.36") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck,20100819-081112,1282191072.36: Outbound recording not enabled
-- <SIP/401-08da2bd0>AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] MacroExit("SIP/401-08da2bd0", "") in new stack
-- Executing [7222@from-internal:4] Macro("SIP/401-08da2bd0", "dialout-trunk,1,7222,,") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/401-08da2bd0", "DIAL_TRUNK=1") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/401-08da2bd0", "0?sub-pincheck,s,1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/401-08da2bd0", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/401-08da2bd0", "DIAL_NUMBER=7222") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/401-08da2bd0", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/401-08da2bd0", "OUTBOUND_GROUP=OUT_1") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/401-08da2bd0", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/401-08da2bd0", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/401-08da2bd0", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/401-08da2bd0", "outbound-callerid,1") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/401-08da2bd0", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/401-08da2bd0", "0?Set(REALCALLERIDNUM=401)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/401-08da2bd0", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/401-08da2bd0", "USEROUTCID=401") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/401-08da2bd0", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/401-08da2bd0", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/401-08da2bd0", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/401-08da2bd0", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/401-08da2bd0", "1?Set(CALLERID(all)=401)") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/401-08da2bd0", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/401-08da2bd0", "0?AGI(fixlocalprefix)") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/401-08da2bd0", "OUTNUM=7222") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/401-08da2bd0", "custom=DAHDI/g0") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/401-08da2bd0", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/401-08da2bd0", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/401-08da2bd0", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/401-08da2bd0", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/401-08da2bd0", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/401-08da2bd0", "DAHDI/g0/7222,300,") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:20] Goto("SIP/401-08da2bd0", "s-CHANUNAVAIL,1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] GotoIf("SIP/401-08da2bd0", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:3] NoOp("SIP/401-08da2bd0", "TRUNK Dial failed due to CHANUNAVAIL (hangupcause: 0) - failing through to other trunks") in new stack
-- Executing [7222@from-internal:5] Macro("SIP/401-08da2bd0", "outisbusy,") in new stack
-- Executing [s@macro-outisbusy:1] Playback("SIP/401-08da2bd0", "all-circuits-busy-now,noanswer") in new stack
-- <SIP/401-08da2bd0> Playing 'all-circuits-busy-now.slin' (language 'ru')
-- Executing [s@macro-outisbusy:2] Playback("SIP/401-08da2bd0", "pls-try-call-later,noanswer") in new stack
-- <SIP/401-08da2bd0> Playing 'pls-try-call-later.slin' (language 'ru')
-- Executing [s@macro-outisbusy:3] Macro("SIP/401-08da2bd0", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/401-08da2bd0", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/401-08da2bd0", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/401-08da2bd0", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("SIP/401-08da2bd0", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/401-08da2bd0' in macro 'hangupcall'
== Spawn extension (macro-outisbusy, s, 3) exited non-zero on 'SIP/401-08da2bd0' in macro 'outisbusy'
== Spawn extension (from-internal, 7222, 5) exited non-zero on 'SIP/401-08da2bd0'
-- Executing [h@from-internal:1] Macro("SIP/401-08da2bd0", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/401-08da2bd0", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/401-08da2bd0", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/401-08da2bd0", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("SIP/401-08da2bd0", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/401-08da2bd0' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/401-08da2bd0'
Может намекнете "куда смотреть"? Никак не соображу в каком месте ковырять.
|