-- Executing [2001@from-internal:1] Macro("Local/2001@from-internal-00000012;2", "user-callerid,LIMIT,EXTERNAL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("Local/2001@from-internal-00000012;2", "TOUCH_MONITOR=1542278651.62") in new stack
-- Executing [s@macro-user-callerid:2] Set("Local/2001@from-internal-00000012;2", "AMPUSER=2001") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("Local/2001@from-internal-00000012;2", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("Local/2001@from-internal-00000012;2", "1?Set(REALCALLERIDNUM=2001)") in new stack
-- Executing [s@macro-user-callerid:5] Set("Local/2001@from-internal-00000012;2", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("Local/2001@from-internal-00000012;2", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("Local/2001@from-internal-00000012;2", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("Local/2001@from-internal-00000012;2", "1?report") in new stack
-- Goto (macro-user-callerid,s,16)
-- Executing [s@macro-user-callerid:16] GotoIf("Local/2001@from-internal-00000012;2", "1?continue") in new stack
-- Goto (macro-user-callerid,s,30)
-- Executing [s@macro-user-callerid:30] Set("Local/2001@from-internal-00000012;2", "CALLERID(number)=2001") in new stack
-- Executing [s@macro-user-callerid:31] Set("Local/2001@from-internal-00000012;2", "CALLERID(name)=MonAst Invited") in new stack
-- Executing [s@macro-user-callerid:32] Set("Local/2001@from-internal-00000012;2", "CDR(cnum)=2001") in new stack
-- Executing [s@macro-user-callerid:33] Set("Local/2001@from-internal-00000012;2", "CDR(cnam)=MonAst Invited") in new stack
-- Executing [s@macro-user-callerid:34] Set("Local/2001@from-internal-00000012;2", "CHANNEL(language)=ru") in new stack
-- Executing [2001@from-internal:2] ExecIf("Local/2001@from-internal-00000012;2", "0 ?Set(CDR(accountcode)=)") in new stack
-- Executing [2001@from-internal:3] Set("Local/2001@from-internal-00000012;2", "MOHCLASS=default") in new stack
-- Executing [2001@from-internal:4] Set("Local/2001@from-internal-00000012;2", "_NODEST=") in new stack
-- Executing [2001@from-internal:5] Gosub("Local/2001@from-internal-00000012;2", "sub-record-check,s,1(out,2001,)") in new stack
-- Executing [s@sub-record-check:1] Set("Local/2001@from-internal-00000012;2", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:2] GotoIf("Local/2001@from-internal-00000012;2", "1?check") in new stack
-- Goto (sub-record-check,s,7)
-- Executing [s@sub-record-check:7] Set("Local/2001@from-internal-00000012;2", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:8] GotoIf("Local/2001@from-internal-00000012;2", "1?next") in new stack
-- Goto (sub-record-check,s,11)
-- Executing [s@sub-record-check:11] ExecIf("Local/2001@from-internal-00000012;2", "0?Return()") in new stack
-- Executing [s@sub-record-check:12] ExecIf("Local/2001@from-internal-00000012;2", "0?Set(__REC_POLICY_MODE=)") in new stack
-- Executing [s@sub-record-check:13] GotoIf("Local/2001@from-internal-00000012;2", "0?out,1") in new stack
-- Executing [s@sub-record-check:14] Set("Local/2001@from-internal-00000012;2", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:15] Set("Local/2001@from-internal-00000012;2", "NOW=1542278651") in new stack
-- Executing [s@sub-record-check:16] Set("Local/2001@from-internal-00000012;2", "__DAY=15") in new stack
-- Executing [s@sub-record-check:17] Set("Local/2001@from-internal-00000012;2", "__MONTH=11") in new stack
-- Executing [s@sub-record-check:18] Set("Local/2001@from-internal-00000012;2", "__YEAR=2018") in new stack
-- Executing [s@sub-record-check:19] Set("Local/2001@from-internal-00000012;2", "__TIMESTR=20181115-134411") in new stack
-- Executing [s@sub-record-check:20] Set("Local/2001@from-internal-00000012;2", "__FROMEXTEN=2001") in new stack
-- Executing [s@sub-record-check:21] Set("Local/2001@from-internal-00000012;2", "__CALLFILENAME=out-2001-2001-20181115-134411-1542278651.62") in new stack
-- Executing [s@sub-record-check:22] Goto("Local/2001@from-internal-00000012;2", "out,1") in new stack
-- Goto (sub-record-check,out,1)
-- Executing [out@sub-record-check:1] ExecIf("Local/2001@from-internal-00000012;2", "1?Set(__REC_POLICY_MODE=)") in new stack
-- Executing [out@sub-record-check:2] GosubIf("Local/2001@from-internal-00000012;2", "0?record,1(exten,2001,2001)") in new stack
-- Executing [out@sub-record-check:3] Return("Local/2001@from-internal-00000012;2", "") in new stack
-- Executing [2001@from-internal:6] Macro("Local/2001@from-internal-00000012;2", "dialout-trunk,2,2001,,off") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("Local/2001@from-internal-00000012;2", "DIAL_TRUNK=2") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("Local/2001@from-internal-00000012;2", "0?sub-pincheck,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("Local/2001@from-internal-00000012;2", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("Local/2001@from-internal-00000012;2", "DIAL_NUMBER=2001") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("Local/2001@from-internal-00000012;2", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("Local/2001@from-internal-00000012;2", "OUTBOUND_GROUP=OUT_2") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("Local/2001@from-internal-00000012;2", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("Local/2001@from-internal-00000012;2", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("Local/2001@from-internal-00000012;2", "DIAL_TRUNK_OPTIONS=Tt") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("Local/2001@from-internal-00000012;2", "outbound-callerid,2") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("Local/2001@from-internal-00000012;2", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("Local/2001@from-internal-00000012;2", "0?Set(REALCALLERIDNUM=2001)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("Local/2001@from-internal-00000012;2", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("Local/2001@from-internal-00000012;2", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("Local/2001@from-internal-00000012;2", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("Local/2001@from-internal-00000012;2", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("Local/2001@from-internal-00000012;2", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,14)
-- Executing [s@macro-outbound-callerid:14] ExecIf("Local/2001@from-internal-00000012;2", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("Local/2001@from-internal-00000012;2", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:16] ExecIf("Local/2001@from-internal-00000012;2", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:17] ExecIf("Local/2001@from-internal-00000012;2", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:18] Set("Local/2001@from-internal-00000012;2", "CDR(outbound_cnum)=2001") in new stack
-- Executing [s@macro-outbound-callerid:19] Set("Local/2001@from-internal-00000012;2", "CDR(outbound_cnam)=MonAst Invited") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("Local/2001@from-internal-00000012;2", "0?sub-flp-2,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("Local/2001@from-internal-00000012;2", "OUTNUM=2001") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("Local/2001@from-internal-00000012;2", "custom=SIP/test_on_test2") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("Local/2001@from-internal-00000012;2", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
-- Executing [s@macro-dialout-trunk:16] ExecIf("Local/2001@from-internal-00000012;2", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:17] Macro("Local/2001@from-internal-00000012;2", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("Local/2001@from-internal-00000012;2", "") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("Local/2001@from-internal-00000012;2", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:19] ExecIf("Local/2001@from-internal-00000012;2", "0?Set(CONNECTEDLINE(num,i)=2001)") in new stack
-- Executing [s@macro-dialout-trunk:20] ExecIf("Local/2001@from-internal-00000012;2", "0?Set(CONNECTEDLINE(name,i)=CID:2001)") in new stack
-- Executing [s@macro-dialout-trunk:21] GotoIf("Local/2001@from-internal-00000012;2", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:22] Dial("Local/2001@from-internal-00000012;2", "SIP/test_on_test2/2001,300,Tt") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/test_on_test2/2001
[2018-11-15 13:44:11] NOTICE[2285][C-00000020]: chan_sip.c:23011 handle_response_invite: Failed to authenticate on INVITE to '"MonAst Invited" <sip:2001@XX.XXX.XX.XXX>;tag=as1016772a'
-- SIP/test_on_test2-0000000f is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing [s@macro-dialout-trunk:23] NoOp("Local/2001@from-internal-00000012;2", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 21") in new stack
-- Executing [s@macro-dialout-trunk:24] GotoIf("Local/2001@from-internal-00000012;2", "0?continue,1:s-CONGESTION,1") in new stack
-- Goto (macro-dialout-trunk,s-CONGESTION,1)
-- Executing [s-CONGESTION@macro-dialout-trunk:1] Set("Local/2001@from-internal-00000012;2", "RC=21") in new stack
-- Executing [s-CONGESTION@macro-dialout-trunk:2] Goto("Local/2001@from-internal-00000012;2", "21,1") in new stack
-- Goto (macro-dialout-trunk,21,1)
-- Executing [21@macro-dialout-trunk:1] Goto("Local/2001@from-internal-00000012;2", "continue,1") in new stack
-- Goto (macro-dialout-trunk,continue,1)
-- Executing [continue@macro-dialout-trunk:1] NoOp("Local/2001@from-internal-00000012;2", "TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 21 - failing through to other trunks") in new stack
-- Executing [continue@macro-dialout-trunk:2] Set("Local/2001@from-internal-00000012;2", "CALLERID(number)=") in new stack
-- Executing [2001@from-internal:7] Macro("Local/2001@from-internal-00000012;2", "outisbusy,") in new stack
-- Executing [s@macro-outisbusy:1] Progress("Local/2001@from-internal-00000012;2", "") in new stack
-- Executing [s@macro-outisbusy:2] GotoIf("Local/2001@from-internal-00000012;2", "0?emergency,1") in new stack
-- Executing [s@macro-outisbusy:3] GotoIf("Local/2001@from-internal-00000012;2", "0?intracompany,1") in new stack
-- Executing [s@macro-outisbusy:4] Playback("Local/2001@from-internal-00000012;2", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
-- <Local/2001@from-internal-00000012;2> Playing 'all-circuits-busy-now.slin' (language 'ru')
-- <Local/2001@from-internal-00000012;2> Playing 'pls-try-call-later.slin' (language 'ru')
-- Executing [s@macro-outisbusy:5] Congestion("Local/2001@from-internal-00000012;2", "20") in new stack
[2018-11-15 13:44:16] WARNING[11455][C-00000020]: channel.c:4860 ast_prod: Prodding channel 'Local/2001@from-internal-00000012;2' failed
== Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'Local/2001@from-internal-00000012;2' in macro 'outisbusy'
== Spawn extension (from-internal, 2001, 7) exited non-zero on 'Local/2001@from-internal-00000012;2'
-- Executing [h@from-internal:1] Hangup("Local/2001@from-internal-00000012;2", "") in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on 'Local/2001@from-internal-00000012;2