== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [101@from-internal:1] Macro("SIP/2020-00000008", "user-callerid,LIMIT,EXTERNAL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/2020-00000008", "TOUCH_MONITOR=1384470543.8") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/2020-00000008", "AMPUSER=2020") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/2020-00000008", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/2020-00000008", "1?Set(REALCALLERIDNUM=2020)") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/2020-00000008", "AMPUSER=2020") in new stack
-- Executing [s@macro-user-callerid:6] Set("SIP/2020-00000008", "AMPUSERCIDNAME=Test20") in new stack
-- Executing [s@macro-user-callerid:7] GotoIf("SIP/2020-00000008", "0?report") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/2020-00000008", "AMPUSERCID=2020") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/2020-00000008", "__DIAL_OPTIONS=Ttr") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/2020-00000008", "CALLERID(all)="Test20" <2020>") in new stack
-- Executing [s@macro-user-callerid:11] GotoIf("SIP/2020-00000008", "0?limit") in new stack
-- Executing [s@macro-user-callerid:12] ExecIf("SIP/2020-00000008", "1?Set(GROUP(concurrency_limit)=2020)") in new stack
-- Executing [s@macro-user-callerid:13] ExecIf("SIP/2020-00000008", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:14] GosubIf("SIP/2020-00000008", "7?sub-ccss,s,1(from-internal,101)") in new stack
-- Executing [s@sub-ccss:1] ExecIf("SIP/2020-00000008", "0?Return()") in new stack
-- Executing [s@sub-ccss:2] Set("SIP/2020-00000008", "CCSS_SETUP=TRUE") in new stack
-- Executing [s@sub-ccss:3] GosubIf("SIP/2020-00000008", "0?monitor_config,1(from-internal,101):monitor_default,1(from-internal,101)") in new stack
-- Executing [monitor_default@sub-ccss:1] GotoIf("SIP/2020-00000008", "0?is_exten") in new stack
-- Executing [monitor_default@sub-ccss:2] StackPop("SIP/2020-00000008", "") in new stack
-- Executing [monitor_default@sub-ccss:3] Return("SIP/2020-00000008", "FALSE") in new stack
-- Executing [s@macro-user-callerid:15] GotoIf("SIP/2020-00000008", "1?continue") in new stack
-- Goto (macro-user-callerid,s,28)
-- Executing [s@macro-user-callerid:28] Set("SIP/2020-00000008", "CALLERID(number)=2020") in new stack
-- Executing [s@macro-user-callerid:29] Set("SIP/2020-00000008", "CALLERID(name)=Test20") in new stack
-- Executing [s@macro-user-callerid:30] Set("SIP/2020-00000008", "CDR(cnum)=2020") in new stack
-- Executing [s@macro-user-callerid:31] Set("SIP/2020-00000008", "CDR(cnam)=Test20") in new stack
-- Executing [s@macro-user-callerid:32] Set("SIP/2020-00000008", "CHANNEL(language)=ru") in new stack
-- Executing [101@from-internal:2] GosubIf("SIP/2020-00000008", "0?sub-diversion-header,s,1()") in new stack
-- Executing [101@from-internal:3] Set("SIP/2020-00000008", "INTRACOMPANYROUTE=YES") in new stack
-- Executing [101@from-internal:4] Set("SIP/2020-00000008", "MOHCLASS=default") in new stack
-- Executing [101@from-internal:5] Set("SIP/2020-00000008", "_NODEST=") in new stack
-- Executing [101@from-internal:6] Gosub("SIP/2020-00000008", "sub-record-check,s,1(out,101,)") in new stack
-- Executing [s@sub-record-check:1] Set("SIP/2020-00000008", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:2] GotoIf("SIP/2020-00000008", "1?check") in new stack
-- Goto (sub-record-check,s,7)
-- Executing [s@sub-record-check:7] Set("SIP/2020-00000008", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:8] GotoIf("SIP/2020-00000008", "1?next") in new stack
-- Goto (sub-record-check,s,11)
-- Executing [s@sub-record-check:11] ExecIf("SIP/2020-00000008", "0?Return()") in new stack
-- Executing [s@sub-record-check:12] ExecIf("SIP/2020-00000008", "0?Set(__REC_POLICY_MODE=)") in new stack
-- Executing [s@sub-record-check:13] GotoIf("SIP/2020-00000008", "0?out,1") in new stack
-- Executing [s@sub-record-check:14] Set("SIP/2020-00000008", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:15] Set("SIP/2020-00000008", "NOW=1384470543") in new stack
-- Executing [s@sub-record-check:16] Set("SIP/2020-00000008", "__DAY=15") in new stack
-- Executing [s@sub-record-check:17] Set("SIP/2020-00000008", "__MONTH=11") in new stack
-- Executing [s@sub-record-check:18] Set("SIP/2020-00000008", "__YEAR=2013") in new stack
-- Executing [s@sub-record-check:19] Set("SIP/2020-00000008", "__TIMESTR=20131115-030903") in new stack
-- Executing [s@sub-record-check:20] Set("SIP/2020-00000008", "__FROMEXTEN=2020") in new stack
-- Executing [s@sub-record-check:21] Set("SIP/2020-00000008", "__CALLFILENAME=out-101-2020-20131115-030903-1384470543.8") in new stack
-- Executing [s@sub-record-check:22] Goto("SIP/2020-00000008", "out,1") in new stack
-- Goto (sub-record-check,out,1)
-- Executing [out@sub-record-check:1] ExecIf("SIP/2020-00000008", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack
-- Executing [out@sub-record-check:2] GosubIf("SIP/2020-00000008", "0?record,1(exten,101,2020)") in new stack
-- Executing [out@sub-record-check:3] Return("SIP/2020-00000008", "") in new stack
-- Executing [101@from-internal:7] Macro("SIP/2020-00000008", "dialout-trunk,2,101,,off") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/2020-00000008", "DIAL_TRUNK=2") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/2020-00000008", "0?sub-pincheck,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/2020-00000008", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/2020-00000008", "DIAL_NUMBER=101") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/2020-00000008", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/2020-00000008", "OUTBOUND_GROUP=OUT_2") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/2020-00000008", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/2020-00000008", "1?skipoutcid") in new stack
-- Goto (macro-dialout-trunk,s,12)
-- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/2020-00000008", "0?sub-flp-2,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/2020-00000008", "OUTNUM=101") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/2020-00000008", "custom=SIP/7001") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/2020-00000008", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Ttr)") in new stack
-- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/2020-00000008", "0?Set(DIAL_TRUNK_OPTIONS=TtrM(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:17] Macro("SIP/2020-00000008", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/2020-00000008", "") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/2020-00000008", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/2020-00000008", "1?Set(CONNECTEDLINE(num,i)=101)") in new stack
-- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/2020-00000008", "1?Set(CONNECTEDLINE(name,i)=CID:2020)") in new stack
-- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/2020-00000008", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:22] Dial("SIP/2020-00000008", "SIP/7001/101,300,Ttr") in new stack
[2013-11-15 03:09:03] WARNING[17261]: app_dial.c:2345 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:23] NoOp("SIP/2020-00000008", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 20") in new stack
-- Executing [s@macro-dialout-trunk:24] GotoIf("SIP/2020-00000008", "0?continue,1:s-CHANUNAVAIL,1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/2020-00000008", "RC=20") in new stack
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/2020-00000008", "20,1") in new stack
-- Goto (macro-dialout-trunk,20,1)
-- Executing [20@macro-dialout-trunk:1] Goto("SIP/2020-00000008", "continue,1") in new stack
-- Goto (macro-dialout-trunk,continue,1)
-- Executing [continue@macro-dialout-trunk:1] NoOp("SIP/2020-00000008", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 20 - failing through to other trunks") in new stack
-- Executing [continue@macro-dialout-trunk:2] Set("SIP/2020-00000008", "CALLERID(number)=2020") in new stack
-- Executing [101@from-internal:8] Macro("SIP/2020-00000008", "outisbusy,") in new stack
-- Executing [s@macro-outisbusy:1] Progress("SIP/2020-00000008", "") in new stack
-- Executing [s@macro-outisbusy:2] GotoIf("SIP/2020-00000008", "0?emergency,1") in new stack
-- Executing [s@macro-outisbusy:3] GotoIf("SIP/2020-00000008", "1?intracompany,1") in new stack
-- Goto (macro-outisbusy,intracompany,1)
-- Executing [intracompany@macro-outisbusy:1] Playback("SIP/2020-00000008", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
-- <SIP/2020-00000008> Playing 'all-circuits-busy-now.alaw' (language 'ru')
-- <SIP/2020-00000008> Playing 'pls-try-call-later.alaw' (language 'ru')
-- Executing [intracompany@macro-outisbusy:2] Congestion("SIP/2020-00000008", "20") in new stack
== Spawn extension (macro-outisbusy, intracompany, 2) exited non-zero on 'SIP/2020-00000008' in macro 'outisbusy'
== Spawn extension (from-internal, 101, 8) exited non-zero on 'SIP/2020-00000008'
-- Executing [h@from-internal:1] Hangup("SIP/2020-00000008", "") in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/2020-00000008'