โดย smuchcha » 28 มิ.ย. 2011 01:32
ผมได้ลองทดสอบดูครับปรากฏว่าโทรเข้าได้ครับแต่โทรออกไม่ได้ครับ
ทั้งเบอร์ที่เป็นเบอร์บ้านและเบอร์ตู้PBX ครับ
รบกวนท่านผู้รู้ตอบหน่อยคัรบ
Error ที่ soft phone บอกว่า not acceptable here 488
-- Executing [90890965618@from-internal:1] Macro("SIP/1101-00000006", "user-callerid|SKIPTTL|") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/1101-00000006", "AMPUSER=1101") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/1101-00000006", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/1101-00000006", "1|Set|REALCALLERIDNUM=1101") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/1101-00000006", "AMPUSER=1101") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/1101-00000006", "AMPUSERCIDNAME=1101") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/1101-00000006", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/1101-00000006", "AMPUSERCID=1101") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/1101-00000006", "CALLERID(all)="1101" <1101>") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/1101-00000006", "0|Set|CHANNEL(language)=") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/1101-00000006", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("SIP/1101-00000006", "Using CallerID "1101" <1101>") in new stack
-- Executing [90890965618@from-internal:2] Set("SIP/1101-00000006", "_NODEST=") in new stack
-- Executing [90890965618@from-internal:3] Macro("SIP/1101-00000006", "record-enable|1101|OUT|") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/1101-00000006", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/1101-00000006", "recordingcheck|20110628-012656|1309199216.10") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20110628-012656|1309199216.10: Outbound recording enabled.
recordingcheck|20110628-012656|1309199216.10: CALLFILENAME=OUT1101-20110628-012656-1309199216.10
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:999] MixMonitor("SIP/1101-00000006", "OUT1101-20110628-012656-1309199216.10.gsm||") in new stack
-- Executing [s@macro-record-enable:1000] Set("SIP/1101-00000006", "CDR(userfield)=audio:OUT1101-20110628-012656-1309199216.10.gsm") in new stack
-- Executing [90890965618@from-internal:4] Macro("SIP/1101-00000006", "dialout-trunk|1|0890965618||") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/1101-00000006", "DIAL_TRUNK=1") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/1101-00000006", "0?sub-pincheck|s|1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/1101-00000006", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/1101-00000006", "DIAL_NUMBER=0890965618") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/1101-00000006", "DIAL_TRUNK_OPTIONS=trwW") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/1101-00000006", "OUTBOUND_GROUP=OUT_1") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/1101-00000006", "0?nomax") in new stack
-- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/1101-00000006", "0?chanfull") in new stack
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/1101-00000006", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/1101-00000006", "DIAL_TRUNK_OPTIONS=wW") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/1101-00000006", "outbound-callerid|1") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/1101-00000006", "0|SetCallerPres|") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/1101-00000006", "0|Set|REALCALLERIDNUM=1101") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/1101-00000006", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/1101-00000006", "USEROUTCID="1101"<1101>") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/1101-00000006", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/1101-00000006", "TRUNKOUTCID="029380705"<029380705>") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/1101-00000006", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/1101-00000006", "1|Set|CALLERID(all)=029380705<029380705>") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/1101-00000006", "1|Set|CALLERID(all)=1101<1101>") in new stack
== Begin MixMonitor Recording SIP/1101-00000006
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/1101-00000006", "0|SetCallerPres|prohib_passed_screen") in new stack
-- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/1101-00000006", "1|AGI|fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
> fixlocalprefix: Using pattern X.
== fixlocalprefix: Dialpattern X. matched. 0890965618 -> 0890965618
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk:13] Set("SIP/1101-00000006", "OUTNUM=0890965618") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/1101-00000006", "custom=DAHDI/4") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/1101-00000006", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)wW") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/1101-00000006", "dialout-trunk-predial-hook|") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/1101-00000006", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/1101-00000006", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/1101-00000006", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/1101-00000006", "DAHDI/4/0890965618|300|wW") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:20] Goto("SIP/1101-00000006", "s-CHANUNAVAIL|1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] GotoIf("SIP/1101-00000006", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:3] NoOp("SIP/1101-00000006", "TRUNK Dial failed due to CHANUNAVAIL (hangupcause: 58) - failing through to other trunks") in new stack
-- Executing [90890965618@from-internal:5] Macro("SIP/1101-00000006", "outisbusy|") in new stack
-- Executing [s@macro-outisbusy:1] Playback("SIP/1101-00000006", "all-circuits-busy-now|noanswer") in new stack
-- Executing [s@macro-outisbusy:2] Playback("SIP/1101-00000006", "pls-try-call-later|noanswer") in new stack
-- Executing [s@macro-outisbusy:3] Macro("SIP/1101-00000006", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/1101-00000006", "0?endmixmoncheck") in new stack
-- Executing [s@macro-hangupcall:2] Set("SIP/1101-00000006", "MIXMON_CALLFILENAME=/var/spool/asterisk/monitor/OUT1101-20110628-012656-1309199216.10.gsm") in new stack
-- Executing [s@macro-hangupcall:3] GotoIf("SIP/1101-00000006", "1?defaultmixmondir") in new stack
-- Goto (macro-hangupcall,s,5)
-- Executing [s@macro-hangupcall:5] System("SIP/1101-00000006", "test -e /var/spool/asterisk/monitor/OUT1101-20110628-012656-1309199216.10.gsm") in new stack
-- Executing [s@macro-hangupcall:6] NoOp("SIP/1101-00000006", "SYSTEMSTATUS = APPERROR") in new stack
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/1101-00000006", "0?endmixmoncheck") in new stack
-- Executing [s@macro-hangupcall:8] Set("SIP/1101-00000006", "CDR(userfield)=") in new stack
-- Executing [s@macro-hangupcall:9] NoOp("SIP/1101-00000006", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("SIP/1101-00000006", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,12)
-- Executing [s@macro-hangupcall:12] NoOp("SIP/1101-00000006", "MEETME_RECORDINGFILE=") in new stack
-- Executing [s@macro-hangupcall:13] GotoIf("SIP/1101-00000006", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,15)
-- Executing [s@macro-hangupcall:15] NoOp("SIP/1101-00000006", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:16] GotoIf("SIP/1101-00000006", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,18)
-- Executing [s@macro-hangupcall:18] NoOp("SIP/1101-00000006", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:19] GotoIf("SIP/1101-00000006", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,22)
-- Executing [s@macro-hangupcall:22] GotoIf("SIP/1101-00000006", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,25)
-- Executing [s@macro-hangupcall:25] GotoIf("SIP/1101-00000006", "1?theend") in new stack
-- Goto (macro-hangupcall,s,27)
-- Executing [s@macro-hangupcall:27] Hangup("SIP/1101-00000006", "") in new stack
== Spawn extension (macro-hangupcall, s, 27) exited non-zero on 'SIP/1101-00000006' in macro 'hangupcall'
== Spawn extension (macro-outisbusy, s, 3) exited non-zero on 'SIP/1101-00000006' in macro 'outisbusy'
== Spawn extension (from-internal, 90890965618, 5) exited non-zero on 'SIP/1101-00000006'
-- Executing [h@from-internal:1] Macro("SIP/1101-00000006", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/1101-00000006", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] NoOp("SIP/1101-00000006", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("SIP/1101-00000006", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,12)
-- Executing [s@macro-hangupcall:12] NoOp("SIP/1101-00000006", "MEETME_RECORDINGFILE=") in new stack
-- Executing [s@macro-hangupcall:13] GotoIf("SIP/1101-00000006", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,15)
-- Executing [s@macro-hangupcall:15] NoOp("SIP/1101-00000006", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:16] GotoIf("SIP/1101-00000006", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,18)
-- Executing [s@macro-hangupcall:18] NoOp("SIP/1101-00000006", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:19] GotoIf("SIP/1101-00000006", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,22)
-- Executing [s@macro-hangupcall:22] GotoIf("SIP/1101-00000006", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,25)
-- Executing [s@macro-hangupcall:25] GotoIf("SIP/1101-00000006", "1?theend") in new stack
-- Goto (macro-hangupcall,s,27)
-- Executing [s@macro-hangupcall:27] Hangup("SIP/1101-00000006", "") in new stack
== Spawn extension (macro-hangupcall, s, 27) exited non-zero on 'SIP/1101-00000006' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/1101-00000006'
== End MixMonitor Recording SIP/1101-00000006
elastix*CLI>