โดย heartbeat » 22 เม.ย. 2011 13:38
เป็นอย่างนี้อ่ะครับ กด 491 เข้า elastix แล้วกด 8113 สายไม่ว่างแล้ววางสายครับ
-- Starting simple switch on 'DAHDI/1-1'
-- Executing [s@from-pstn:1] Set("DAHDI/1-1", "__FROM_DID=s") in new stack
-- Executing [s@from-pstn:2] Gosub("DAHDI/1-1", "app-blacklist-check,s,1") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("DAHDI/1-1", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("DAHDI/1-1", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:3] Return("DAHDI/1-1", "") in new stack
-- Executing [s@from-pstn:3] ExecIf("DAHDI/1-1", "1 ?Set(CALLERID(name)=115)") in new stack
-- Executing [s@from-pstn:4] Set("DAHDI/1-1", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [s@from-pstn:5] Set("DAHDI/1-1", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [s@from-pstn:6] Goto("DAHDI/1-1", "disa,1,1") in new stack
-- Goto (disa,1,1)
-- Executing [1@disa:1] Set("DAHDI/1-1", "_DISA="disa,1,newcall"") in new stack
-- Executing [1@disa:2] Set("DAHDI/1-1", "_DISACONTEXT=from-internal") in new stack
-- Executing [1@disa:3] Set("DAHDI/1-1", "_KEEPCID=TRUE") in new stack
-- Executing [1@disa:4] Set("DAHDI/1-1", "TIMEOUT(digit)=5") in new stack
-- Digit timeout set to 5.000
-- Executing [1@disa:5] Set("DAHDI/1-1", "TIMEOUT(response)=10") in new stack
-- Response timeout set to 10.000
-- Executing [1@disa:6] DISA("DAHDI/1-1", "no-password,disa-dial") in new stack
-- Executing [8113@disa-dial:1] NoOp("DAHDI/1-1", "called 8113 in from-internal by disa,1,newcall") in new stack
-- Executing [8113@disa-dial:2] Dial("DAHDI/1-1", "Local/8113@from-internal,300,") in new stack
-- Called 8113@from-internal
-- Executing [8113@from-internal:1] Macro("Local/8113@from-internal-2067;2", "user-callerid,SKIPTTL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("Local/8113@from-internal-2067;2", "AMPUSER=115") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("Local/8113@from-internal-2067;2", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s@macro-user-callerid:10] GotoIf("Local/8113@from-internal-2067;2", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("Local/8113@from-internal-2067;2", "Using CallerID "115" <115>") in new stack
-- Executing [8113@from-internal:2] Set("Local/8113@from-internal-2067;2", "_NODEST=") in new stack
-- Executing [8113@from-internal:3] Macro("Local/8113@from-internal-2067;2", "record-enable,115,OUT,") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("Local/8113@from-internal-2067;2", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("Local/8113@from-internal-2067;2", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("Local/8113@from-internal-2067;2", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("Local/8113@from-internal-2067;2", "0?IN") in new stack
-- Executing [s@macro-record-enable:16] ExecIf("Local/8113@from-internal-2067;2", "1?MacroExit()") in new stack
-- Executing [8113@from-internal:4] Macro("Local/8113@from-internal-2067;2", "dialout-trunk,6,113,,") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("Local/8113@from-internal-2067;2", "DIAL_TRUNK=6") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("Local/8113@from-internal-2067;2", "0?sub-pincheck,s,1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("Local/8113@from-internal-2067;2", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("Local/8113@from-internal-2067;2", "DIAL_NUMBER=113") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("Local/8113@from-internal-2067;2", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("Local/8113@from-internal-2067;2", "OUTBOUND_GROUP=OUT_6") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("Local/8113@from-internal-2067;2", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("Local/8113@from-internal-2067;2", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("Local/8113@from-internal-2067;2", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("Local/8113@from-internal-2067;2", "outbound-callerid,6") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("Local/8113@from-internal-2067;2", "1?Set(CALLERPRES()=allowed_not_screened)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("Local/8113@from-internal-2067;2", "1?Set(REALCALLERIDNUM=115)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("Local/8113@from-internal-2067;2", "0?normcid") in new stack
-- Executing [s@macro-outbound-callerid:4] Set("Local/8113@from-internal-2067;2", "USEROUTCID=115") in new stack
-- Executing [s@macro-outbound-callerid:5] GotoIf("Local/8113@from-internal-2067;2", "1?bypass") in new stack
-- Goto (macro-outbound-callerid,s,7)
-- Executing [s@macro-outbound-callerid:7] Set("Local/8113@from-internal-2067;2", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("Local/8113@from-internal-2067;2", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("Local/8113@from-internal-2067;2", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("Local/8113@from-internal-2067;2", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("Local/8113@from-internal-2067;2", "1?Set(CALLERID(all)=115)") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("Local/8113@from-internal-2067;2", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("Local/8113@from-internal-2067;2", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-dialout-trunk:12] ExecIf("Local/8113@from-internal-2067;2", "0?AGI(fixlocalprefix)") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("Local/8113@from-internal-2067;2", "OUTNUM=113") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("Local/8113@from-internal-2067;2", "custom=IAX2/to_bp") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("Local/8113@from-internal-2067;2", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("Local/8113@from-internal-2067;2", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("Local/8113@from-internal-2067;2", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("Local/8113@from-internal-2067;2", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("Local/8113@from-internal-2067;2", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("Local/8113@from-internal-2067;2", "IAX2/to_bp/113,300,") in new stack
-- Called to_bp/113
-- Call accepted by 10.10.30.3 (format g729)
-- Format for call is g729
-- IAX2/to_bp-17388 answered Local/8113@from-internal-2067;2
-- Local/8113@from-internal-2067;1 answered DAHDI/1-1
-- Executing [h@macro-dialout-trunk:1] Macro("Local/8113@from-internal-2067;2", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("Local/8113@from-internal-2067;2", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] NoOp("Local/8113@from-internal-2067;2", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:4] GotoIf("Local/8113@from-internal-2067;2", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("Local/8113@from-internal-2067;2", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,10)
-- Executing [s@macro-hangupcall:10] GotoIf("Local/8113@from-internal-2067;2", "1?theend") in new stack
-- Goto (macro-hangupcall,s,12)
-- Executing [s@macro-hangupcall:12] Hangup("Local/8113@from-internal-2067;2", "") in new stack
== Spawn extension (macro-hangupcall, s, 12) exited non-zero on 'Local/8113@from-internal-2067;2' in macro 'hangupcall'
== Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'Local/8113@from-internal-2067;2' in macro 'dialout-trunk'
== Spawn extension (from-internal, 8113, 4) exited non-zero on 'Local/8113@from-internal-2067;2'
-- Hungup 'IAX2/to_bp-17388'
== Spawn extension (disa-dial, 8113, 2) exited non-zero on 'DAHDI/1-1'
-- Hungup 'DAHDI/1-1'