本帖最後由 亞星 於 2011-5-26 09:20 編輯
我都裝咗 AsteriskNow 1.4 with GUI 落部 ZOTAC ZBox-ID41 放公司測試, 不過唔知點解起咗條 Trunk 去屋企部 IP01 同 iptel, 但兩條 Trunk 都打唔出電話
=========================================================================
== Parsing '/etc/asterisk/asterisk.conf': Found
== Parsing '/etc/asterisk/extconfig.conf': Found
Connected to Asterisk 1.4.35 currently running on localhost (pid = 2894)
Verbosity is at least 3
-- Got SIP response 489 "Bad event" back from 183.xxx.xx.xx
-- Executing [6010@DLPN_DialPlan_Trunk:1] Macro("SIP/3022-00000002", "trunkdial-failover-0.3|SIP/trunk_2/||trunk_2|") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:1] GotoIf("SIP/3022-00000002", "0?1-fmsetcid|1") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:2] GotoIf("SIP/3022-00000002", "0?1-setgbobname|1") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:3] Set("SIP/3022-00000002", "CALLERID(num)=3022") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:4] GotoIf("SIP/3022-00000002", "0?1-dial|1") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:5] Set("SIP/3022-00000002", "CALLERID(all)=") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:6] Goto("SIP/3022-00000002", "1-dial|1") in new stack
-- Goto (macro-trunkdial-failover-0.3,1-dial,1)
-- Executing [1-dial@macro-trunkdial-failover-0.3:1] Dial("SIP/3022-00000002", "SIP/trunk_2/") in new stack
-- Called trunk_2/
-- SIP/trunk_2-00000003 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing [1-dial@macro-trunkdial-failover-0.3:2] GotoIf("SIP/3022-00000002", "0 > 0 ?1-CONGESTION|1:1-out|1") in new stack
-- Goto (macro-trunkdial-failover-0.3,1-out,1)
-- Executing [1-out@macro-trunkdial-failover-0.3:1] Hangup("SIP/3022-00000002", "") in new stack
== Spawn extension (macro-trunkdial-failover-0.3, 1-out, 1) exited non-zero on 'SIP/3022-00000002' in macro 'trunkdial-failover-0.3'
== Spawn extension (DLPN_DialPlan_Trunk, 6010, 1) exited non-zero on 'SIP/3022-00000002'
-- Executing [15xxxx@DLPN_DialPlan_Trunk:1] Macro("SIP/3022-00000004", "trunkdial-failover-0.3|SIP/trunk_1/||trunk_1|") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:1] GotoIf("SIP/3022-00000004", "0?1-fmsetcid|1") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:2] GotoIf("SIP/3022-00000004", "0?1-setgbobname|1") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:3] Set("SIP/3022-00000004", "CALLERID(num)=3022") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:4] GotoIf("SIP/3022-00000004", "0?1-dial|1") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:5] Set("SIP/3022-00000004", "CALLERID(all)=") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:6] Goto("SIP/3022-00000004", "1-dial|1") in new stack
-- Goto (macro-trunkdial-failover-0.3,1-dial,1)
-- Executing [1-dial@macro-trunkdial-failover-0.3:1] Dial("SIP/3022-00000004", "SIP/trunk_1/") in new stack
-- Called trunk_1/
-- SIP/trunk_1-00000005 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing [1-dial@macro-trunkdial-failover-0.3:2] GotoIf("SIP/3022-00000004", "0 > 0 ?1-CONGESTION|1:1-out|1") in new stack
-- Goto (macro-trunkdial-failover-0.3,1-out,1)
-- Executing [1-out@macro-trunkdial-failover-0.3:1] Hangup("SIP/3022-00000004", "") in new stack
== Spawn extension (macro-trunkdial-failover-0.3, 1-out, 1) exited non-zero on 'SIP/3022-00000004' in macro 'trunkdial-failover-0.3'
== Spawn extension (DLPN_DialPlan_Trunk, 155155, 1) exited non-zero on 'SIP/3022-00000004'
localhost*CLI> sip show registry
Host Username Refresh State Reg.Time
xxxxx.xxxxxxxx.net:5060 6298 105 Registered Wed, 25 May 2011 16:47:22
iptel.org:5060 xx.office 225 Registered Wed, 25 May 2011 16:45:00
-- Got SIP response 489 "Bad event" back from 183.xxx.xx.xx
localhost*CLI> |