== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [89060000000@from-internal:1] Macro("SIP/723-00001ed8", "user-callerid,LIMIT") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/723-00001ed8", "TOUCH_MONITOR=1490616346.9043") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/723-00001ed8", "AMPUSER=723") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/723-00001ed8", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/723-00001ed8", "1?Set(REALCALLERIDNUM=723)") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/723-00001ed8", "AMPUSER=723") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/723-00001ed8", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/723-00001ed8", "AMPUSERCIDNAME= D.A. 723") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/723-00001ed8", "0?report") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/723-00001ed8", "AMPUSERCID=723") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/723-00001ed8", "__DIAL_OPTIONS=Ttr") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/723-00001ed8", "CALLERID(all)=" D.A. 723" <723>") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/723-00001ed8", "0?limit") in new stack
-- Executing [s@macro-user-callerid:13] ExecIf("SIP/723-00001ed8", "1?Set(GROUP(concurrency_limit)=723)") in new stack
-- Executing [s@macro-user-callerid:14] ExecIf("SIP/723-00001ed8", "1?Set(CHANNEL(language)=ru)") in new stack
-- Executing [s@macro-user-callerid:15] GotoIf("SIP/723-00001ed8", "1?continue") in new stack
-- Goto (macro-user-callerid,s,29)
-- Executing [s@macro-user-callerid:29] Set("SIP/723-00001ed8", "CALLERID(number)=723") in new stack
-- Executing [s@macro-user-callerid:30] Set("SIP/723-00001ed8", "CALLERID(name)= D.A. 723") in new stack
-- Executing [s@macro-user-callerid:31] GotoIf("SIP/723-00001ed8", "0?cnum") in new stack
-- Executing [s@macro-user-callerid:32] Set("SIP/723-00001ed8", "CDR(cnam)= D.A. 723") in new stack
-- Executing [s@macro-user-callerid:33] Set("SIP/723-00001ed8", "CDR(cnum)=723") in new stack
-- Executing [s@macro-user-callerid:34] Set("SIP/723-00001ed8", "CHANNEL(language)=ru") in new stack
-- Executing [89060000000@from-internal:2] Set("SIP/723-00001ed8", "ROUTEUSER=723") in new stack
-- Executing [89060000000@from-internal:3] GotoIf("SIP/723-00001ed8", "1?notblind") in new stack
-- Goto (from-internal,89060000000,6)
-- Executing [89060000000@from-internal:6] GotoIf("SIP/723-00001ed8", "1?restrictedroute-e4da3b7fbbce2345d7772b0674a318d5,89060000000,2:outbound-allroutes,89060000000,2") in new stack
-- Goto (restrictedroute-e4da3b7fbbce2345d7772b0674a318d5,89060000000,2)
-- Executing [89060000000@restrictedroute-e4da3b7fbbce2345d7772b0674a318d5:2] Gosub("SIP/723-00001ed8", "sub-record-check,s,1(out,89060000000,yes)") in new stack
-- Executing [s@sub-record-check:1] GotoIf("SIP/723-00001ed8", "0?initialized") in new stack
-- Executing [s@sub-record-check:2] Set("SIP/723-00001ed8", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:3] Set("SIP/723-00001ed8", "NOW=1490616346") in new stack
-- Executing [s@sub-record-check:4] Set("SIP/723-00001ed8", "__DAY=27") in new stack
-- Executing [s@sub-record-check:5] Set("SIP/723-00001ed8", "__MONTH=03") in new stack
-- Executing [s@sub-record-check:6] Set("SIP/723-00001ed8", "__YEAR=2017") in new stack
-- Executing [s@sub-record-check:7] Set("SIP/723-00001ed8", "__TIMESTR=20170327-150546") in new stack
-- Executing [s@sub-record-check:8] Set("SIP/723-00001ed8", "__FROMEXTEN=723") in new stack
-- Executing [s@sub-record-check:9] Set("SIP/723-00001ed8", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:10] NoOp("SIP/723-00001ed8", "Recordings initialized") in new stack
-- Executing [s@sub-record-check:11] ExecIf("SIP/723-00001ed8", "0?Set(ARG3=dontcare)") in new stack
-- Executing [s@sub-record-check:12] Set("SIP/723-00001ed8", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:13] ExecIf("SIP/723-00001ed8", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [s@sub-record-check:14] GotoIf("SIP/723-00001ed8", "3?checkaction") in new stack
-- Goto (sub-record-check,s,17)
-- Executing [s@sub-record-check:17] GotoIf("SIP/723-00001ed8", "1?sub-record-check,out,1") in new stack
-- Goto (sub-record-check,out,1)
-- Executing [out@sub-record-check:1] NoOp("SIP/723-00001ed8", "Outbound Recording Check from 723 to 89060000000") in new stack
-- Executing [out@sub-record-check:2] Set("SIP/723-00001ed8", "RECMODE=dontcare") in new stack
-- Executing [out@sub-record-check:3] ExecIf("SIP/723-00001ed8", "1?Goto(routewins)") in new stack
-- Goto (sub-record-check,out,7)
-- Executing [out@sub-record-check:7] Gosub("SIP/723-00001ed8", "recordcheck,1(yes,out,89060000000)") in new stack
-- Executing [recordcheck@sub-record-check:1] NoOp("SIP/723-00001ed8", "Starting recording check against yes") in new stack
-- Executing [recordcheck@sub-record-check:2] Goto("SIP/723-00001ed8", "yes") in new stack
-- Goto (sub-record-check,recordcheck,9)
-- Executing [recordcheck@sub-record-check:9] ExecIf("SIP/723-00001ed8", "0?Return()") in new stack
-- Executing [recordcheck@sub-record-check:10] Set("SIP/723-00001ed8", "__REC_POLICY_MODE=YES") in new stack
-- Executing [recordcheck@sub-record-check:11] Goto("SIP/723-00001ed8", "startrec") in new stack
-- Goto (sub-record-check,recordcheck,16)
-- Executing [recordcheck@sub-record-check:16] NoOp("SIP/723-00001ed8", "Starting recording: out, 89060000000") in new stack
-- Executing [recordcheck@sub-record-check:17] Set("SIP/723-00001ed8", "AUDIOHOOK_INHERIT(MixMonitor)=yes") in new stack
-- Executing [recordcheck@sub-record-check:18] Set("SIP/723-00001ed8", "__CALLFILENAME=out-89060000000-723-20170327-150546-1490616346.9043") in new stack
-- Executing [recordcheck@sub-record-check:19] MixMonitor("SIP/723-00001ed8", "/mnt/backup/monitor/2017/03/27/out-89060000000-723-20170327-150546-1490616346.9043.wav,ai(LOCAL_MIXMON_ID),/etc/asterisk/scripts/mixmon-mp3-2.sh ^{YEAR} ^{MONTH} ^{DAY} ^{CALLFILENAME} ^{MIXMON_FORMAT} ^{MIXMON_DIR}") in new stack
-- Executing [recordcheck@sub-record-check:20] Set("SIP/723-00001ed8", "__MIXMON_ID=0xb38dfb58") in new stack
-- Executing [recordcheck@sub-record-check:21] Set("SIP/723-00001ed8", "__RECORD_ID=SIP/723-00001ed8") in new stack
-- Executing [recordcheck@sub-record-check:22] Set("SIP/723-00001ed8", "__REC_STATUS=RECORDING") in new stack
-- Executing [recordcheck@sub-record-check:23] Set("SIP/723-00001ed8", "CDR(recordingfile)=out-89060000000-723-20170327-150546-1490616346.9043.wav") in new stack
-- Executing [recordcheck@sub-record-check:24] Return("SIP/723-00001ed8", "") in new stack
-- Executing [out@sub-record-check:8] Return("SIP/723-00001ed8", "") in new stack
-- Executing [89060000000@restrictedroute-e4da3b7fbbce2345d7772b0674a318d5:3] ExecIf("SIP/723-00001ed8", "0 ?Set(CDR(accountcode)=)") in new stack
== Begin MixMonitor Recording SIP/723-00001ed8
-- Executing [89060000000@restrictedroute-e4da3b7fbbce2345d7772b0674a318d5:4] Set("SIP/723-00001ed8", "MOHCLASS=default") in new stack
-- Executing [89060000000@restrictedroute-e4da3b7fbbce2345d7772b0674a318d5:5] Set("SIP/723-00001ed8", "_NODEST=") in new stack
-- Executing [89060000000@restrictedroute-e4da3b7fbbce2345d7772b0674a318d5:6] Macro("SIP/723-00001ed8", "dialout-trunk,35,+79060000000,,on") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/723-00001ed8", "DIAL_TRUNK=35") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/723-00001ed8", "0?sub-pincheck,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/723-00001ed8", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/723-00001ed8", "DIAL_NUMBER=+79060000000") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/723-00001ed8", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/723-00001ed8", "OUTBOUND_GROUP=OUT_35") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/723-00001ed8", "0?nomax") in new stack
-- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/723-00001ed8", "1?chanfull") in new stack
-- Goto (macro-dialout-trunk,s,34)
-- Executing [s@macro-dialout-trunk:34] NoOp("SIP/723-00001ed8", "max channels used up") in new stack
-- Executing [89060000000@restrictedroute-e4da3b7fbbce2345d7772b0674a318d5:7] Macro("SIP/723-00001ed8", "dialout-trunk,34,+79060000000,,on") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/723-00001ed8", "DIAL_TRUNK=34") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/723-00001ed8", "0?sub-pincheck,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/723-00001ed8", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/723-00001ed8", "DIAL_NUMBER=+79060000000") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/723-00001ed8", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/723-00001ed8", "OUTBOUND_GROUP=OUT_34") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/723-00001ed8", "0?nomax") in new stack
-- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/723-00001ed8", "0?chanfull") in new stack
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/723-00001ed8", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/723-00001ed8", "DIAL_TRUNK_OPTIONS=T") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/723-00001ed8", "outbound-callerid,34") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/723-00001ed8", "0?Set(CALLERPRES(name-pres)=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/723-00001ed8", "0?Set(CALLERPRES(num-pres)=)") in new stack
-- Executing [s@macro-outbound-callerid:3] ExecIf("SIP/723-00001ed8", "0?Set(REALCALLERIDNUM=723)") in new stack
-- Executing [s@macro-outbound-callerid:4] GotoIf("SIP/723-00001ed8", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,7)
-- Executing [s@macro-outbound-callerid:7] Set("SIP/723-00001ed8", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/723-00001ed8", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:9] Set("SIP/723-00001ed8", "TRUNKOUTCID=+79657263650") in new stack
-- Executing [s@macro-outbound-callerid:10] GotoIf("SIP/723-00001ed8", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,15)
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/723-00001ed8", "1?Set(CALLERID(all)=+79657263650)") in new stack
-- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/723-00001ed8", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/723-00001ed8", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:18] ExecIf("SIP/723-00001ed8", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:19] ExecIf("SIP/723-00001ed8", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:20] Set("SIP/723-00001ed8", "CDR(outbound_cnum)=+79657263650") in new stack
-- Executing [s@macro-outbound-callerid:21] Set("SIP/723-00001ed8", "CDR(outbound_cnam)=") in new stack
[2017-03-27 15:05:46] WARNING[10499]: func_cdr.c:383 cdr_write_callback: CDR requires a value (CDR(variable)=value)
-- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/723-00001ed8", "1?sub-flp-34,s,1()") in new stack
-- Executing [s@sub-flp-34:1] ExecIf("SIP/723-00001ed8", "1?Return()") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/723-00001ed8", "OUTNUM=+79060000000") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/723-00001ed8", "custom=AMP") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/723-00001ed8", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)") in new stack
-- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/723-00001ed8", "0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:17] Macro("SIP/723-00001ed8", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/723-00001ed8", "") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/723-00001ed8", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/723-00001ed8", "1?Set(CONNECTEDLINE(num,i)=+79060000000)") in new stack
-- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/723-00001ed8", "1?Set(CONNECTEDLINE(name,i)=CID:+79657263650)") in new stack
-- Executing [s@macro-dialout-trunk:21] ExecIf("SIP/723-00001ed8", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)+79657263650)") in new stack
-- Executing [s@macro-dialout-trunk:22] GotoIf("SIP/723-00001ed8", "1?customtrunk") in new stack
-- Goto (macro-dialout-trunk,s,26)
-- Executing [s@macro-dialout-trunk:26] Set("SIP/723-00001ed8", "pre_num=AMP:dongle/D79657263650/") in new stack
-- Executing [s@macro-dialout-trunk:27] Set("SIP/723-00001ed8", "the_num=OUTNUM") in new stack
-- Executing [s@macro-dialout-trunk:28] Set("SIP/723-00001ed8", "post_num=") in new stack
-- Executing [s@macro-dialout-trunk:29] GotoIf("SIP/723-00001ed8", "1?outnum:skipoutnum") in new stack
-- Goto (macro-dialout-trunk,s,30)
-- Executing [s@macro-dialout-trunk:30] Set("SIP/723-00001ed8", "the_num=+79060000000") in new stack
-- Executing [s@macro-dialout-trunk:31] Dial("SIP/723-00001ed8", "dongle/D79657263650/+79060000000,300,T") in new stack
-- Called dongle/D79657263650/+79060000000
-- Dongle/D79657263650-010000006d is making progress passing it to SIP/723-00001ed8
> 0xb2ef5800 -- Probation passed - setting RTP source address to 192.168.0.134:27222
== Spawn extension (macro-dialout-trunk, s, 31) exited non-zero on 'SIP/723-00001ed8' in macro 'dialout-trunk'
== Spawn extension (restrictedroute-e4da3b7fbbce2345d7772b0674a318d5, 89060000000, 7) exited non-zero on 'SIP/723-00001ed8'
-- Executing [h@restrictedroute-e4da3b7fbbce2345d7772b0674a318d5:1] Hangup("SIP/723-00001ed8", "") in new stack
== Spawn extension (restrictedroute-e4da3b7fbbce2345d7772b0674a318d5, h, 1) exited non-zero on 'SIP/723-00001ed8'
== MixMonitor close filestream (mixed)
== Executing [/etc/asterisk/scripts/mixmon-mp3-2.sh 2017 03 27 out-89060000000-723-20170327-150546-1490616346.9043 wav /mnt/backup/monitor/]
== End MixMonitor Recording SIP/723-00001ed8