หน้า Outbound route ครับ
หน้า zaptrunk ครับ
และสุดท้าย เป็น ผลการใช้งานลองโทรออกผ่านโปรแกรม X-lite> จาก Linux promt ครับ
-- Executing [3@disa:2] Set("SIP/3000-00000003", "_DISA=disa^3^newcall") in new stack
-- Executing [3@disa:3] Set("SIP/3000-00000003", "_DISACONTEXT=from-internal") in new stack
-- Executing [3@disa:4] Set("SIP/3000-00000003", "_KEEPCID=TRUE") in new stack
-- Executing [3@disa:5] Set("SIP/3000-00000003", "_HANGUP=m") in new stack
-- Executing [3@disa:6] Set("SIP/3000-00000003", "TIMEOUT(digit)=10") in new stack
-- Digit timeout set to 10.000
-- Executing [3@disa:7] Set("SIP/3000-00000003", "TIMEOUT(response)=15") in new stack
-- Response timeout set to 15.000
-- Executing [3@disa:8] DISA("SIP/3000-00000003", "no-password,disa-dial") in new stack
-- Executing [0830512232@disa-dial:1] NoOp("SIP/3000-00000003", "called 0830512232 in from-internal by ID: 3") in new stack
-- Executing [0830512232@disa-dial:2] Dial("SIP/3000-00000003", "Local/0830512232@from-internal,300,m") in new stack
-- Called Local/0830512232@from-internal
-- Started music on hold, class 'default', on SIP/3000-00000003
-- Executing [0830512232@from-internal:1] Macro("Local/0830512232@from-internal-36fc;2", "user-callerid,SKIPTTL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("Local/0830512232@from-internal-36fc;2", "AMPUSER=3000") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("Local/0830512232@from-internal-36fc;2", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s@macro-user-callerid:10] GotoIf("Local/0830512232@from-internal-36fc;2", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] Set("Local/0830512232@from-internal-36fc;2", "CALLERID(number)=3000") in new stack
-- Executing [s@macro-user-callerid:20] Set("Local/0830512232@from-internal-36fc;2", "CALLERID(name)=Boyz") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("Local/0830512232@from-internal-36fc;2", "Using CallerID "Boyz" <3000>") in new stack
-- Executing [0830512232@from-internal:2] NoOp("Local/0830512232@from-internal-36fc;2", "Calling Out Route: 9_outside") in new stack
-- Executing [0830512232@from-internal:3] Set("Local/0830512232@from-internal-36fc;2", "MOHCLASS=default") in new stack
-- Executing [0830512232@from-internal:4] Set("Local/0830512232@from-internal-36fc;2", "_NODEST=") in new stack
-- Executing [0830512232@from-internal:5] Macro("Local/0830512232@from-internal-36fc;2", "record-enable,3000,OUT,") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("Local/0830512232@from-internal-36fc;2", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("Local/0830512232@from-internal-36fc;2", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("Local/0830512232@from-internal-36fc;2", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("Local/0830512232@from-internal-36fc;2", "0?IN") in new stack
-- Executing [s@macro-record-enable:16] ExecIf("Local/0830512232@from-internal-36fc;2", "1?MacroExit()") in new stack
-- Executing [0830512232@from-internal:6] Macro("Local/0830512232@from-internal-36fc;2", "dialout-trunk,1,0830512232,") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("Local/0830512232@from-internal-36fc;2", "DIAL_TRUNK=1") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("Local/0830512232@from-internal-36fc;2", "0?sub-pincheck,s,1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("Local/0830512232@from-internal-36fc;2", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("Local/0830512232@from-internal-36fc;2", "DIAL_NUMBER=0830512232") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("Local/0830512232@from-internal-36fc;2", "DIAL_TRUNK_OPTIONS=tm") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("Local/0830512232@from-internal-36fc;2", "OUTBOUND_GROUP=OUT_1") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("Local/0830512232@from-internal-36fc;2", "0?nomax") in new stack
-- Executing [s@macro-dialout-trunk:8] GotoIf("Local/0830512232@from-internal-36fc;2", "0?chanfull") in new stack
-- Executing [s@macro-dialout-trunk:9] GotoIf("Local/0830512232@from-internal-36fc;2", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("Local/0830512232@from-internal-36fc;2", "DIAL_TRUNK_OPTIONS=m") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("Local/0830512232@from-internal-36fc;2", "outbound-callerid,1") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("Local/0830512232@from-internal-36fc;2", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("Local/0830512232@from-internal-36fc;2", "1?Set(REALCALLERIDNUM=3000)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("Local/0830512232@from-internal-36fc;2", "0?normcid") in new stack
-- Executing [s@macro-outbound-callerid:4] Set("Local/0830512232@from-internal-36fc;2", "USEROUTCID=3000") in new stack
-- Executing [s@macro-outbound-callerid:5] GotoIf("Local/0830512232@from-internal-36fc;2", "0?bypass") in new stack
-- Executing [s@macro-outbound-callerid:6] Set("Local/0830512232@from-internal-36fc;2", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("Local/0830512232@from-internal-36fc;2", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("Local/0830512232@from-internal-36fc;2", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("Local/0830512232@from-internal-36fc;2", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("Local/0830512232@from-internal-36fc;2", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("Local/0830512232@from-internal-36fc;2", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("Local/0830512232@from-internal-36fc;2", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("Local/0830512232@from-internal-36fc;2", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("Local/0830512232@from-internal-36fc;2", "1?sub-flp-1,s,1") in new stack
-- Executing [s@sub-flp-1:1] ExecIf("Local/0830512232@from-internal-36fc;2", "1?Return()") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("Local/0830512232@from-internal-36fc;2", "OUTNUM=0830512232") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("Local/0830512232@from-internal-36fc;2", "custom=DAHDI/g4") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("Local/0830512232@from-internal-36fc;2", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)m)") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("Local/0830512232@from-internal-36fc;2", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("Local/0830512232@from-internal-36fc;2", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("Local/0830512232@from-internal-36fc;2", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("Local/0830512232@from-internal-36fc;2", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("Local/0830512232@from-internal-36fc;2", "DAHDI/g4/0830512232,300,m") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:20] NoOp("Local/0830512232@from-internal-36fc;2", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 6") in new stack
-- Executing [s@macro-dialout-trunk:21] Goto("Local/0830512232@from-internal-36fc;2", "s-CHANUNAVAIL,1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("Local/0830512232@from-internal-36fc;2", "RC=6") in new stack
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("Local/0830512232@from-internal-36fc;2", "6,1") in new stack
-- Goto (macro-dialout-trunk,6,1)
-- Executing [6@macro-dialout-trunk:1] Goto("Local/0830512232@from-internal-36fc;2", "continue,1") in new stack
-- Goto (macro-dialout-trunk,continue,1)
-- Executing [continue@macro-dialout-trunk:1] GotoIf("Local/0830512232@from-internal-36fc;2", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,continue,3)
-- Executing [continue@macro-dialout-trunk:3] NoOp("Local/0830512232@from-internal-36fc;2", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 6 - failing through to other trunks") in new stack
-- Executing [continue@macro-dialout-trunk:4] Set("Local/0830512232@from-internal-36fc;2", "CALLERID(number)=3000") in new stack
-- Executing [0830512232@from-internal:7] Macro("Local/0830512232@from-internal-36fc;2", "outisbusy,") in new stack
-- Executing [s@macro-outisbusy:1] Progress("Local/0830512232@from-internal-36fc;2", "") in new stack
-- Local/0830512232@from-internal-36fc;1 is making progress passing it to SIP/3000-00000003
-- Executing [s@macro-outisbusy:2] GotoIf("Local/0830512232@from-internal-36fc;2", "0?emergency,1") in new stack
-- Executing [s@macro-outisbusy:3] GotoIf("Local/0830512232@from-internal-36fc;2", "0?intracompany,1") in new stack
-- Executing [s@macro-outisbusy:4] Playback("Local/0830512232@from-internal-36fc;2", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
-- <Local/0830512232@from-internal-36fc;2> Playing 'all-circuits-busy-now.gsm' (language 'en')
-- <Local/0830512232@from-internal-36fc;2> Playing 'pls-try-call-later.gsm' (language 'en')
-- Executing [s@macro-outisbusy:5] Congestion("Local/0830512232@from-internal-36fc;2", "20") in new stack
-- Local/0830512232@from-internal-36fc;1 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Stopped music on hold on SIP/3000-00000003
== Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'Local/0830512232@from-internal-36fc;2' in macro 'outisbusy'
== Spawn extension (from-internal, 0830512232, 7) exited non-zero on 'Local/0830512232@from-internal-36fc;2'
-- Executing [h@from-internal:1] Macro("Local/0830512232@from-internal-36fc;2", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("Local/0830512232@from-internal-36fc;2", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] NoOp("Local/0830512232@from-internal-36fc;2", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("Local/0830512232@from-internal-36fc;2", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,15)
-- Executing [s@macro-hangupcall:15] NoOp("Local/0830512232@from-internal-36fc;2", "MEETME_RECORDINGFILE=") in new stack
-- Executing [s@macro-hangupcall:16] GotoIf("Local/0830512232@from-internal-36fc;2", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,18)
-- Executing [s@macro-hangupcall:18] NoOp("Local/0830512232@from-internal-36fc;2", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:19] GotoIf("Local/0830512232@from-internal-36fc;2", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,25)
-- Executing [s@macro-hangupcall:25] NoOp("Local/0830512232@from-internal-36fc;2", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:26] GotoIf("Local/0830512232@from-internal-36fc;2", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,29)
-- Executing [s@macro-hangupcall:29] GotoIf("Local/0830512232@from-internal-36fc;2", "1?skipblkvm") in new stack
-- Executing [0830512232@disa-dial:3] Gosub("SIP/3000-00000003", "s-CONGESTION,1") in new stack
-- Goto (macro-hangupcall,s,32)
-- Executing [s-CONGESTION@disa-dial:1] NoOp("SIP/3000-00000003", "DISA Dial failed due to CONGESTION - returning to dial tone") in new stack
-- Executing [s@macro-hangupcall:32] GotoIf("Local/0830512232@from-internal-36fc;2", "1?theend") in new stack
-- Executing [s-CONGESTION@disa-dial:2] PlayTones("SIP/3000-00000003", "congestion") in new stack
-- Goto (macro-hangupcall,s,34)
-- Executing [s@macro-hangupcall:34] Hangup("Local/0830512232@from-internal-36fc;2", "") in new stack
-- Executing [s-CONGESTION@disa-dial:3] Wait("SIP/3000-00000003", "3") in new stack
== Spawn extension (macro-hangupcall, s, 34) exited non-zero on 'Local/0830512232@from-internal-36fc;2' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'Local/0830512232@from-internal-36fc;2'
== Spawn extension (disa-dial, s-CONGESTION, 3) exited non-zero on 'SIP/3000-00000003'
น้องขอโทษที่ต้องรบกวนพี่หนุ่ยนะครับ มีโอกาส น้องอยากเจอพี่แบบตัวเป็นด้วยซ้ำ ห้าๆๆๆ ขอบคุณมากครับ