== Using SIP RTP TOS bits 184 == Using SIP RTP CoS mark 5 -- Executing [21036042148571@from-trunk-sip-Sip50:1] Set("SIP/Sip50-0000045a", "GROUP()=OUT_2") in new stack > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('CHAN_START',{ts '2015-06-15 13:42:25.403444'},'Morewave','6042148503','','','','21036042148571','from-trunk-sip-Sip50','SIP/Sip50-0000045a','','',3,'','1434400945.35148','1434400945.35148','','','')] -- Executing [21036042148571@from-trunk-sip-Sip50:2] Goto("SIP/Sip50-0000045a", "from-trunk,21036042148571,1") in new stack -- Goto (from-trunk,21036042148571,1) -- Executing [21036042148571@from-trunk:1] Set("SIP/Sip50-0000045a", "__FROM_DID=21036042148571") in new stack -- Executing [21036042148571@from-trunk:2] Gosub("SIP/Sip50-0000045a", "sub-record-check,s,1(in,21036042148571,no)") in new stack -- Executing [s@sub-record-check:1] GotoIf("SIP/Sip50-0000045a", "0?initialized") in new stack -- Executing [s@sub-record-check:2] Set("SIP/Sip50-0000045a", "__REC_STATUS=INITIALIZED") in new stack -- Executing [s@sub-record-check:3] Set("SIP/Sip50-0000045a", "NOW=1434400945") in new stack -- Executing [s@sub-record-check:4] Set("SIP/Sip50-0000045a", "__DAY=15") in new stack -- Executing [s@sub-record-check:5] Set("SIP/Sip50-0000045a", "__MONTH=06") in new stack -- Executing [s@sub-record-check:6] Set("SIP/Sip50-0000045a", "__YEAR=2015") in new stack -- Executing [s@sub-record-check:7] Set("SIP/Sip50-0000045a", "__TIMESTR=20150615-134225") in new stack -- Executing [s@sub-record-check:8] Set("SIP/Sip50-0000045a", "__FROMEXTEN=unknown") in new stack -- Executing [s@sub-record-check:9] Set("SIP/Sip50-0000045a", "__MON_FMT=wav") in new stack -- Executing [s@sub-record-check:10] NoOp("SIP/Sip50-0000045a", "Recordings initialized") in new stack -- Executing [s@sub-record-check:11] ExecIf("SIP/Sip50-0000045a", "0?Set(ARG3=dontcare)") in new stack -- Executing [s@sub-record-check:12] Set("SIP/Sip50-0000045a", "REC_POLICY_MODE_SAVE=") in new stack -- Executing [s@sub-record-check:13] ExecIf("SIP/Sip50-0000045a", "0?Set(REC_STATUS=NO)") in new stack -- Executing [s@sub-record-check:14] GotoIf("SIP/Sip50-0000045a", "2?checkaction") in new stack -- Goto (sub-record-check,s,17) -- Executing [s@sub-record-check:17] GotoIf("SIP/Sip50-0000045a", "1?sub-record-check,in,1") in new stack -- Goto (sub-record-check,in,1) -- Executing [in@sub-record-check:1] NoOp("SIP/Sip50-0000045a", "Inbound Recording Check to 21036042148571") in new stack -- Executing [in@sub-record-check:2] Set("SIP/Sip50-0000045a", "FROMEXTEN=unknown") in new stack -- Executing [in@sub-record-check:3] ExecIf("SIP/Sip50-0000045a", "10?Set(FROMEXTEN=6042148503)") in new stack -- Executing [in@sub-record-check:4] Gosub("SIP/Sip50-0000045a", "recordcheck,1(no,in,21036042148571)") in new stack -- Executing [recordcheck@sub-record-check:1] NoOp("SIP/Sip50-0000045a", "Starting recording check against no") in new stack -- Executing [recordcheck@sub-record-check:2] Goto("SIP/Sip50-0000045a", "no") in new stack -- Goto (sub-record-check,recordcheck,12) -- Executing [recordcheck@sub-record-check:12] Set("SIP/Sip50-0000045a", "__REC_POLICY_MODE=NO") in new stack -- Executing [recordcheck@sub-record-check:13] Return("SIP/Sip50-0000045a", "") in new stack -- Executing [in@sub-record-check:5] Return("SIP/Sip50-0000045a", "") in new stack -- Executing [21036042148571@from-trunk:3] Gosub("SIP/Sip50-0000045a", "app-blacklist-check,s,1()") in new stack -- Executing [s@app-blacklist-check:1] GotoIf("SIP/Sip50-0000045a", "0?blacklisted") in new stack -- Executing [s@app-blacklist-check:2] Set("SIP/Sip50-0000045a", "CALLED_BLACKLIST=1") in new stack -- Executing [s@app-blacklist-check:3] Return("SIP/Sip50-0000045a", "") in new stack -- Executing [21036042148571@from-trunk:4] Set("SIP/Sip50-0000045a", "CDR(did)=21036042148571") in new stack -- Executing [21036042148571@from-trunk:5] ExecIf("SIP/Sip50-0000045a", "0 ?Set(CALLERID(name)=6042148503)") in new stack -- Executing [21036042148571@from-trunk:6] Set("SIP/Sip50-0000045a", "CHANNEL(musicclass)=default") in new stack -- Executing [21036042148571@from-trunk:7] Set("SIP/Sip50-0000045a", "__MOHCLASS=default") in new stack [2015-06-15 13:42:25] WARNING[21434][C-00004405]: func_channel.c:538 func_channel_read: Unknown or unavailable item requested: 'reversecharge' -- Executing [21036042148571@from-trunk:8] GotoIf("SIP/Sip50-0000045a", "0?macro-hangupcall") in new stack -- Executing [21036042148571@from-trunk:9] Set("SIP/Sip50-0000045a", "__CALLINGPRES_SV=allowed_not_screened") in new stack -- Executing [21036042148571@from-trunk:10] Set("SIP/Sip50-0000045a", "CALLERPRES()=allowed_not_screened") in new stack -- Executing [21036042148571@from-trunk:11] Goto("SIP/Sip50-0000045a", "ivr-3,s,1") in new stack -- Goto (ivr-3,s,1) -- Executing [s@ivr-3:1] Set("SIP/Sip50-0000045a", "TIMEOUT_LOOPCOUNT=0") in new stack -- Executing [s@ivr-3:2] Set("SIP/Sip50-0000045a", "INVALID_LOOPCOUNT=0") in new stack -- Executing [s@ivr-3:3] Set("SIP/Sip50-0000045a", "_IVR_CONTEXT_ivr-3=") in new stack -- Executing [s@ivr-3:4] Set("SIP/Sip50-0000045a", "_IVR_CONTEXT=ivr-3") in new stack -- Executing [s@ivr-3:5] Set("SIP/Sip50-0000045a", "__IVR_RETVM=RETURN") in new stack -- Executing [s@ivr-3:6] GotoIf("SIP/Sip50-0000045a", "0?skip") in new stack -- Executing [s@ivr-3:7] Answer("SIP/Sip50-0000045a", "") in new stack > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('ANSWER',{ts '2015-06-15 13:42:25.409064'},'Morewave','6042148503','6042148503','','21036042148571','s','ivr-3','SIP/Sip50-0000045a','Answer','',3,'','1434400945.35148','1434400945.35148','','','')] > 0x7f9aac0f0b90 -- Probation passed - setting RTP source address to 172.30.10.133:21558 -- Executing [s@ivr-3:8] Wait("SIP/Sip50-0000045a", "1") in new stack -- Executing [s@ivr-3:9] Set("SIP/Sip50-0000045a", "IVR_MSG=custom/Taurus_MainIVR_06062015") in new stack -- Executing [s@ivr-3:10] Set("SIP/Sip50-0000045a", "TIMEOUT(digit)=3") in new stack -- Digit timeout set to 3.000 -- Executing [s@ivr-3:11] ExecIf("SIP/Sip50-0000045a", "1?Background(custom/Taurus_MainIVR_06062015)") in new stack -- Playing 'custom/Taurus_MainIVR_06062015.gsm' (language 'en') == CDR updated on SIP/Sip50-0000045a -- Executing [230@ivr-3:1] Goto("SIP/Sip50-0000045a", "from-did-direct,230,1") in new stack -- Goto (from-did-direct,230,1) -- Executing [230@from-did-direct:1] GotoIf("SIP/Sip50-0000045a", "1?ext-local,230,1") in new stack -- Goto (ext-local,230,1) -- Executing [230@ext-local:1] Set("SIP/Sip50-0000045a", "__RINGTIMER=15") in new stack -- Executing [230@ext-local:2] Macro("SIP/Sip50-0000045a", "exten-vm,230,230,0,0,0") in new stack -- Executing [s@macro-exten-vm:1] Macro("SIP/Sip50-0000045a", "user-callerid,") in new stack -- Executing [s@macro-user-callerid:1] Set("SIP/Sip50-0000045a", "TOUCH_MONITOR=1434400945.35148") in new stack -- Executing [s@macro-user-callerid:2] Set("SIP/Sip50-0000045a", "AMPUSER=6042148503") in new stack -- Executing [s@macro-user-callerid:3] GotoIf("SIP/Sip50-0000045a", "0?report") in new stack -- Executing [s@macro-user-callerid:4] ExecIf("SIP/Sip50-0000045a", "1?Set(REALCALLERIDNUM=6042148503)") in new stack -- Executing [s@macro-user-callerid:5] Set("SIP/Sip50-0000045a", "AMPUSER=") in new stack -- Executing [s@macro-user-callerid:6] GotoIf("SIP/Sip50-0000045a", "0?limit") in new stack -- Executing [s@macro-user-callerid:7] Set("SIP/Sip50-0000045a", "AMPUSERCIDNAME=") in new stack -- Executing [s@macro-user-callerid:8] GotoIf("SIP/Sip50-0000045a", "1?report") in new stack -- Goto (macro-user-callerid,s,16) -- Executing [s@macro-user-callerid:16] GotoIf("SIP/Sip50-0000045a", "0?continue") in new stack -- Executing [s@macro-user-callerid:17] ExecIf("SIP/Sip50-0000045a", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack -- Executing [s@macro-user-callerid:18] Set("SIP/Sip50-0000045a", "__TTL=64") in new stack -- Executing [s@macro-user-callerid:19] GotoIf("SIP/Sip50-0000045a", "1?continue") in new stack -- Goto (macro-user-callerid,s,30) -- Executing [s@macro-user-callerid:30] Set("SIP/Sip50-0000045a", "CALLERID(number)=6042148503") in new stack -- Executing [s@macro-user-callerid:31] Set("SIP/Sip50-0000045a", "CALLERID(name)=Morewave") in new stack -- Executing [s@macro-user-callerid:32] Set("SIP/Sip50-0000045a", "CDR(cnum)=6042148503") in new stack -- Executing [s@macro-user-callerid:33] Set("SIP/Sip50-0000045a", "CDR(cnam)=Morewave") in new stack -- Executing [s@macro-user-callerid:34] Set("SIP/Sip50-0000045a", "CHANNEL(language)=en") in new stack -- Executing [s@macro-exten-vm:2] Set("SIP/Sip50-0000045a", "RingGroupMethod=none") in new stack -- Executing [s@macro-exten-vm:3] Set("SIP/Sip50-0000045a", "__EXTTOCALL=230") in new stack -- Executing [s@macro-exten-vm:4] Set("SIP/Sip50-0000045a", "__PICKUPMARK=230") in new stack -- Executing [s@macro-exten-vm:5] Set("SIP/Sip50-0000045a", "RT=15") in new stack -- Executing [s@macro-exten-vm:6] ExecIf("SIP/Sip50-0000045a", "0?Macro(vm,230,DIRECTDIAL,RETURN)") in new stack -- Executing [s@macro-exten-vm:7] ExecIf("SIP/Sip50-0000045a", "0?MacroExit()") in new stack -- Executing [s@macro-exten-vm:8] Gosub("SIP/Sip50-0000045a", "sub-record-check,s,1(exten,230,dontcare)") in new stack -- Executing [s@sub-record-check:1] GotoIf("SIP/Sip50-0000045a", "10?initialized") in new stack -- Goto (sub-record-check,s,10) -- Executing [s@sub-record-check:10] NoOp("SIP/Sip50-0000045a", "Recordings initialized") in new stack -- Executing [s@sub-record-check:11] ExecIf("SIP/Sip50-0000045a", "0?Set(ARG3=dontcare)") in new stack -- Executing [s@sub-record-check:12] Set("SIP/Sip50-0000045a", "REC_POLICY_MODE_SAVE=NO") in new stack -- Executing [s@sub-record-check:13] ExecIf("SIP/Sip50-0000045a", "0?Set(REC_STATUS=NO)") in new stack -- Executing [s@sub-record-check:14] GotoIf("SIP/Sip50-0000045a", "5?checkaction") in new stack -- Goto (sub-record-check,s,17) -- Executing [s@sub-record-check:17] GotoIf("SIP/Sip50-0000045a", "1?sub-record-check,exten,1") in new stack -- Goto (sub-record-check,exten,1) -- Executing [exten@sub-record-check:1] NoOp("SIP/Sip50-0000045a", "Exten Recording Check between 6042148503 and 230") in new stack -- Executing [exten@sub-record-check:2] Set("SIP/Sip50-0000045a", "CALLTYPE=external") in new stack -- Executing [exten@sub-record-check:3] ExecIf("SIP/Sip50-0000045a", "0?Set(CALLTYPE=)") in new stack -- Executing [exten@sub-record-check:4] Set("SIP/Sip50-0000045a", "CALLEE=dontcare") in new stack -- Executing [exten@sub-record-check:5] ExecIf("SIP/Sip50-0000045a", "0?Set(CALLEE=dontcare)") in new stack -- Executing [exten@sub-record-check:6] GotoIf("SIP/Sip50-0000045a", "1?callee") in new stack -- Goto (sub-record-check,exten,11) -- Executing [exten@sub-record-check:11] Gosub("SIP/Sip50-0000045a", "recordcheck,1(dontcare,external,230)") in new stack -- Executing [recordcheck@sub-record-check:1] NoOp("SIP/Sip50-0000045a", "Starting recording check against dontcare") in new stack -- Executing [recordcheck@sub-record-check:2] Goto("SIP/Sip50-0000045a", "dontcare") in new stack -- Goto (sub-record-check,recordcheck,3) -- Executing [recordcheck@sub-record-check:3] Return("SIP/Sip50-0000045a", "") in new stack -- Executing [exten@sub-record-check:12] Return("SIP/Sip50-0000045a", "") in new stack -- Executing [s@macro-exten-vm:9] GotoIf("SIP/Sip50-0000045a", "1?macrodial") in new stack -- Goto (macro-exten-vm,s,15) -- Executing [s@macro-exten-vm:15] GosubIf("SIP/Sip50-0000045a", "0?clrheader,1()") in new stack -- Executing [s@macro-exten-vm:16] Macro("SIP/Sip50-0000045a", "dial-one,15,Ttr,230") in new stack -- Executing [s@macro-dial-one:1] Set("SIP/Sip50-0000045a", "DEXTEN=230") in new stack -- Executing [s@macro-dial-one:2] Set("SIP/Sip50-0000045a", "DIALSTATUS_CW=") in new stack -- Executing [s@macro-dial-one:3] GosubIf("SIP/Sip50-0000045a", "0?screen,1()") in new stack -- Executing [s@macro-dial-one:4] GosubIf("SIP/Sip50-0000045a", "0?cf,1()") in new stack -- Executing [s@macro-dial-one:5] GotoIf("SIP/Sip50-0000045a", "1?skip1") in new stack -- Goto (macro-dial-one,s,8) -- Executing [s@macro-dial-one:8] GotoIf("SIP/Sip50-0000045a", "0?nodial") in new stack -- Executing [s@macro-dial-one:9] GotoIf("SIP/Sip50-0000045a", "0?continue") in new stack -- Executing [s@macro-dial-one:10] Set("SIP/Sip50-0000045a", "EXTHASCW=ENABLED") in new stack -- Executing [s@macro-dial-one:11] GotoIf("SIP/Sip50-0000045a", "0?next1:cwinusebusy") in new stack -- Goto (macro-dial-one,s,23) -- Executing [s@macro-dial-one:23] GotoIf("SIP/Sip50-0000045a", "1?next3:continue") in new stack -- Goto (macro-dial-one,s,24) -- Executing [s@macro-dial-one:24] ExecIf("SIP/Sip50-0000045a", "0?Set(DIALSTATUS_CW=BUSY)") in new stack -- Executing [s@macro-dial-one:25] GotoIf("SIP/Sip50-0000045a", "0?nodial") in new stack -- Executing [s@macro-dial-one:26] GosubIf("SIP/Sip50-0000045a", "1?dstring,1():dlocal,1()") in new stack -- Executing [dstring@macro-dial-one:1] Set("SIP/Sip50-0000045a", "DSTRING=") in new stack -- Executing [dstring@macro-dial-one:2] Set("SIP/Sip50-0000045a", "DEVICES=230") in new stack -- Executing [dstring@macro-dial-one:3] ExecIf("SIP/Sip50-0000045a", "0?Return()") in new stack -- Executing [dstring@macro-dial-one:4] ExecIf("SIP/Sip50-0000045a", "0?Set(DEVICES=30)") in new stack -- Executing [dstring@macro-dial-one:5] Set("SIP/Sip50-0000045a", "LOOPCNT=1") in new stack -- Executing [dstring@macro-dial-one:6] Set("SIP/Sip50-0000045a", "ITER=1") in new stack -- Executing [dstring@macro-dial-one:7] Set("SIP/Sip50-0000045a", "THISDIAL=SIP/230") in new stack -- Executing [dstring@macro-dial-one:8] GosubIf("SIP/Sip50-0000045a", "1?zap2dahdi,1()") in new stack -- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/Sip50-0000045a", "0?Return()") in new stack -- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/Sip50-0000045a", "NEWDIAL=") in new stack -- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/Sip50-0000045a", "LOOPCNT2=1") in new stack -- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/Sip50-0000045a", "ITER2=1") in new stack -- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/Sip50-0000045a", "THISPART2=SIP/230") in new stack -- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/Sip50-0000045a", "0?Set(THISPART2=DAHDI/230)") in new stack -- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/Sip50-0000045a", "NEWDIAL=SIP/230&") in new stack -- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/Sip50-0000045a", "ITER2=2") in new stack -- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/Sip50-0000045a", "0?begin2") in new stack -- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/Sip50-0000045a", "THISDIAL=SIP/230") in new stack -- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/Sip50-0000045a", "") in new stack -- Executing [dstring@macro-dial-one:9] GotoIf("SIP/Sip50-0000045a", "1?doset") in new stack -- Goto (macro-dial-one,dstring,12) -- Executing [dstring@macro-dial-one:12] Set("SIP/Sip50-0000045a", "DSTRING=SIP/230&") in new stack -- Executing [dstring@macro-dial-one:13] Set("SIP/Sip50-0000045a", "ITER=2") in new stack -- Executing [dstring@macro-dial-one:14] GotoIf("SIP/Sip50-0000045a", "0?begin") in new stack -- Executing [dstring@macro-dial-one:15] Set("SIP/Sip50-0000045a", "DSTRING=SIP/230") in new stack -- Executing [dstring@macro-dial-one:16] Return("SIP/Sip50-0000045a", "") in new stack -- Executing [s@macro-dial-one:27] GotoIf("SIP/Sip50-0000045a", "0?nodial") in new stack -- Executing [s@macro-dial-one:28] GotoIf("SIP/Sip50-0000045a", "0?skiptrace") in new stack -- Executing [s@macro-dial-one:29] GosubIf("SIP/Sip50-0000045a", "1?ctset,1():ctclear,1()") in new stack -- Executing [ctset@macro-dial-one:1] Set("SIP/Sip50-0000045a", "DB(CALLTRACE/230)=6042148503") in new stack -- Executing [ctset@macro-dial-one:2] Return("SIP/Sip50-0000045a", "") in new stack -- Executing [s@macro-dial-one:30] Set("SIP/Sip50-0000045a", "D_OPTIONS=Ttr") in new stack -- Executing [s@macro-dial-one:31] ExecIf("SIP/Sip50-0000045a", "0?SIPAddHeader(Alert-Info: )") in new stack -- Executing [s@macro-dial-one:32] ExecIf("SIP/Sip50-0000045a", "0?SIPAddHeader()") in new stack -- Executing [s@macro-dial-one:33] ExecIf("SIP/Sip50-0000045a", "1?Set(CHANNEL(musicclass)=default)") in new stack -- Executing [s@macro-dial-one:34] GosubIf("SIP/Sip50-0000045a", "0?qwait,1()") in new stack -- Executing [s@macro-dial-one:35] Set("SIP/Sip50-0000045a", "__CWIGNORE=") in new stack -- Executing [s@macro-dial-one:36] Set("SIP/Sip50-0000045a", "__KEEPCID=TRUE") in new stack -- Executing [s@macro-dial-one:37] GotoIf("SIP/Sip50-0000045a", "0?usegoto,1") in new stack -- Executing [s@macro-dial-one:38] GotoIf("SIP/Sip50-0000045a", "1?godial") in new stack -- Goto (macro-dial-one,s,43) -- Executing [s@macro-dial-one:43] Macro("SIP/Sip50-0000045a", "dialout-one-predial-hook,") in new stack -- Executing [s@macro-dialout-one-predial-hook:1] MacroExit("SIP/Sip50-0000045a", "") in new stack -- Executing [s@macro-dial-one:44] Dial("SIP/Sip50-0000045a", "SIP/230,15,Ttr") in new stack == Using SIP RTP TOS bits 184 == Using SIP RTP CoS mark 5 > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('CHAN_START',{ts '2015-06-15 13:42:35.75571'},'MW Test','230','','','','s','from-internal','SIP/230-0000045b','','',3,'','1434400955.35149','1434400945.35148','','','')] -- Called SIP/230 -- SIP/230-0000045b is ringing -- Nobody picked up in 15000 ms > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('HANGUP',{ts '2015-06-15 13:42:50.77020'},'MW Test','230','230','','','230','from-internal','SIP/230-0000045b','AppDial','(Outgoing Line)',3,'','1434400955.35149','1434400945.35148','','','')] > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('CHAN_END',{ts '2015-06-15 13:42:50.78001'},'MW Test','230','230','','','230','from-internal','SIP/230-0000045b','AppDial','(Outgoing Line)',3,'','1434400955.35149','1434400945.35148','','','')] -- Executing [s@macro-dial-one:45] ExecIf("SIP/Sip50-0000045a", "0?MacroExit()") in new stack -- Executing [s@macro-dial-one:46] ExecIf("SIP/Sip50-0000045a", "0?Set(DIALSTATUS=)") in new stack -- Executing [s@macro-dial-one:47] GosubIf("SIP/Sip50-0000045a", "0?s-NOANSWER,1()") in new stack -- Executing [s@macro-dial-one:48] MacroExit("SIP/Sip50-0000045a", "") in new stack -- Executing [s@macro-exten-vm:17] Set("SIP/Sip50-0000045a", "SV_DIALSTATUS=NOANSWER") in new stack -- Executing [s@macro-exten-vm:18] GosubIf("SIP/Sip50-0000045a", "0?docfu,1()") in new stack -- Executing [s@macro-exten-vm:19] GosubIf("SIP/Sip50-0000045a", "0?docfb,1()") in new stack -- Executing [s@macro-exten-vm:20] Set("SIP/Sip50-0000045a", "DIALSTATUS=NOANSWER") in new stack -- Executing [s@macro-exten-vm:21] ExecIf("SIP/Sip50-0000045a", "0?MacroExit()") in new stack -- Executing [s@macro-exten-vm:22] GotoIf("SIP/Sip50-0000045a", "0?s-NOANSWER,1") in new stack -- Executing [s@macro-exten-vm:23] Macro("SIP/Sip50-0000045a", "vm,230,NOANSWER,RETURN") in new stack -- Executing [s@macro-vm:1] Macro("SIP/Sip50-0000045a", "user-callerid,SKIPTTL") in new stack -- Executing [s@macro-user-callerid:1] Set("SIP/Sip50-0000045a", "TOUCH_MONITOR=1434400945.35148") in new stack -- Executing [s@macro-user-callerid:2] Set("SIP/Sip50-0000045a", "AMPUSER=6042148503") in new stack -- Executing [s@macro-user-callerid:3] GotoIf("SIP/Sip50-0000045a", "0?report") in new stack -- Executing [s@macro-user-callerid:4] ExecIf("SIP/Sip50-0000045a", "0?Set(REALCALLERIDNUM=6042148503)") in new stack -- Executing [s@macro-user-callerid:5] Set("SIP/Sip50-0000045a", "AMPUSER=") in new stack -- Executing [s@macro-user-callerid:6] GotoIf("SIP/Sip50-0000045a", "0?limit") in new stack -- Executing [s@macro-user-callerid:7] Set("SIP/Sip50-0000045a", "AMPUSERCIDNAME=") in new stack -- Executing [s@macro-user-callerid:8] GotoIf("SIP/Sip50-0000045a", "1?report") in new stack -- Goto (macro-user-callerid,s,16) -- Executing [s@macro-user-callerid:16] GotoIf("SIP/Sip50-0000045a", "1?continue") in new stack -- Goto (macro-user-callerid,s,30) -- Executing [s@macro-user-callerid:30] Set("SIP/Sip50-0000045a", "CALLERID(number)=6042148503") in new stack -- Executing [s@macro-user-callerid:31] Set("SIP/Sip50-0000045a", "CALLERID(name)=Morewave") in new stack -- Executing [s@macro-user-callerid:32] Set("SIP/Sip50-0000045a", "CDR(cnum)=6042148503") in new stack -- Executing [s@macro-user-callerid:33] Set("SIP/Sip50-0000045a", "CDR(cnam)=Morewave") in new stack -- Executing [s@macro-user-callerid:34] Set("SIP/Sip50-0000045a", "CHANNEL(language)=en") in new stack -- Executing [s@macro-vm:2] Set("SIP/Sip50-0000045a", "VMGAIN=") in new stack -- Executing [s@macro-vm:3] Macro("SIP/Sip50-0000045a", "blkvm-check,") in new stack -- Executing [s@macro-blkvm-check:1] Set("SIP/Sip50-0000045a", "GOSUB_RETVAL=") in new stack -- Executing [s@macro-blkvm-check:2] ExecIf("SIP/Sip50-0000045a", "0?Set(GOSUB_RETVAL=TRUE)") in new stack -- Executing [s@macro-blkvm-check:3] MacroExit("SIP/Sip50-0000045a", "") in new stack -- Executing [s@macro-vm:4] GotoIf("SIP/Sip50-0000045a", "1?vmx,1") in new stack -- Goto (macro-vm,vmx,1) -- Executing [vmx@macro-vm:1] Set("SIP/Sip50-0000045a", "MEXTEN=230") in new stack -- Executing [vmx@macro-vm:2] Set("SIP/Sip50-0000045a", "MMODE=NOANSWER") in new stack -- Executing [vmx@macro-vm:3] Set("SIP/Sip50-0000045a", "RETVM=RETURN") in new stack -- Executing [vmx@macro-vm:4] Set("SIP/Sip50-0000045a", "MODE=unavail") in new stack -- Executing [vmx@macro-vm:5] Macro("SIP/Sip50-0000045a", "get-vmcontext,230") in new stack -- Executing [s@macro-get-vmcontext:1] Set("SIP/Sip50-0000045a", "VMCONTEXT=default") in new stack -- Executing [s@macro-get-vmcontext:2] GotoIf("SIP/Sip50-0000045a", "0?200:300") in new stack -- Goto (macro-get-vmcontext,s,300) -- Executing [s@macro-get-vmcontext:300] NoOp("SIP/Sip50-0000045a", "") in new stack -- Executing [vmx@macro-vm:6] Set("SIP/Sip50-0000045a", "MODE=unavail") in new stack -- Executing [vmx@macro-vm:7] NoOp("SIP/Sip50-0000045a", "MODE IS: unavail") in new stack -- Executing [vmx@macro-vm:8] GotoIf("SIP/Sip50-0000045a", "1?chknomsg") in new stack -- Goto (macro-vm,vmx,10) -- Executing [vmx@macro-vm:10] GotoIf("SIP/Sip50-0000045a", "0?s-NOANSWER,1") in new stack -- Executing [vmx@macro-vm:11] GotoIf("SIP/Sip50-0000045a", "1?notdirect") in new stack -- Goto (macro-vm,vmx,13) -- Executing [vmx@macro-vm:13] NoOp("SIP/Sip50-0000045a", "Checking if ext 230 is enabled: ") in new stack -- Executing [vmx@macro-vm:14] GotoIf("SIP/Sip50-0000045a", "1?s-NOANSWER,1") in new stack -- Goto (macro-vm,s-NOANSWER,1) -- Executing [s-NOANSWER@macro-vm:1] Macro("SIP/Sip50-0000045a", "get-vmcontext,230") in new stack -- Executing [s@macro-get-vmcontext:1] Set("SIP/Sip50-0000045a", "VMCONTEXT=default") in new stack -- Executing [s@macro-get-vmcontext:2] GotoIf("SIP/Sip50-0000045a", "0?200:300") in new stack -- Goto (macro-get-vmcontext,s,300) -- Executing [s@macro-get-vmcontext:300] NoOp("SIP/Sip50-0000045a", "") in new stack -- Executing [s-NOANSWER@macro-vm:2] VoiceMail("SIP/Sip50-0000045a", "230@default,u") in new stack -- Playing 'vm-theperson.ulaw' (language 'en') -- Playing 'digits/2.ulaw' (language 'en') -- Playing 'digits/3.ulaw' (language 'en') -- Playing 'digits/0.ulaw' (language 'en') -- Playing 'vm-isunavail.ulaw' (language 'en') -- Playing 'vm-intro.ulaw' (language 'en') -- Attempting call on Local/s@tc-maint for application NoCDR() (Retry 1) > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('CHAN_START',{ts '2015-06-15 13:43:00.322918'},'','','','','','s','tc-maint','Local/s@tc-maint-00004279;1','','',3,'','1434400980.35150','1434400980.35150','','','')] -- Executing [s@tc-maint:1] NoCDR("Local/s@tc-maint-00004279;2", "") in new stack -- Executing [s@tc-maint:2] Set("Local/s@tc-maint-00004279;2", "TCMAINT=RETURN") in new stack -- Executing [s@tc-maint:3] Gosub("Local/s@tc-maint-00004279;2", "timeconditions,1,1()") in new stack -- Executing [1@timeconditions:1] Set("Local/s@tc-maint-00004279;2", "DB(TC/1/INUSESTATE)=INUSE") in new stack > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('CHAN_START',{ts '2015-06-15 13:43:00.323019'},'','','','','','s','tc-maint','Local/s@tc-maint-00004279;2','','',3,'','1434400980.35151','1434400980.35150','','','')] -- Executing [1@timeconditions:2] Set("Local/s@tc-maint-00004279;2", "DB(TC/1/NOT_INUSESTATE)=NOT_INUSE") in new stack -- Executing [1@timeconditions:3] GotoIfTime("Local/s@tc-maint-00004279;2", "08:30-17:00,mon-fri,*,*,America/Vancouver?truestate") in new stack -- Goto (timeconditions,1,12) -- Executing [1@timeconditions:12] GotoIf("Local/s@tc-maint-00004279;2", "0?falsegoto") in new stack -- Executing [1@timeconditions:13] ExecIf("Local/s@tc-maint-00004279;2", "0?Set(DB(TC/1)=)") in new stack -- Executing [1@timeconditions:14] Set("Local/s@tc-maint-00004279;2", "DEVICE_STATE(Custom:TC1)=NOT_INUSE") in new stack -- Executing [1@timeconditions:15] ExecIf("Local/s@tc-maint-00004279;2", "0?Set(NOT_INUSE)") in new stack -- Executing [1@timeconditions:16] GotoIf("Local/s@tc-maint-00004279;2", "0?ext-group,600,1") in new stack -- Executing [1@timeconditions:17] Set("Local/s@tc-maint-00004279;2", "TCSTATE=true") in new stack -- Executing [1@timeconditions:18] Set("Local/s@tc-maint-00004279;2", "TCOVERRIDE=false") in new stack -- Executing [1@timeconditions:19] Return("Local/s@tc-maint-00004279;2", "") in new stack -- Executing [s@tc-maint:4] Gosub("Local/s@tc-maint-00004279;2", "timeconditions,2,1()") in new stack -- Executing [2@timeconditions:1] Set("Local/s@tc-maint-00004279;2", "DB(TC/2/INUSESTATE)=INUSE") in new stack -- Executing [2@timeconditions:2] Set("Local/s@tc-maint-00004279;2", "DB(TC/2/NOT_INUSESTATE)=NOT_INUSE") in new stack -- Executing [2@timeconditions:3] GotoIfTime("Local/s@tc-maint-00004279;2", "*,*,1,jul,America/Vancouver?truestate") in new stack -- Executing [2@timeconditions:4] GotoIf("Local/s@tc-maint-00004279;2", "0?truegoto") in new stack -- Executing [2@timeconditions:5] ExecIf("Local/s@tc-maint-00004279;2", "0?Set(DB(TC/2)=)") in new stack -- Executing [2@timeconditions:6] Set("Local/s@tc-maint-00004279;2", "DEVICE_STATE(Custom:TC2)=INUSE") in new stack -- Executing [2@timeconditions:7] ExecIf("Local/s@tc-maint-00004279;2", "0?Set(NOT_INUSE)") in new stack -- Executing [2@timeconditions:8] GotoIf("Local/s@tc-maint-00004279;2", "0?timeconditions,1,1") in new stack -- Executing [2@timeconditions:9] Set("Local/s@tc-maint-00004279;2", "TCSTATE=false") in new stack -- Executing [2@timeconditions:10] Set("Local/s@tc-maint-00004279;2", "TCOVERRIDE=false") in new stack -- Executing [2@timeconditions:11] Return("Local/s@tc-maint-00004279;2", "") in new stack -- Executing [s@tc-maint:5] Gosub("Local/s@tc-maint-00004279;2", "timeconditions,3,1()") in new stack -- Executing [3@timeconditions:1] Set("Local/s@tc-maint-00004279;2", "DB(TC/3/INUSESTATE)=INUSE") in new stack -- Executing [3@timeconditions:2] Set("Local/s@tc-maint-00004279;2", "DB(TC/3/NOT_INUSESTATE)=NOT_INUSE") in new stack -- Executing [3@timeconditions:3] GotoIfTime("Local/s@tc-maint-00004279;2", "*,*,1,jul,PST?truestate") in new stack -- Executing [3@timeconditions:4] GotoIf("Local/s@tc-maint-00004279;2", "0?truegoto") in new stack -- Executing [3@timeconditions:5] ExecIf("Local/s@tc-maint-00004279;2", "0?Set(DB(TC/3)=)") in new stack -- Executing [3@timeconditions:6] Set("Local/s@tc-maint-00004279;2", "DEVICE_STATE(Custom:TC3)=INUSE") in new stack -- Executing [3@timeconditions:7] ExecIf("Local/s@tc-maint-00004279;2", "0?Set(NOT_INUSE)") in new stack -- Executing [3@timeconditions:8] GotoIf("Local/s@tc-maint-00004279;2", "0?ivr-7,s,1") in new stack -- Executing [3@timeconditions:9] Set("Local/s@tc-maint-00004279;2", "TCSTATE=false") in new stack -- Executing [3@timeconditions:10] Set("Local/s@tc-maint-00004279;2", "TCOVERRIDE=false") in new stack -- Executing [3@timeconditions:11] Return("Local/s@tc-maint-00004279;2", "") in new stack -- Executing [s@tc-maint:6] System("Local/s@tc-maint-00004279;2", "/var/lib/asterisk/bin/schedtc.php 60 /var/spool/asterisk/outgoing 0") in new stack -- Playing 'beep.ulaw' (language 'en') -- Executing [s@tc-maint:7] Answer("Local/s@tc-maint-00004279;2", "") in new stack > Channel Local/s@tc-maint-00004279;1 was answered. > Launching NoCDR() on Local/s@tc-maint-00004279;1 == Spawn extension (tc-maint, s, 7) exited non-zero on 'Local/s@tc-maint-00004279;2' > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('ANSWER',{ts '2015-06-15 13:43:00.454280'},'0','0','','','','s','tc-maint','Local/s@tc-maint-00004279;2','Answer','',3,'','1434400980.35151','1434400980.35150','','','')] [2015-06-15 13:43:00] NOTICE[21477]: pbx_spool.c:402 attempt_thread: Call completed to Local/s@tc-maint > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('ANSWER',{ts '2015-06-15 13:43:00.455117'},'0','0','0','','','s','tc-maint','Local/s@tc-maint-00004279;1','','',3,'','1434400980.35150','1434400980.35150','','','')] > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('HANGUP',{ts '2015-06-15 13:43:00.456514'},'0','0','0','','','s','tc-maint','Local/s@tc-maint-00004279;1','','',3,'','1434400980.35150','1434400980.35150','','','')] > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('HANGUP',{ts '2015-06-15 13:43:00.458186'},'0','0','','','','s','tc-maint','Local/s@tc-maint-00004279;2','','',3,'','1434400980.35151','1434400980.35150','','','')] > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('CHAN_END',{ts '2015-06-15 13:43:00.461068'},'0','0','','','','s','tc-maint','Local/s@tc-maint-00004279;2','','',3,'','1434400980.35151','1434400980.35150','','','')] > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('CHAN_END',{ts '2015-06-15 13:43:00.463743'},'0','0','0','','','s','tc-maint','Local/s@tc-maint-00004279;1','','',3,'','1434400980.35150','1434400980.35150','','','')] > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('LINKEDID_END',{ts '2015-06-15 13:43:00.463924'},'0','0','0','','','s','tc-maint','Local/s@tc-maint-00004279;1','','',3,'','1434400980.35150','1434400980.35150','','','')] -- Recording the message -- x=0, open writing: /var/spool/asterisk/voicemail/default/230/tmp/VphaZf format: wav, 0x7f9a9c0563e8 -- User ended message by pressing # -- Playing 'auth-thankyou.ulaw' (language 'en') -- Playing 'vm-review.ulaw' (language 'en') -- Saving message as is -- Playing 'vm-msgsaved.ulaw' (language 'en') -- Executing [s-NOANSWER@macro-vm:3] Goto("SIP/Sip50-0000045a", "exit-SUCCESS,1") in new stack -- Goto (macro-vm,exit-SUCCESS,1) -- Executing [exit-SUCCESS@macro-vm:1] GotoIf("SIP/Sip50-0000045a", "1?exit-RETURN,1") in new stack -- Goto (macro-vm,exit-RETURN,1) -- Executing [exit-RETURN@macro-vm:1] NoOp("SIP/Sip50-0000045a", "Returning From Voicemail because macro") in new stack -- Executing [230@ext-local:3] Set("SIP/Sip50-0000045a", "__PICKUPMARK=") in new stack -- Executing [230@ext-local:4] Macro("SIP/Sip50-0000045a", "vm,230,NOANSWER,RETURN") in new stack -- Executing [s@macro-vm:1] Macro("SIP/Sip50-0000045a", "user-callerid,SKIPTTL") in new stack -- Executing [s@macro-user-callerid:1] Set("SIP/Sip50-0000045a", "TOUCH_MONITOR=1434400945.35148") in new stack -- Executing [s@macro-user-callerid:2] Set("SIP/Sip50-0000045a", "AMPUSER=6042148503") in new stack -- Executing [s@macro-user-callerid:3] GotoIf("SIP/Sip50-0000045a", "0?report") in new stack -- Executing [s@macro-user-callerid:4] ExecIf("SIP/Sip50-0000045a", "0?Set(REALCALLERIDNUM=6042148503)") in new stack -- Executing [s@macro-user-callerid:5] Set("SIP/Sip50-0000045a", "AMPUSER=") in new stack -- Executing [s@macro-user-callerid:6] GotoIf("SIP/Sip50-0000045a", "0?limit") in new stack -- Executing [s@macro-user-callerid:7] Set("SIP/Sip50-0000045a", "AMPUSERCIDNAME=") in new stack -- Executing [s@macro-user-callerid:8] GotoIf("SIP/Sip50-0000045a", "1?report") in new stack -- Goto (macro-user-callerid,s,16) -- Executing [s@macro-user-callerid:16] GotoIf("SIP/Sip50-0000045a", "1?continue") in new stack -- Goto (macro-user-callerid,s,30) -- Executing [s@macro-user-callerid:30] Set("SIP/Sip50-0000045a", "CALLERID(number)=6042148503") in new stack -- Executing [s@macro-user-callerid:31] Set("SIP/Sip50-0000045a", "CALLERID(name)=Morewave") in new stack -- Executing [s@macro-user-callerid:32] Set("SIP/Sip50-0000045a", "CDR(cnum)=6042148503") in new stack -- Executing [s@macro-user-callerid:33] Set("SIP/Sip50-0000045a", "CDR(cnam)=Morewave") in new stack -- Executing [s@macro-user-callerid:34] Set("SIP/Sip50-0000045a", "CHANNEL(language)=en") in new stack -- Executing [s@macro-vm:2] Set("SIP/Sip50-0000045a", "VMGAIN=") in new stack -- Executing [s@macro-vm:3] Macro("SIP/Sip50-0000045a", "blkvm-check,") in new stack -- Executing [s@macro-blkvm-check:1] Set("SIP/Sip50-0000045a", "GOSUB_RETVAL=") in new stack -- Executing [s@macro-blkvm-check:2] ExecIf("SIP/Sip50-0000045a", "0?Set(GOSUB_RETVAL=TRUE)") in new stack -- Executing [s@macro-blkvm-check:3] MacroExit("SIP/Sip50-0000045a", "") in new stack -- Executing [s@macro-vm:4] GotoIf("SIP/Sip50-0000045a", "1?vmx,1") in new stack -- Goto (macro-vm,vmx,1) -- Executing [vmx@macro-vm:1] Set("SIP/Sip50-0000045a", "MEXTEN=230") in new stack -- Executing [vmx@macro-vm:2] Set("SIP/Sip50-0000045a", "MMODE=NOANSWER") in new stack -- Executing [vmx@macro-vm:3] Set("SIP/Sip50-0000045a", "RETVM=RETURN") in new stack -- Executing [vmx@macro-vm:4] Set("SIP/Sip50-0000045a", "MODE=unavail") in new stack -- Executing [vmx@macro-vm:5] Macro("SIP/Sip50-0000045a", "get-vmcontext,230") in new stack -- Executing [s@macro-get-vmcontext:1] Set("SIP/Sip50-0000045a", "VMCONTEXT=default") in new stack -- Executing [s@macro-get-vmcontext:2] GotoIf("SIP/Sip50-0000045a", "0?200:300") in new stack -- Goto (macro-get-vmcontext,s,300) -- Executing [s@macro-get-vmcontext:300] NoOp("SIP/Sip50-0000045a", "") in new stack -- Executing [vmx@macro-vm:6] Set("SIP/Sip50-0000045a", "MODE=unavail") in new stack -- Executing [vmx@macro-vm:7] NoOp("SIP/Sip50-0000045a", "MODE IS: unavail") in new stack -- Executing [vmx@macro-vm:8] GotoIf("SIP/Sip50-0000045a", "1?chknomsg") in new stack -- Goto (macro-vm,vmx,10) -- Executing [vmx@macro-vm:10] GotoIf("SIP/Sip50-0000045a", "0?s-NOANSWER,1") in new stack -- Executing [vmx@macro-vm:11] GotoIf("SIP/Sip50-0000045a", "1?notdirect") in new stack -- Goto (macro-vm,vmx,13) -- Executing [vmx@macro-vm:13] NoOp("SIP/Sip50-0000045a", "Checking if ext 230 is enabled: ") in new stack -- Executing [vmx@macro-vm:14] GotoIf("SIP/Sip50-0000045a", "1?s-NOANSWER,1") in new stack -- Goto (macro-vm,s-NOANSWER,1) -- Executing [s-NOANSWER@macro-vm:1] Macro("SIP/Sip50-0000045a", "get-vmcontext,230") in new stack -- Executing [s@macro-get-vmcontext:1] Set("SIP/Sip50-0000045a", "VMCONTEXT=default") in new stack -- Executing [s@macro-get-vmcontext:2] GotoIf("SIP/Sip50-0000045a", "0?200:300") in new stack -- Goto (macro-get-vmcontext,s,300) -- Executing [s@macro-get-vmcontext:300] NoOp("SIP/Sip50-0000045a", "") in new stack -- Executing [s-NOANSWER@macro-vm:2] VoiceMail("SIP/Sip50-0000045a", "230@default,u") in new stack -- Playing 'vm-theperson.ulaw' (language 'en') -- Playing 'digits/2.ulaw' (language 'en') -- Playing 'digits/3.ulaw' (language 'en') -- Playing 'digits/0.ulaw' (language 'en') -- Playing 'vm-isunavail.ulaw' (language 'en') -- Playing 'vm-intro.ulaw' (language 'en') -- Playing 'beep.ulaw' (language 'en') -- Recording the message -- x=0, open writing: /var/spool/asterisk/voicemail/default/230/tmp/UjZSWR format: wav, 0x7f9a9c0563e8 -- User ended message by pressing # -- Playing 'auth-thankyou.ulaw' (language 'en') -- Attempting call on Local/s@tc-maint for application NoCDR() (Retry 1) > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('CHAN_START',{ts '2015-06-15 13:43:18.460816'},'','','','','','s','tc-maint','Local/s@tc-maint-0000427a;1','','',3,'','1434400998.35152','1434400998.35152','','','')] -- Executing [s@tc-maint:1] NoCDR("Local/s@tc-maint-0000427a;2", "") in new stack -- Executing [s@tc-maint:2] Set("Local/s@tc-maint-0000427a;2", "TCMAINT=RETURN") in new stack -- Executing [s@tc-maint:3] Gosub("Local/s@tc-maint-0000427a;2", "timeconditions,1,1()") in new stack -- Executing [1@timeconditions:1] Set("Local/s@tc-maint-0000427a;2", "DB(TC/1/INUSESTATE)=INUSE") in new stack > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('CHAN_START',{ts '2015-06-15 13:43:18.460946'},'','','','','','s','tc-maint','Local/s@tc-maint-0000427a;2','','',3,'','1434400998.35153','1434400998.35152','','','')] -- Executing [1@timeconditions:2] Set("Local/s@tc-maint-0000427a;2", "DB(TC/1/NOT_INUSESTATE)=NOT_INUSE") in new stack -- Executing [1@timeconditions:3] GotoIfTime("Local/s@tc-maint-0000427a;2", "08:30-17:00,mon-fri,*,*,America/Vancouver?truestate") in new stack -- Goto (timeconditions,1,12) -- Executing [1@timeconditions:12] GotoIf("Local/s@tc-maint-0000427a;2", "0?falsegoto") in new stack -- Executing [1@timeconditions:13] ExecIf("Local/s@tc-maint-0000427a;2", "0?Set(DB(TC/1)=)") in new stack -- Executing [1@timeconditions:14] Set("Local/s@tc-maint-0000427a;2", "DEVICE_STATE(Custom:TC1)=NOT_INUSE") in new stack -- Executing [1@timeconditions:15] ExecIf("Local/s@tc-maint-0000427a;2", "0?Set(NOT_INUSE)") in new stack -- Executing [1@timeconditions:16] GotoIf("Local/s@tc-maint-0000427a;2", "0?ext-group,600,1") in new stack -- Executing [1@timeconditions:17] Set("Local/s@tc-maint-0000427a;2", "TCSTATE=true") in new stack -- Executing [1@timeconditions:18] Set("Local/s@tc-maint-0000427a;2", "TCOVERRIDE=false") in new stack -- Executing [1@timeconditions:19] Return("Local/s@tc-maint-0000427a;2", "") in new stack -- Executing [s@tc-maint:4] Gosub("Local/s@tc-maint-0000427a;2", "timeconditions,2,1()") in new stack -- Executing [2@timeconditions:1] Set("Local/s@tc-maint-0000427a;2", "DB(TC/2/INUSESTATE)=INUSE") in new stack -- Executing [2@timeconditions:2] Set("Local/s@tc-maint-0000427a;2", "DB(TC/2/NOT_INUSESTATE)=NOT_INUSE") in new stack -- Executing [2@timeconditions:3] GotoIfTime("Local/s@tc-maint-0000427a;2", "*,*,1,jul,America/Vancouver?truestate") in new stack -- Executing [2@timeconditions:4] GotoIf("Local/s@tc-maint-0000427a;2", "0?truegoto") in new stack -- Executing [2@timeconditions:5] ExecIf("Local/s@tc-maint-0000427a;2", "0?Set(DB(TC/2)=)") in new stack -- Executing [2@timeconditions:6] Set("Local/s@tc-maint-0000427a;2", "DEVICE_STATE(Custom:TC2)=INUSE") in new stack -- Executing [2@timeconditions:7] ExecIf("Local/s@tc-maint-0000427a;2", "0?Set(NOT_INUSE)") in new stack -- Executing [2@timeconditions:8] GotoIf("Local/s@tc-maint-0000427a;2", "0?timeconditions,1,1") in new stack -- Executing [2@timeconditions:9] Set("Local/s@tc-maint-0000427a;2", "TCSTATE=false") in new stack -- Executing [2@timeconditions:10] Set("Local/s@tc-maint-0000427a;2", "TCOVERRIDE=false") in new stack -- Executing [2@timeconditions:11] Return("Local/s@tc-maint-0000427a;2", "") in new stack -- Executing [s@tc-maint:5] Gosub("Local/s@tc-maint-0000427a;2", "timeconditions,3,1()") in new stack -- Executing [3@timeconditions:1] Set("Local/s@tc-maint-0000427a;2", "DB(TC/3/INUSESTATE)=INUSE") in new stack -- Executing [3@timeconditions:2] Set("Local/s@tc-maint-0000427a;2", "DB(TC/3/NOT_INUSESTATE)=NOT_INUSE") in new stack -- Executing [3@timeconditions:3] GotoIfTime("Local/s@tc-maint-0000427a;2", "*,*,1,jul,PST?truestate") in new stack -- Executing [3@timeconditions:4] GotoIf("Local/s@tc-maint-0000427a;2", "0?truegoto") in new stack -- Executing [3@timeconditions:5] ExecIf("Local/s@tc-maint-0000427a;2", "0?Set(DB(TC/3)=)") in new stack -- Executing [3@timeconditions:6] Set("Local/s@tc-maint-0000427a;2", "DEVICE_STATE(Custom:TC3)=INUSE") in new stack -- Executing [3@timeconditions:7] ExecIf("Local/s@tc-maint-0000427a;2", "0?Set(NOT_INUSE)") in new stack -- Executing [3@timeconditions:8] GotoIf("Local/s@tc-maint-0000427a;2", "0?ivr-7,s,1") in new stack -- Executing [3@timeconditions:9] Set("Local/s@tc-maint-0000427a;2", "TCSTATE=false") in new stack -- Executing [3@timeconditions:10] Set("Local/s@tc-maint-0000427a;2", "TCOVERRIDE=false") in new stack -- Executing [3@timeconditions:11] Return("Local/s@tc-maint-0000427a;2", "") in new stack -- Executing [s@tc-maint:6] System("Local/s@tc-maint-0000427a;2", "/var/lib/asterisk/bin/schedtc.php 60 /var/spool/asterisk/outgoing 1") in new stack -- Playing 'vm-review.ulaw' (language 'en') -- Executing [s@tc-maint:7] Answer("Local/s@tc-maint-0000427a;2", "") in new stack > Channel Local/s@tc-maint-0000427a;1 was answered. > Launching NoCDR() on Local/s@tc-maint-0000427a;1 > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('ANSWER',{ts '2015-06-15 13:43:18.631858'},'1','1','','','','s','tc-maint','Local/s@tc-maint-0000427a;2','Answer','',3,'','1434400998.35153','1434400998.35152','','','')] [2015-06-15 13:43:18] NOTICE[21529]: pbx_spool.c:402 attempt_thread: Call completed to Local/s@tc-maint == Spawn extension (tc-maint, s, 7) exited non-zero on 'Local/s@tc-maint-0000427a;2' > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('ANSWER',{ts '2015-06-15 13:43:18.632146'},'1','1','1','','','s','tc-maint','Local/s@tc-maint-0000427a;1','','',3,'','1434400998.35152','1434400998.35152','','','')] > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('HANGUP',{ts '2015-06-15 13:43:18.632460'},'1','1','1','','','s','tc-maint','Local/s@tc-maint-0000427a;1','','',3,'','1434400998.35152','1434400998.35152','','','')] > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('CHAN_END',{ts '2015-06-15 13:43:18.632505'},'1','1','1','','','s','tc-maint','Local/s@tc-maint-0000427a;1','','',3,'','1434400998.35152','1434400998.35152','','','')] > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('HANGUP',{ts '2015-06-15 13:43:18.632904'},'1','1','','','','s','tc-maint','Local/s@tc-maint-0000427a;2','','',3,'','1434400998.35153','1434400998.35152','','','')] > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('CHAN_END',{ts '2015-06-15 13:43:18.632976'},'1','1','','','','s','tc-maint','Local/s@tc-maint-0000427a;2','','',3,'','1434400998.35153','1434400998.35152','','','')] > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('LINKEDID_END',{ts '2015-06-15 13:43:18.633006'},'1','1','','','','s','tc-maint','Local/s@tc-maint-0000427a;2','','',3,'','1434400998.35153','1434400998.35152','','','')] -- Saving message as is -- Playing 'vm-msgsaved.ulaw' (language 'en') -- Executing [s-NOANSWER@macro-vm:3] Goto("SIP/Sip50-0000045a", "exit-SUCCESS,1") in new stack -- Goto (macro-vm,exit-SUCCESS,1) -- Executing [exit-SUCCESS@macro-vm:1] GotoIf("SIP/Sip50-0000045a", "1?exit-RETURN,1") in new stack -- Goto (macro-vm,exit-RETURN,1) -- Executing [exit-RETURN@macro-vm:1] NoOp("SIP/Sip50-0000045a", "Returning From Voicemail because macro") in new stack -- Executing [230@ext-local:5] Goto("SIP/Sip50-0000045a", "vmret,1") in new stack -- Goto (ext-local,vmret,1) -- Executing [vmret@ext-local:1] GotoIf("SIP/Sip50-0000045a", "1?playret") in new stack -- Goto (ext-local,vmret,3) -- Executing [vmret@ext-local:3] Playback("SIP/Sip50-0000045a", "exited-vm-will-be-transfered&silence/1") in new stack -- Playing 'exited-vm-will-be-transfered.slin' (language 'en') -- Playing 'silence/1.ulaw' (language 'en') -- Executing [vmret@ext-local:4] Goto("SIP/Sip50-0000045a", "ivr-3,return,1") in new stack -- Goto (ivr-3,return,1) -- Executing [return@ivr-3:1] Set("SIP/Sip50-0000045a", "_IVR_CONTEXT=ivr-3") in new stack -- Executing [return@ivr-3:2] Set("SIP/Sip50-0000045a", "_IVR_CONTEXT_ivr-3=") in new stack -- Executing [return@ivr-3:3] Set("SIP/Sip50-0000045a", "IVR_MSG=custom/Taurus_MainIVR_06062015") in new stack -- Executing [return@ivr-3:4] Goto("SIP/Sip50-0000045a", "s,start") in new stack -- Goto (ivr-3,s,10) -- Executing [s@ivr-3:10] Set("SIP/Sip50-0000045a", "TIMEOUT(digit)=3") in new stack -- Digit timeout set to 3.000 -- Executing [s@ivr-3:11] ExecIf("SIP/Sip50-0000045a", "1?Background(custom/Taurus_MainIVR_06062015)") in new stack -- Playing 'custom/Taurus_MainIVR_06062015.gsm' (language 'en') == Spawn extension (ivr-3, s, 11) exited non-zero on 'SIP/Sip50-0000045a' -- Executing [h@ivr-3:1] Hangup("SIP/Sip50-0000045a", "") in new stack == Spawn extension (ivr-3, h, 1) exited non-zero on 'SIP/Sip50-0000045a' > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('HANGUP',{ts '2015-06-15 13:43:34.269925'},'Morewave','6042148503','6042148503','','21036042148571','h','ivr-3','SIP/Sip50-0000045a','','',3,'','1434400945.35148','1434400945.35148','','','')] > [INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,uniqueid,did,cnum,cnam) VALUES ({ ts '2015-06-15 13:42:25' },'"Morewave" <6042148503>','6042148503','s','ivr-3','SIP/Sip50-0000045a','SIP/230-0000045b','BackGround','custom/Taurus_MainIVR_06062015',69,69,'NO ANSWER',3,'1434400945.35148','21036042148571','6042148503','Morewave')] > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('CHAN_END',{ts '2015-06-15 13:43:34.270964'},'Morewave','6042148503','6042148503','','21036042148571','h','ivr-3','SIP/Sip50-0000045a','','',3,'','1434400945.35148','1434400945.35148','','','')] > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('LINKEDID_END',{ts '2015-06-15 13:43:34.271035'},'Morewave','6042148503','6042148503','','21036042148571','h','ivr-3','SIP/Sip50-0000045a','','',3,'','1434400945.35148','1434400945.35148','','','')]