สวัสดีครับ
ไม่ทราบว่า จากรูปที่แนบให้ดูถือว่าระบบมันมองเห็น หรือเปล่าครับ เพราะลองตัดออกไปข้างนอก แล้วระบบมันตัดทิ้งทันทีเลยครับ
มี Log ตัวอย่างมาให้ดูด้วยครับ
[Oct 13 17:32:47] -- Executing [0@from-internal:1] Macro("SIP/5009-00000012", "user-callerid,SKIPTTL,") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-user-callerid:1] ExecIf("SIP/5009-00000012", "0]?Set(CALLERID(number)=05009)") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-user-callerid:2] ExecIf("SIP/5009-00000012", "0]?Set(CALLERID(number)=05009)") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-user-callerid:3] ExecIf("SIP/5009-00000012", "0?Set(CALLERID(number)=9)") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-user-callerid:4] Set("SIP/5009-00000012", "AMPUSER=5009") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-user-callerid:5] GotoIf("SIP/5009-00000012", "0?report") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-user-callerid:6] ExecIf("SIP/5009-00000012", "1?Set(REALCALLERIDNUM=5009)") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-user-callerid:7] Set("SIP/5009-00000012", "AMPUSER=5009") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-user-callerid:8] Set("SIP/5009-00000012", "AMPUSERCIDNAME=5009") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-user-callerid:9] GotoIf("SIP/5009-00000012", "0?report") in new stack
ใครพอช่วยแนะนำได้บ้างครับ
ขอบคุณมากครับ
[Oct 13 17:32:47] -- Executing [s@macro-user-callerid:10] Set("SIP/5009-00000012", "AMPUSERCID=5009") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-user-callerid:11] Set("SIP/5009-00000012", "CALLERID(all)="5009" <5009>") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-user-callerid:12] ExecIf("SIP/5009-00000012", "0?Set(CHANNEL(language)=)") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-user-callerid:13] GotoIf("SIP/5009-00000012", "1?continue") in new stack
[Oct 13 17:32:47] -- Goto (macro-user-callerid,s,22)
[Oct 13 17:32:47] -- Executing [s@macro-user-callerid:22] NoOp("SIP/5009-00000012", "Using CallerID "5009" <5009>") in new stack
[Oct 13 17:32:47] -- Executing [0@from-internal:2] NoOp("SIP/5009-00000012", "Calling Out Route: To_Opr") in new stack
[Oct 13 17:32:47] -- Executing [0@from-internal:3] Set("SIP/5009-00000012", "_NODEST=") in new stack
[Oct 13 17:32:47] -- Executing [0@from-internal:4] Macro("SIP/5009-00000012", "record-enable,5009,OUT,") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-record-enable:1] GotoIf("SIP/5009-00000012", "1?check") in new stack
[Oct 13 17:32:47] -- Goto (macro-record-enable,s,4)
[Oct 13 17:32:47] -- Executing [s@macro-record-enable:4] ExecIf("SIP/5009-00000012", "0?MacroExit()") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-record-enable:5] GotoIf("SIP/5009-00000012", "0?Group:OUT") in new stack
[Oct 13 17:32:47] -- Goto (macro-record-enable,s,15)
[Oct 13 17:32:47] -- Executing [s@macro-record-enable:15] GotoIf("SIP/5009-00000012", "0?IN") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-record-enable:16] ExecIf("SIP/5009-00000012", "1?MacroExit()") in new stack
[Oct 13 17:32:47] -- Executing [0@from-internal:5] Macro("SIP/5009-00000012", "dialout-trunk,8,0,") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-dialout-trunk:1] Set("SIP/5009-00000012", "DIAL_TRUNK=8") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/5009-00000012", "0?sub-pincheck,s,1") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/5009-00000012", "0?disabletrunk,1") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-dialout-trunk:4] Set("SIP/5009-00000012", "DIAL_NUMBER=0") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-dialout-trunk:5] Set("SIP/5009-00000012", "DIAL_TRUNK_OPTIONS=tr") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-dialout-trunk:6] Set("SIP/5009-00000012", "OUTBOUND_GROUP=OUT_8") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/5009-00000012", "1?nomax") in new stack
[Oct 13 17:32:47] -- Goto (macro-dialout-trunk,s,9)
[Oct 13 17:32:47] -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/5009-00000012", "0?skipoutcid") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-dialout-trunk:10] Set("SIP/5009-00000012", "DIAL_TRUNK_OPTIONS=") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-dialout-trunk:11] Macro("SIP/5009-00000012", "outbound-callerid,8") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/5009-00000012", "0?Set(CALLERPRES()=)") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/5009-00000012", "0?Set(REALCALLERIDNUM=5009)") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/5009-00000012", "1?normcid") in new stack
[Oct 13 17:32:47] -- Goto (macro-outbound-callerid,s,6)
[Oct 13 17:32:47] -- Executing [s@macro-outbound-callerid:6] Set("SIP/5009-00000012", "USEROUTCID=") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-outbound-callerid:7] Set("SIP/5009-00000012", "EMERGENCYCID=") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-outbound-callerid:8] Set("SIP/5009-00000012", "TRUNKOUTCID=") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/5009-00000012", "1?trunkcid") in new stack
[Oct 13 17:32:47] -- Goto (macro-outbound-callerid,s,12)
[Oct 13 17:32:47] -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/5009-00000012", "0?Set(CALLERID(all)=)") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/5009-00000012", "0?Set(CALLERID(all)=)") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/5009-00000012", "0?Set(CALLERID(all)=)") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/5009-00000012", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/5009-00000012", "1?sub-flp-8,s,1") in new stack
[Oct 13 17:32:47] -- Executing [s@sub-flp-8:1] ExecIf("SIP/5009-00000012", "1?Set(TARGET_FLP_8=2990)") in new stack
[Oct 13 17:32:47] -- Executing [s@sub-flp-8:2] GotoIf("SIP/5009-00000012", "1?match") in new stack
[Oct 13 17:32:47] -- Goto (sub-flp-8,s,4)
[Oct 13 17:32:47] -- Executing [s@sub-flp-8:4] Set("SIP/5009-00000012", "DIAL_NUMBER=2990") in new stack
[Oct 13 17:32:47] -- Executing [s@sub-flp-8:5] Return("SIP/5009-00000012", "") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-dialout-trunk:13] Set("SIP/5009-00000012", "OUTNUM=2990") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-dialout-trunk:14] Set("SIP/5009-00000012", "custom=DAHDI/r0") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/5009-00000012", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-dialout-trunk:16] Macro("SIP/5009-00000012", "dialout-trunk-predial-hook,") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/5009-00000012", "") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/5009-00000012", "0?bypass,1") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/5009-00000012", "0?customtrunk") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-dialout-trunk:19] Dial("SIP/5009-00000012", "DAHDI/r0/2990,300,") in new stack
[Oct 13 17:32:47] == Everyone is busy/congested at this time (1:0/0/1)
[Oct 13 17:32:47] -- Executing [s@macro-dialout-trunk:20] NoOp("SIP/5009-00000012", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 66") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-dialout-trunk:21] Goto("SIP/5009-00000012", "s-CHANUNAVAIL,1") in new stack
[Oct 13 17:32:47] -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
[Oct 13 17:32:47] -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/5009-00000012", "RC=66") in new stack
[Oct 13 17:32:47] -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/5009-00000012", "66,1") in new stack
[Oct 13 17:32:47] -- Goto (macro-dialout-trunk,66,1)
[Oct 13 17:32:47] -- Executing [66@macro-dialout-trunk:1] Goto("SIP/5009-00000012", "continue,1") in new stack
[Oct 13 17:32:47] -- Goto (macro-dialout-trunk,continue,1)
[Oct 13 17:32:47] -- Executing [continue@macro-dialout-trunk:1] GotoIf("SIP/5009-00000012", "1?noreport") in new stack
[Oct 13 17:32:47] -- Goto (macro-dialout-trunk,continue,3)
[Oct 13 17:32:47] -- Executing [continue@macro-dialout-trunk:3] NoOp("SIP/5009-00000012", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 66 - failing through to other trunks") in new stack
[Oct 13 17:32:47] -- Executing [continue@macro-dialout-trunk:4] Set("SIP/5009-00000012", "CALLERID(number)=5009") in new stack
[Oct 13 17:32:47] -- Executing [0@from-internal:6] Macro("SIP/5009-00000012", "outisbusy,") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-outisbusy:1] Progress("SIP/5009-00000012", "") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-outisbusy:2] GotoIf("SIP/5009-00000012", "0?emergency,1") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-outisbusy:3] GotoIf("SIP/5009-00000012", "0?intracompany,1") in new stack
[Oct 13 17:32:47] -- Executing [s@macro-outisbusy:4] Playback("SIP/5009-00000012", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
[Oct 13 17:32:47] -- <SIP/5009-00000012> Playing 'all-circuits-busy-now.gsm' (language 'en')
[Oct 13 17:32:48] -- <SIP/5009-00000012> Playing 'pls-try-call-later.gsm' (language 'en')
[Oct 13 17:32:51] -- Executing [s@macro-outisbusy:5] Congestion("SIP/5009-00000012", "20") in new stack
[Oct 13 17:32:51] == Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'SIP/5009-00000012' in macro 'outisbusy'
[Oct 13 17:32:51] == Spawn extension (from-internal, 0, 6) exited non-zero on 'SIP/5009-00000012'
[Oct 13 17:32:51] -- Executing [h@from-internal:1] Macro("SIP/5009-00000012", "hangupcall") in new stack
[Oct 13 17:32:51] -- Executing [s@macro-hangupcall:1] GotoIf("SIP/5009-00000012", "1?endmixmoncheck") in new stack
[Oct 13 17:32:51] -- Goto (macro-hangupcall,s,9)
[Oct 13 17:32:51] -- Executing [s@macro-hangupcall:9] NoOp("SIP/5009-00000012", "End of MIXMON check") in new stack
[Oct 13 17:32:51] -- Executing [s@macro-hangupcall:10] GotoIf("SIP/5009-00000012", "1?nomeetmemon") in new stack
[Oct 13 17:32:51] -- Goto (macro-hangupcall,s,28)
[Oct 13 17:32:51] -- Executing [s@macro-hangupcall:28] NoOp("SIP/5009-00000012", "End of MEETME check") in new stack
[Oct 13 17:32:51] -- Executing [s@macro-hangupcall:29] GotoIf("SIP/5009-00000012", "1?noautomon") in new stack
[Oct 13 17:32:51] -- Goto (macro-hangupcall,s,34)
[Oct 13 17:32:51] -- Executing [s@macro-hangupcall:34] NoOp("SIP/5009-00000012", "TOUCH_MONITOR_OUTPUT=") in new stack
[Oct 13 17:32:51] -- Executing [s@macro-hangupcall:35] GotoIf("SIP/5009-00000012", "1?noautomon2") in new stack
[Oct 13 17:32:51] -- Goto (macro-hangupcall,s,41)
[Oct 13 17:32:51] -- Executing [s@macro-hangupcall:41] NoOp("SIP/5009-00000012", "MONITOR_FILENAME=") in new stack
[Oct 13 17:32:51] -- Executing [s@macro-hangupcall:42] GotoIf("SIP/5009-00000012", "1?skiprg") in new stack
[Oct 13 17:32:51] -- Goto (macro-hangupcall,s,45)
[Oct 13 17:32:51] -- Executing [s@macro-hangupcall:45] GotoIf("SIP/5009-00000012", "1?skipblkvm") in new stack
[Oct 13 17:32:51] -- Goto (macro-hangupcall,s,48)
[Oct 13 17:32:51] -- Executing [s@macro-hangupcall:48] GotoIf("SIP/5009-00000012", "1?theend") in new stack
[Oct 13 17:32:51] -- Goto (macro-hangupcall,s,50)
[Oct 13 17:32:51] -- Executing [s@macro-hangupcall:50] AGI("SIP/5009-00000012", "hangup.agi") in new stack
[Oct 13 17:32:51] -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
[Oct 13 17:32:51] -- <SIP/5009-00000012>AGI Script hangup.agi completed, returning 0
[Oct 13 17:32:51] -- Executing [s@macro-hangupcall:51] Hangup("SIP/5009-00000012", "") in new stack
[Oct 13 17:32:51] == Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'SIP/5009-00000012' in macro 'hangupcall'
[Oct 13 17:32:51] == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/5009-00000012'