== Using SIP RTP TOS bits 184 == Using SIP RTP CoS mark 5 -- Executing [21036042148571@from-trunk-sip-Sip50:1] Set("SIP/Sip50-0000045c", "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:47:22.952810'},'Morewave','6042148503','','','','21036042148571','from-trunk-sip-Sip50','SIP/Sip50-0000045c','','',3,'','1434401242.35162','1434401242.35162','','','')] -- Executing [21036042148571@from-trunk-sip-Sip50:2] Goto("SIP/Sip50-0000045c", "from-trunk,21036042148571,1") in new stack -- Goto (from-trunk,21036042148571,1) -- Executing [21036042148571@from-trunk:1] Set("SIP/Sip50-0000045c", "__FROM_DID=21036042148571") in new stack -- Executing [21036042148571@from-trunk:2] Gosub("SIP/Sip50-0000045c", "sub-record-check,s,1(in,21036042148571,no)") in new stack -- Executing [s@sub-record-check:1] GotoIf("SIP/Sip50-0000045c", "0?initialized") in new stack -- Executing [s@sub-record-check:2] Set("SIP/Sip50-0000045c", "__REC_STATUS=INITIALIZED") in new stack -- Executing [s@sub-record-check:3] Set("SIP/Sip50-0000045c", "NOW=1434401242") in new stack -- Executing [s@sub-record-check:4] Set("SIP/Sip50-0000045c", "__DAY=15") in new stack -- Executing [s@sub-record-check:5] Set("SIP/Sip50-0000045c", "__MONTH=06") in new stack -- Executing [s@sub-record-check:6] Set("SIP/Sip50-0000045c", "__YEAR=2015") in new stack -- Executing [s@sub-record-check:7] Set("SIP/Sip50-0000045c", "__TIMESTR=20150615-134722") in new stack -- Executing [s@sub-record-check:8] Set("SIP/Sip50-0000045c", "__FROMEXTEN=unknown") in new stack -- Executing [s@sub-record-check:9] Set("SIP/Sip50-0000045c", "__MON_FMT=wav") in new stack -- Executing [s@sub-record-check:10] NoOp("SIP/Sip50-0000045c", "Recordings initialized") in new stack -- Executing [s@sub-record-check:11] ExecIf("SIP/Sip50-0000045c", "0?Set(ARG3=dontcare)") in new stack -- Executing [s@sub-record-check:12] Set("SIP/Sip50-0000045c", "REC_POLICY_MODE_SAVE=") in new stack -- Executing [s@sub-record-check:13] ExecIf("SIP/Sip50-0000045c", "0?Set(REC_STATUS=NO)") in new stack -- Executing [s@sub-record-check:14] GotoIf("SIP/Sip50-0000045c", "2?checkaction") in new stack -- Goto (sub-record-check,s,17) -- Executing [s@sub-record-check:17] GotoIf("SIP/Sip50-0000045c", "1?sub-record-check,in,1") in new stack -- Goto (sub-record-check,in,1) -- Executing [in@sub-record-check:1] NoOp("SIP/Sip50-0000045c", "Inbound Recording Check to 21036042148571") in new stack -- Executing [in@sub-record-check:2] Set("SIP/Sip50-0000045c", "FROMEXTEN=unknown") in new stack -- Executing [in@sub-record-check:3] ExecIf("SIP/Sip50-0000045c", "10?Set(FROMEXTEN=6042148503)") in new stack -- Executing [in@sub-record-check:4] Gosub("SIP/Sip50-0000045c", "recordcheck,1(no,in,21036042148571)") in new stack -- Executing [recordcheck@sub-record-check:1] NoOp("SIP/Sip50-0000045c", "Starting recording check against no") in new stack -- Executing [recordcheck@sub-record-check:2] Goto("SIP/Sip50-0000045c", "no") in new stack -- Goto (sub-record-check,recordcheck,12) -- Executing [recordcheck@sub-record-check:12] Set("SIP/Sip50-0000045c", "__REC_POLICY_MODE=NO") in new stack -- Executing [recordcheck@sub-record-check:13] Return("SIP/Sip50-0000045c", "") in new stack -- Executing [in@sub-record-check:5] Return("SIP/Sip50-0000045c", "") in new stack -- Executing [21036042148571@from-trunk:3] Gosub("SIP/Sip50-0000045c", "app-blacklist-check,s,1()") in new stack -- Executing [s@app-blacklist-check:1] GotoIf("SIP/Sip50-0000045c", "0?blacklisted") in new stack -- Executing [s@app-blacklist-check:2] Set("SIP/Sip50-0000045c", "CALLED_BLACKLIST=1") in new stack -- Executing [s@app-blacklist-check:3] Return("SIP/Sip50-0000045c", "") in new stack -- Executing [21036042148571@from-trunk:4] Set("SIP/Sip50-0000045c", "CDR(did)=21036042148571") in new stack -- Executing [21036042148571@from-trunk:5] ExecIf("SIP/Sip50-0000045c", "0 ?Set(CALLERID(name)=6042148503)") in new stack -- Executing [21036042148571@from-trunk:6] Set("SIP/Sip50-0000045c", "CHANNEL(musicclass)=default") in new stack -- Executing [21036042148571@from-trunk:7] Set("SIP/Sip50-0000045c", "__MOHCLASS=default") in new stack [2015-06-15 13:47:22] WARNING[22140][C-0000440c]: func_channel.c:538 func_channel_read: Unknown or unavailable item requested: 'reversecharge' -- Executing [21036042148571@from-trunk:8] GotoIf("SIP/Sip50-0000045c", "0?macro-hangupcall") in new stack -- Executing [21036042148571@from-trunk:9] Set("SIP/Sip50-0000045c", "__CALLINGPRES_SV=allowed_not_screened") in new stack -- Executing [21036042148571@from-trunk:10] Set("SIP/Sip50-0000045c", "CALLERPRES()=allowed_not_screened") in new stack -- Executing [21036042148571@from-trunk:11] Goto("SIP/Sip50-0000045c", "ivr-3,s,1") in new stack -- Goto (ivr-3,s,1) -- Executing [s@ivr-3:1] Set("SIP/Sip50-0000045c", "TIMEOUT_LOOPCOUNT=0") in new stack -- Executing [s@ivr-3:2] Set("SIP/Sip50-0000045c", "INVALID_LOOPCOUNT=0") in new stack -- Executing [s@ivr-3:3] Set("SIP/Sip50-0000045c", "_IVR_CONTEXT_ivr-3=") in new stack -- Executing [s@ivr-3:4] Set("SIP/Sip50-0000045c", "_IVR_CONTEXT=ivr-3") in new stack -- Executing [s@ivr-3:5] Set("SIP/Sip50-0000045c", "__IVR_RETVM=RETURN") in new stack -- Executing [s@ivr-3:6] GotoIf("SIP/Sip50-0000045c", "0?skip") in new stack -- Executing [s@ivr-3:7] Answer("SIP/Sip50-0000045c", "") 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:47:22.961034'},'Morewave','6042148503','6042148503','','21036042148571','s','ivr-3','SIP/Sip50-0000045c','Answer','',3,'','1434401242.35162','1434401242.35162','','','')] > 0x7f9aac287390 -- Probation passed - setting RTP source address to 172.30.10.133:21614 -- Executing [s@ivr-3:8] Wait("SIP/Sip50-0000045c", "1") in new stack -- Executing [s@ivr-3:9] Set("SIP/Sip50-0000045c", "IVR_MSG=custom/Taurus_MainIVR_06062015") in new stack -- Executing [s@ivr-3:10] Set("SIP/Sip50-0000045c", "TIMEOUT(digit)=3") in new stack -- Digit timeout set to 3.000 -- Executing [s@ivr-3:11] ExecIf("SIP/Sip50-0000045c", "1?Background(custom/Taurus_MainIVR_06062015)") in new stack -- Playing 'custom/Taurus_MainIVR_06062015.gsm' (language 'en') == CDR updated on SIP/Sip50-0000045c -- Executing [230@ivr-3:1] Goto("SIP/Sip50-0000045c", "from-did-direct,230,1") in new stack -- Goto (from-did-direct,230,1) -- Executing [230@from-did-direct:1] GotoIf("SIP/Sip50-0000045c", "1?ext-local,230,1") in new stack -- Goto (ext-local,230,1) -- Executing [230@ext-local:1] Set("SIP/Sip50-0000045c", "__RINGTIMER=15") in new stack -- Executing [230@ext-local:2] Macro("SIP/Sip50-0000045c", "exten-vm,230,230,0,0,0") in new stack -- Executing [s@macro-exten-vm:1] Macro("SIP/Sip50-0000045c", "user-callerid,") in new stack -- Executing [s@macro-user-callerid:1] Set("SIP/Sip50-0000045c", "TOUCH_MONITOR=1434401242.35162") in new stack -- Executing [s@macro-user-callerid:2] Set("SIP/Sip50-0000045c", "AMPUSER=6042148503") in new stack -- Executing [s@macro-user-callerid:3] GotoIf("SIP/Sip50-0000045c", "0?report") in new stack -- Executing [s@macro-user-callerid:4] ExecIf("SIP/Sip50-0000045c", "1?Set(REALCALLERIDNUM=6042148503)") in new stack -- Executing [s@macro-user-callerid:5] Set("SIP/Sip50-0000045c", "AMPUSER=") in new stack -- Executing [s@macro-user-callerid:6] GotoIf("SIP/Sip50-0000045c", "0?limit") in new stack -- Executing [s@macro-user-callerid:7] Set("SIP/Sip50-0000045c", "AMPUSERCIDNAME=") in new stack -- Executing [s@macro-user-callerid:8] GotoIf("SIP/Sip50-0000045c", "1?report") in new stack -- Goto (macro-user-callerid,s,16) -- Executing [s@macro-user-callerid:16] GotoIf("SIP/Sip50-0000045c", "0?continue") in new stack -- Executing [s@macro-user-callerid:17] ExecIf("SIP/Sip50-0000045c", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack -- Executing [s@macro-user-callerid:18] Set("SIP/Sip50-0000045c", "__TTL=64") in new stack -- Executing [s@macro-user-callerid:19] GotoIf("SIP/Sip50-0000045c", "1?continue") in new stack -- Goto (macro-user-callerid,s,30) -- Executing [s@macro-user-callerid:30] Set("SIP/Sip50-0000045c", "CALLERID(number)=6042148503") in new stack -- Executing [s@macro-user-callerid:31] Set("SIP/Sip50-0000045c", "CALLERID(name)=Morewave") in new stack -- Executing [s@macro-user-callerid:32] Set("SIP/Sip50-0000045c", "CDR(cnum)=6042148503") in new stack -- Executing [s@macro-user-callerid:33] Set("SIP/Sip50-0000045c", "CDR(cnam)=Morewave") in new stack -- Executing [s@macro-user-callerid:34] Set("SIP/Sip50-0000045c", "CHANNEL(language)=en") in new stack -- Executing [s@macro-exten-vm:2] Set("SIP/Sip50-0000045c", "RingGroupMethod=none") in new stack -- Executing [s@macro-exten-vm:3] Set("SIP/Sip50-0000045c", "__EXTTOCALL=230") in new stack -- Executing [s@macro-exten-vm:4] Set("SIP/Sip50-0000045c", "__PICKUPMARK=230") in new stack -- Executing [s@macro-exten-vm:5] Set("SIP/Sip50-0000045c", "RT=15") in new stack -- Executing [s@macro-exten-vm:6] ExecIf("SIP/Sip50-0000045c", "0?Macro(vm,230,DIRECTDIAL,RETURN)") in new stack -- Executing [s@macro-exten-vm:7] ExecIf("SIP/Sip50-0000045c", "0?MacroExit()") in new stack -- Executing [s@macro-exten-vm:8] Gosub("SIP/Sip50-0000045c", "sub-record-check,s,1(exten,230,dontcare)") in new stack -- Executing [s@sub-record-check:1] GotoIf("SIP/Sip50-0000045c", "10?initialized") in new stack -- Goto (sub-record-check,s,10) -- Executing [s@sub-record-check:10] NoOp("SIP/Sip50-0000045c", "Recordings initialized") in new stack -- Executing [s@sub-record-check:11] ExecIf("SIP/Sip50-0000045c", "0?Set(ARG3=dontcare)") in new stack -- Executing [s@sub-record-check:12] Set("SIP/Sip50-0000045c", "REC_POLICY_MODE_SAVE=NO") in new stack -- Executing [s@sub-record-check:13] ExecIf("SIP/Sip50-0000045c", "0?Set(REC_STATUS=NO)") in new stack -- Executing [s@sub-record-check:14] GotoIf("SIP/Sip50-0000045c", "5?checkaction") in new stack -- Goto (sub-record-check,s,17) -- Executing [s@sub-record-check:17] GotoIf("SIP/Sip50-0000045c", "1?sub-record-check,exten,1") in new stack -- Goto (sub-record-check,exten,1) -- Executing [exten@sub-record-check:1] NoOp("SIP/Sip50-0000045c", "Exten Recording Check between 6042148503 and 230") in new stack -- Executing [exten@sub-record-check:2] Set("SIP/Sip50-0000045c", "CALLTYPE=external") in new stack -- Executing [exten@sub-record-check:3] ExecIf("SIP/Sip50-0000045c", "0?Set(CALLTYPE=)") in new stack -- Executing [exten@sub-record-check:4] Set("SIP/Sip50-0000045c", "CALLEE=dontcare") in new stack -- Executing [exten@sub-record-check:5] ExecIf("SIP/Sip50-0000045c", "0?Set(CALLEE=dontcare)") in new stack -- Executing [exten@sub-record-check:6] GotoIf("SIP/Sip50-0000045c", "1?callee") in new stack -- Goto (sub-record-check,exten,11) -- Executing [exten@sub-record-check:11] Gosub("SIP/Sip50-0000045c", "recordcheck,1(dontcare,external,230)") in new stack -- Executing [recordcheck@sub-record-check:1] NoOp("SIP/Sip50-0000045c", "Starting recording check against dontcare") in new stack -- Executing [recordcheck@sub-record-check:2] Goto("SIP/Sip50-0000045c", "dontcare") in new stack -- Goto (sub-record-check,recordcheck,3) -- Executing [recordcheck@sub-record-check:3] Return("SIP/Sip50-0000045c", "") in new stack -- Executing [exten@sub-record-check:12] Return("SIP/Sip50-0000045c", "") in new stack -- Executing [s@macro-exten-vm:9] GotoIf("SIP/Sip50-0000045c", "1?macrodial") in new stack -- Goto (macro-exten-vm,s,15) -- Executing [s@macro-exten-vm:15] GosubIf("SIP/Sip50-0000045c", "0?clrheader,1()") in new stack -- Executing [s@macro-exten-vm:16] Macro("SIP/Sip50-0000045c", "dial-one,15,Ttr,230") in new stack -- Executing [s@macro-dial-one:1] Set("SIP/Sip50-0000045c", "DEXTEN=230") in new stack -- Executing [s@macro-dial-one:2] Set("SIP/Sip50-0000045c", "DIALSTATUS_CW=") in new stack -- Executing [s@macro-dial-one:3] GosubIf("SIP/Sip50-0000045c", "0?screen,1()") in new stack -- Executing [s@macro-dial-one:4] GosubIf("SIP/Sip50-0000045c", "0?cf,1()") in new stack -- Executing [s@macro-dial-one:5] GotoIf("SIP/Sip50-0000045c", "1?skip1") in new stack -- Goto (macro-dial-one,s,8) -- Executing [s@macro-dial-one:8] GotoIf("SIP/Sip50-0000045c", "0?nodial") in new stack -- Executing [s@macro-dial-one:9] GotoIf("SIP/Sip50-0000045c", "0?continue") in new stack -- Executing [s@macro-dial-one:10] Set("SIP/Sip50-0000045c", "EXTHASCW=ENABLED") in new stack -- Executing [s@macro-dial-one:11] GotoIf("SIP/Sip50-0000045c", "0?next1:cwinusebusy") in new stack -- Goto (macro-dial-one,s,23) -- Executing [s@macro-dial-one:23] GotoIf("SIP/Sip50-0000045c", "1?next3:continue") in new stack -- Goto (macro-dial-one,s,24) -- Executing [s@macro-dial-one:24] ExecIf("SIP/Sip50-0000045c", "0?Set(DIALSTATUS_CW=BUSY)") in new stack -- Executing [s@macro-dial-one:25] GotoIf("SIP/Sip50-0000045c", "0?nodial") in new stack -- Executing [s@macro-dial-one:26] GosubIf("SIP/Sip50-0000045c", "1?dstring,1():dlocal,1()") in new stack -- Executing [dstring@macro-dial-one:1] Set("SIP/Sip50-0000045c", "DSTRING=") in new stack -- Executing [dstring@macro-dial-one:2] Set("SIP/Sip50-0000045c", "DEVICES=230") in new stack -- Executing [dstring@macro-dial-one:3] ExecIf("SIP/Sip50-0000045c", "0?Return()") in new stack -- Executing [dstring@macro-dial-one:4] ExecIf("SIP/Sip50-0000045c", "0?Set(DEVICES=30)") in new stack -- Executing [dstring@macro-dial-one:5] Set("SIP/Sip50-0000045c", "LOOPCNT=1") in new stack -- Executing [dstring@macro-dial-one:6] Set("SIP/Sip50-0000045c", "ITER=1") in new stack -- Executing [dstring@macro-dial-one:7] Set("SIP/Sip50-0000045c", "THISDIAL=SIP/230") in new stack -- Executing [dstring@macro-dial-one:8] GosubIf("SIP/Sip50-0000045c", "1?zap2dahdi,1()") in new stack -- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/Sip50-0000045c", "0?Return()") in new stack -- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/Sip50-0000045c", "NEWDIAL=") in new stack -- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/Sip50-0000045c", "LOOPCNT2=1") in new stack -- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/Sip50-0000045c", "ITER2=1") in new stack -- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/Sip50-0000045c", "THISPART2=SIP/230") in new stack -- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/Sip50-0000045c", "0?Set(THISPART2=DAHDI/230)") in new stack -- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/Sip50-0000045c", "NEWDIAL=SIP/230&") in new stack -- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/Sip50-0000045c", "ITER2=2") in new stack -- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/Sip50-0000045c", "0?begin2") in new stack -- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/Sip50-0000045c", "THISDIAL=SIP/230") in new stack -- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/Sip50-0000045c", "") in new stack -- Executing [dstring@macro-dial-one:9] GotoIf("SIP/Sip50-0000045c", "1?doset") in new stack -- Goto (macro-dial-one,dstring,12) -- Executing [dstring@macro-dial-one:12] Set("SIP/Sip50-0000045c", "DSTRING=SIP/230&") in new stack -- Executing [dstring@macro-dial-one:13] Set("SIP/Sip50-0000045c", "ITER=2") in new stack -- Executing [dstring@macro-dial-one:14] GotoIf("SIP/Sip50-0000045c", "0?begin") in new stack -- Executing [dstring@macro-dial-one:15] Set("SIP/Sip50-0000045c", "DSTRING=SIP/230") in new stack -- Executing [dstring@macro-dial-one:16] Return("SIP/Sip50-0000045c", "") in new stack -- Executing [s@macro-dial-one:27] GotoIf("SIP/Sip50-0000045c", "0?nodial") in new stack -- Executing [s@macro-dial-one:28] GotoIf("SIP/Sip50-0000045c", "0?skiptrace") in new stack -- Executing [s@macro-dial-one:29] GosubIf("SIP/Sip50-0000045c", "1?ctset,1():ctclear,1()") in new stack -- Executing [ctset@macro-dial-one:1] Set("SIP/Sip50-0000045c", "DB(CALLTRACE/230)=6042148503") in new stack -- Executing [ctset@macro-dial-one:2] Return("SIP/Sip50-0000045c", "") in new stack -- Executing [s@macro-dial-one:30] Set("SIP/Sip50-0000045c", "D_OPTIONS=Ttr") in new stack -- Executing [s@macro-dial-one:31] ExecIf("SIP/Sip50-0000045c", "0?SIPAddHeader(Alert-Info: )") in new stack -- Executing [s@macro-dial-one:32] ExecIf("SIP/Sip50-0000045c", "0?SIPAddHeader()") in new stack -- Executing [s@macro-dial-one:33] ExecIf("SIP/Sip50-0000045c", "1?Set(CHANNEL(musicclass)=default)") in new stack -- Executing [s@macro-dial-one:34] GosubIf("SIP/Sip50-0000045c", "0?qwait,1()") in new stack -- Executing [s@macro-dial-one:35] Set("SIP/Sip50-0000045c", "__CWIGNORE=") in new stack -- Executing [s@macro-dial-one:36] Set("SIP/Sip50-0000045c", "__KEEPCID=TRUE") in new stack -- Executing [s@macro-dial-one:37] GotoIf("SIP/Sip50-0000045c", "0?usegoto,1") in new stack -- Executing [s@macro-dial-one:38] GotoIf("SIP/Sip50-0000045c", "1?godial") in new stack -- Goto (macro-dial-one,s,43) -- Executing [s@macro-dial-one:43] Macro("SIP/Sip50-0000045c", "dialout-one-predial-hook,") in new stack -- Executing [s@macro-dialout-one-predial-hook:1] MacroExit("SIP/Sip50-0000045c", "") in new stack -- Executing [s@macro-dial-one:44] Dial("SIP/Sip50-0000045c", "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:47:30.34007'},'MW Test','230','','','','s','from-internal','SIP/230-0000045d','','',3,'','1434401250.35163','1434401242.35162','','','')] -- Called SIP/230 -- SIP/230-0000045d 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:47:45.37835'},'MW Test','230','230','','','230','from-internal','SIP/230-0000045d','AppDial','(Outgoing Line)',3,'','1434401250.35163','1434401242.35162','','','')] > [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:47:45.38722'},'MW Test','230','230','','','230','from-internal','SIP/230-0000045d','AppDial','(Outgoing Line)',3,'','1434401250.35163','1434401242.35162','','','')] -- Executing [s@macro-dial-one:45] ExecIf("SIP/Sip50-0000045c", "0?MacroExit()") in new stack -- Executing [s@macro-dial-one:46] ExecIf("SIP/Sip50-0000045c", "0?Set(DIALSTATUS=)") in new stack -- Executing [s@macro-dial-one:47] GosubIf("SIP/Sip50-0000045c", "0?s-NOANSWER,1()") in new stack -- Executing [s@macro-dial-one:48] MacroExit("SIP/Sip50-0000045c", "") in new stack -- Executing [s@macro-exten-vm:17] Set("SIP/Sip50-0000045c", "SV_DIALSTATUS=NOANSWER") in new stack -- Executing [s@macro-exten-vm:18] GosubIf("SIP/Sip50-0000045c", "0?docfu,1()") in new stack -- Executing [s@macro-exten-vm:19] GosubIf("SIP/Sip50-0000045c", "0?docfb,1()") in new stack -- Executing [s@macro-exten-vm:20] Set("SIP/Sip50-0000045c", "DIALSTATUS=NOANSWER") in new stack -- Executing [s@macro-exten-vm:21] ExecIf("SIP/Sip50-0000045c", "0?MacroExit()") in new stack -- Executing [s@macro-exten-vm:22] GotoIf("SIP/Sip50-0000045c", "0?s-NOANSWER,1") in new stack -- Executing [s@macro-exten-vm:23] Macro("SIP/Sip50-0000045c", "vm,230,NOANSWER,RETURN") in new stack -- Executing [s@macro-vm:1] Macro("SIP/Sip50-0000045c", "user-callerid,SKIPTTL") in new stack -- Executing [s@macro-user-callerid:1] Set("SIP/Sip50-0000045c", "TOUCH_MONITOR=1434401242.35162") in new stack -- Executing [s@macro-user-callerid:2] Set("SIP/Sip50-0000045c", "AMPUSER=6042148503") in new stack -- Executing [s@macro-user-callerid:3] GotoIf("SIP/Sip50-0000045c", "0?report") in new stack -- Executing [s@macro-user-callerid:4] ExecIf("SIP/Sip50-0000045c", "0?Set(REALCALLERIDNUM=6042148503)") in new stack -- Executing [s@macro-user-callerid:5] Set("SIP/Sip50-0000045c", "AMPUSER=") in new stack -- Executing [s@macro-user-callerid:6] GotoIf("SIP/Sip50-0000045c", "0?limit") in new stack -- Executing [s@macro-user-callerid:7] Set("SIP/Sip50-0000045c", "AMPUSERCIDNAME=") in new stack -- Executing [s@macro-user-callerid:8] GotoIf("SIP/Sip50-0000045c", "1?report") in new stack -- Goto (macro-user-callerid,s,16) -- Executing [s@macro-user-callerid:16] GotoIf("SIP/Sip50-0000045c", "1?continue") in new stack -- Goto (macro-user-callerid,s,30) -- Executing [s@macro-user-callerid:30] Set("SIP/Sip50-0000045c", "CALLERID(number)=6042148503") in new stack -- Executing [s@macro-user-callerid:31] Set("SIP/Sip50-0000045c", "CALLERID(name)=Morewave") in new stack -- Executing [s@macro-user-callerid:32] Set("SIP/Sip50-0000045c", "CDR(cnum)=6042148503") in new stack -- Executing [s@macro-user-callerid:33] Set("SIP/Sip50-0000045c", "CDR(cnam)=Morewave") in new stack -- Executing [s@macro-user-callerid:34] Set("SIP/Sip50-0000045c", "CHANNEL(language)=en") in new stack -- Executing [s@macro-vm:2] Set("SIP/Sip50-0000045c", "VMGAIN=") in new stack -- Executing [s@macro-vm:3] Macro("SIP/Sip50-0000045c", "blkvm-check,") in new stack -- Executing [s@macro-blkvm-check:1] Set("SIP/Sip50-0000045c", "GOSUB_RETVAL=") in new stack -- Executing [s@macro-blkvm-check:2] ExecIf("SIP/Sip50-0000045c", "0?Set(GOSUB_RETVAL=TRUE)") in new stack -- Executing [s@macro-blkvm-check:3] MacroExit("SIP/Sip50-0000045c", "") in new stack -- Executing [s@macro-vm:4] GotoIf("SIP/Sip50-0000045c", "1?vmx,1") in new stack -- Goto (macro-vm,vmx,1) -- Executing [vmx@macro-vm:1] Set("SIP/Sip50-0000045c", "MEXTEN=230") in new stack -- Executing [vmx@macro-vm:2] Set("SIP/Sip50-0000045c", "MMODE=NOANSWER") in new stack -- Executing [vmx@macro-vm:3] Set("SIP/Sip50-0000045c", "RETVM=RETURN") in new stack -- Executing [vmx@macro-vm:4] Set("SIP/Sip50-0000045c", "MODE=unavail") in new stack -- Executing [vmx@macro-vm:5] Macro("SIP/Sip50-0000045c", "get-vmcontext,230") in new stack -- Executing [s@macro-get-vmcontext:1] Set("SIP/Sip50-0000045c", "VMCONTEXT=default") in new stack -- Executing [s@macro-get-vmcontext:2] GotoIf("SIP/Sip50-0000045c", "0?200:300") in new stack -- Goto (macro-get-vmcontext,s,300) -- Executing [s@macro-get-vmcontext:300] NoOp("SIP/Sip50-0000045c", "") in new stack -- Executing [vmx@macro-vm:6] Set("SIP/Sip50-0000045c", "MODE=unavail") in new stack -- Executing [vmx@macro-vm:7] NoOp("SIP/Sip50-0000045c", "MODE IS: unavail") in new stack -- Executing [vmx@macro-vm:8] GotoIf("SIP/Sip50-0000045c", "0?chknomsg") in new stack -- Executing [vmx@macro-vm:9] Set("SIP/Sip50-0000045c", "VM_OPTS=") in new stack -- Executing [vmx@macro-vm:10] GotoIf("SIP/Sip50-0000045c", "0?s-NOANSWER,1") in new stack -- Executing [vmx@macro-vm:11] GotoIf("SIP/Sip50-0000045c", "1?notdirect") in new stack -- Goto (macro-vm,vmx,13) -- Executing [vmx@macro-vm:13] NoOp("SIP/Sip50-0000045c", "Checking if ext 230 is enabled: enabled") in new stack -- Executing [vmx@macro-vm:14] GotoIf("SIP/Sip50-0000045c", "0?s-NOANSWER,1") in new stack -- Executing [vmx@macro-vm:15] GotoIf("SIP/Sip50-0000045c", "1?nofile") in new stack -- Goto (macro-vm,vmx,56) -- Executing [vmx@macro-vm:56] NoOp("SIP/Sip50-0000045c", "File for mode: unavail does not exist, SYSTEMSTATUS: , going to normal voicemail") in new stack -- Executing [vmx@macro-vm:57] Goto("SIP/Sip50-0000045c", "s-NOANSWER,1") in new stack -- Goto (macro-vm,s-NOANSWER,1) -- Executing [s-NOANSWER@macro-vm:1] Macro("SIP/Sip50-0000045c", "get-vmcontext,230") in new stack -- Executing [s@macro-get-vmcontext:1] Set("SIP/Sip50-0000045c", "VMCONTEXT=default") in new stack -- Executing [s@macro-get-vmcontext:2] GotoIf("SIP/Sip50-0000045c", "0?200:300") in new stack -- Goto (macro-get-vmcontext,s,300) -- Executing [s@macro-get-vmcontext:300] NoOp("SIP/Sip50-0000045c", "") in new stack -- Executing [s-NOANSWER@macro-vm:2] VoiceMail("SIP/Sip50-0000045c", "230@default,u") in new stack -- Playing 'vm-theperson.ulaw' (language 'en') -- Playing 'digits/2.ulaw' (language 'en') == 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:47:46.924159'},'Sherry Martin','222','','','','18777847336','from-internal','SIP/222-0000045e','','',3,'taurus','1434401266.35164','1434401266.35164','','','')] -- Executing [18777847336@from-internal:1] Goto("SIP/222-0000045e", "from-internal-original,18777847336,1") in new stack -- Goto (from-internal-original,18777847336,1) -- Executing [18777847336@from-internal-original:1] Macro("SIP/222-0000045e", "user-callerid,LIMIT,EXTERNAL,") in new stack -- Executing [s@macro-user-callerid:1] Set("SIP/222-0000045e", "TOUCH_MONITOR=1434401266.35164") in new stack -- Executing [s@macro-user-callerid:2] Set("SIP/222-0000045e", "AMPUSER=222") in new stack -- Executing [s@macro-user-callerid:3] GotoIf("SIP/222-0000045e", "0?report") in new stack -- Executing [s@macro-user-callerid:4] ExecIf("SIP/222-0000045e", "1?Set(REALCALLERIDNUM=222)") in new stack -- Executing [s@macro-user-callerid:5] Set("SIP/222-0000045e", "AMPUSER=222") in new stack -- Executing [s@macro-user-callerid:6] GotoIf("SIP/222-0000045e", "0?limit") in new stack -- Executing [s@macro-user-callerid:7] Set("SIP/222-0000045e", "AMPUSERCIDNAME=Sherry Martin") in new stack -- Executing [s@macro-user-callerid:8] GotoIf("SIP/222-0000045e", "0?report") in new stack -- Executing [s@macro-user-callerid:9] Set("SIP/222-0000045e", "AMPUSERCID=222") in new stack -- Executing [s@macro-user-callerid:10] Set("SIP/222-0000045e", "__DIAL_OPTIONS=Ttr") in new stack -- Executing [s@macro-user-callerid:11] Set("SIP/222-0000045e", "CALLERID(all)="Sherry Martin" <222>") in new stack -- Executing [s@macro-user-callerid:12] GotoIf("SIP/222-0000045e", "0?limit") in new stack -- Executing [s@macro-user-callerid:13] ExecIf("SIP/222-0000045e", "1?Set(GROUP(concurrency_limit)=222)") in new stack -- Executing [s@macro-user-callerid:14] GosubIf("SIP/222-0000045e", "7?sub-ccss,s,1(from-internal-original,18777847336)") in new stack -- Executing [s@sub-ccss:1] ExecIf("SIP/222-0000045e", "0?Return()") in new stack -- Executing [s@sub-ccss:2] Set("SIP/222-0000045e", "CCSS_SETUP=TRUE") in new stack -- Executing [s@sub-ccss:3] GosubIf("SIP/222-0000045e", "0?monitor_config,1(from-internal-original,18777847336):monitor_default,1(from-internal-original,18777847336)") in new stack -- Executing [monitor_default@sub-ccss:1] GotoIf("SIP/222-0000045e", "0?is_exten") in new stack -- Executing [monitor_default@sub-ccss:2] StackPop("SIP/222-0000045e", "") in new stack -- Executing [monitor_default@sub-ccss:3] Return("SIP/222-0000045e", "FALSE") in new stack -- Executing [s@macro-user-callerid:15] ExecIf("SIP/222-0000045e", "0?Set(CHANNEL(language)=)") in new stack -- Executing [s@macro-user-callerid:16] GotoIf("SIP/222-0000045e", "1?continue") in new stack -- Goto (macro-user-callerid,s,30) -- Executing [s@macro-user-callerid:30] Set("SIP/222-0000045e", "CALLERID(number)=222") in new stack -- Executing [s@macro-user-callerid:31] Set("SIP/222-0000045e", "CALLERID(name)=Sherry Martin") in new stack -- Executing [s@macro-user-callerid:32] Set("SIP/222-0000045e", "CDR(cnum)=222") in new stack -- Executing [s@macro-user-callerid:33] Set("SIP/222-0000045e", "CDR(cnam)=Sherry Martin") in new stack -- Executing [s@macro-user-callerid:34] Set("SIP/222-0000045e", "CHANNEL(language)=en") in new stack -- Executing [18777847336@from-internal-original:2] Gosub("SIP/222-0000045e", "sub-record-check,s,1(out,18777847336,never)") in new stack -- Executing [s@sub-record-check:1] GotoIf("SIP/222-0000045e", "0?initialized") in new stack -- Executing [s@sub-record-check:2] Set("SIP/222-0000045e", "__REC_STATUS=INITIALIZED") in new stack -- Executing [s@sub-record-check:3] Set("SIP/222-0000045e", "NOW=1434401266") in new stack -- Executing [s@sub-record-check:4] Set("SIP/222-0000045e", "__DAY=15") in new stack -- Executing [s@sub-record-check:5] Set("SIP/222-0000045e", "__MONTH=06") in new stack -- Executing [s@sub-record-check:6] Set("SIP/222-0000045e", "__YEAR=2015") in new stack -- Executing [s@sub-record-check:7] Set("SIP/222-0000045e", "__TIMESTR=20150615-134746") in new stack -- Executing [s@sub-record-check:8] Set("SIP/222-0000045e", "__FROMEXTEN=222") in new stack -- Executing [s@sub-record-check:9] Set("SIP/222-0000045e", "__MON_FMT=wav") in new stack -- Executing [s@sub-record-check:10] NoOp("SIP/222-0000045e", "Recordings initialized") in new stack -- Executing [s@sub-record-check:11] ExecIf("SIP/222-0000045e", "0?Set(ARG3=dontcare)") in new stack -- Executing [s@sub-record-check:12] Set("SIP/222-0000045e", "REC_POLICY_MODE_SAVE=") in new stack -- Executing [s@sub-record-check:13] ExecIf("SIP/222-0000045e", "0?Set(REC_STATUS=NO)") in new stack -- Executing [s@sub-record-check:14] GotoIf("SIP/222-0000045e", "3?checkaction") in new stack -- Goto (sub-record-check,s,17) -- Executing [s@sub-record-check:17] GotoIf("SIP/222-0000045e", "1?sub-record-check,out,1") in new stack -- Goto (sub-record-check,out,1) -- Executing [out@sub-record-check:1] NoOp("SIP/222-0000045e", "Outbound Recording Check from 222 to 18777847336") in new stack -- Executing [out@sub-record-check:2] Set("SIP/222-0000045e", "RECMODE=no") in new stack -- Executing [out@sub-record-check:3] ExecIf("SIP/222-0000045e", "0?Goto(routewins)") in new stack -- Executing [out@sub-record-check:4] ExecIf("SIP/222-0000045e", "1?Goto(routewins)") in new stack -- Goto (sub-record-check,out,7) -- Executing [out@sub-record-check:7] Gosub("SIP/222-0000045e", "recordcheck,1(never,out,18777847336)") in new stack -- Executing [recordcheck@sub-record-check:1] NoOp("SIP/222-0000045e", "Starting recording check against never") in new stack -- Executing [recordcheck@sub-record-check:2] Goto("SIP/222-0000045e", "never") in new stack -- Goto (sub-record-check,recordcheck,14) -- Executing [recordcheck@sub-record-check:14] Set("SIP/222-0000045e", "__REC_POLICY_MODE=NEVER") in new stack -- Executing [recordcheck@sub-record-check:15] Goto("SIP/222-0000045e", "stoprec") in new stack -- Goto (sub-record-check,recordcheck,25) -- Executing [recordcheck@sub-record-check:25] NoOp("SIP/222-0000045e", "Stopping recording: out, 18777847336") in new stack -- Executing [recordcheck@sub-record-check:26] Set("SIP/222-0000045e", "__REC_STATUS=STOPPED") in new stack -- Executing [recordcheck@sub-record-check:27] System("SIP/222-0000045e", "/var/lib/asterisk/bin/stoprecording.php "SIP/222-0000045e"") in new stack -- Executing [recordcheck@sub-record-check:28] Return("SIP/222-0000045e", "") in new stack -- Executing [out@sub-record-check:8] Return("SIP/222-0000045e", "") in new stack -- Executing [18777847336@from-internal-original:3] ExecIf("SIP/222-0000045e", "0 ?Set(CDR(accountcode)=)") in new stack -- Executing [18777847336@from-internal-original:4] Set("SIP/222-0000045e", "MOHCLASS=default") in new stack -- Executing [18777847336@from-internal-original:5] ExecIf("SIP/222-0000045e", "0?Set(TRUNKCIDOVERRIDE=6042148500)") in new stack -- Executing [18777847336@from-internal-original:6] Set("SIP/222-0000045e", "_NODEST=") in new stack -- Executing [18777847336@from-internal-original:7] Macro("SIP/222-0000045e", "dialout-trunk,2,18777847336,,off") in new stack -- Executing [s@macro-dialout-trunk:1] Set("SIP/222-0000045e", "DIAL_TRUNK=2") in new stack -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/222-0000045e", "0?sub-pincheck,s,1()") in new stack -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/222-0000045e", "0?disabletrunk,1") in new stack -- Executing [s@macro-dialout-trunk:4] Set("SIP/222-0000045e", "DIAL_NUMBER=18777847336") in new stack -- Executing [s@macro-dialout-trunk:5] Set("SIP/222-0000045e", "DIAL_TRUNK_OPTIONS=Ttr") in new stack -- Executing [s@macro-dialout-trunk:6] Set("SIP/222-0000045e", "OUTBOUND_GROUP=OUT_2") in new stack -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/222-0000045e", "0?nomax") in new stack -- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/222-0000045e", "0?chanfull") in new stack -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/222-0000045e", "0?skipoutcid") in new stack -- Executing [s@macro-dialout-trunk:10] Set("SIP/222-0000045e", "DIAL_TRUNK_OPTIONS=Tt") in new stack -- Executing [s@macro-dialout-trunk:11] Macro("SIP/222-0000045e", "outbound-callerid,2") in new stack -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/222-0000045e", "0?Set(CALLERPRES()=)") in new stack -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/222-0000045e", "0?Set(REALCALLERIDNUM=222)") in new stack -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/222-0000045e", "1?normcid") in new stack -- Goto (macro-outbound-callerid,s,6) -- Executing [s@macro-outbound-callerid:6] Set("SIP/222-0000045e", "USEROUTCID="Taurus CRES"<6045311685>") in new stack -- Executing [s@macro-outbound-callerid:7] Set("SIP/222-0000045e", "EMERGENCYCID=") in new stack -- Executing [s@macro-outbound-callerid:8] Set("SIP/222-0000045e", "TRUNKOUTCID=6042148510") in new stack -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/222-0000045e", "1?trunkcid") in new stack -- Goto (macro-outbound-callerid,s,14) -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/222-0000045e", "1?Set(CALLERID(all)=6042148510)") in new stack -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/222-0000045e", "1?Set(CALLERID(all)="Taurus CRES"<6045311685>)") in new stack -- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/222-0000045e", "0?Set(CALLERID(all)=)") in new stack -- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/222-0000045e", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack -- Executing [s@macro-outbound-callerid:18] Set("SIP/222-0000045e", "CDR(outbound_cnum)=6045311685") in new stack -- Executing [s@macro-outbound-callerid:19] Set("SIP/222-0000045e", "CDR(outbound_cnam)=Taurus CRES") in new stack -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/222-0000045e", "0?sub-flp-2,s,1()") in new stack -- Executing [s@macro-dialout-trunk:13] Set("SIP/222-0000045e", "OUTNUM=18777847336") in new stack -- Executing [s@macro-dialout-trunk:14] Set("SIP/222-0000045e", "custom=SIP/Sip50") in new stack -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/222-0000045e", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/222-0000045e", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack -- Executing [s@macro-dialout-trunk:17] Macro("SIP/222-0000045e", "dialout-trunk-predial-hook,") in new stack -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/222-0000045e", "") in new stack -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/222-0000045e", "0?bypass,1") in new stack -- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/222-0000045e", "1?Set(CONNECTEDLINE(num,i)=18777847336)") in new stack -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/222-0000045e", "1?Set(CONNECTEDLINE(name,i)=CID:6045311685)") in new stack -- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/222-0000045e", "0?customtrunk") in new stack -- Executing [s@macro-dialout-trunk:22] Dial("SIP/222-0000045e", "SIP/Sip50/18777847336,300,Tt") 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:47:47.237054'},'','','','','','s','from-trunk-sip-Sip50','SIP/Sip50-0000045f','','',3,'','1434401267.35165','1434401266.35164','','','')] -- Called SIP/Sip50/18777847336 -- Playing 'digits/3.ulaw' (language 'en') -- Playing 'digits/0.ulaw' (language 'en') -- Playing 'vm-isunavail.ulaw' (language 'en') -- SIP/Sip50-0000045f is making progress passing it to SIP/222-0000045e > 0x7f9aa01ed800 -- Probation passed - setting RTP source address to 172.30.10.133:21618 > 0x7f9aac298050 -- Probation passed - setting RTP source address to 96.55.202.250:11786 > 0x7f9aac298050 -- Probation passed - setting RTP source address to 96.55.202.250:11786 -- Playing 'vm-intro.ulaw' (language 'en') -- SIP/Sip50-0000045f answered SIP/222-0000045e > [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:47:52.781236'},'CID:6045311685','18777847336','','','','18777847336','from-trunk-sip-Sip50','SIP/Sip50-0000045f','AppDial','(Outgoing Line)',3,'taurus','1434401267.35165','1434401266.35164','','','')] > [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:47:52.781765'},'Taurus CRES','6045311685','222','','18777847336','s','macro-dialout-trunk','SIP/222-0000045e','Dial','SIP/Sip50/18777847336,300,Tt',3,'taurus','1434401266.35164','1434401266.35164','','','')] > [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 ('BRIDGE_START',{ts '2015-06-15 13:47:52.781807'},'Taurus CRES','6045311685','222','','18777847336','s','macro-dialout-trunk','SIP/222-0000045e','Dial','SIP/Sip50/18777847336,300,Tt',3,'taurus','1434401266.35164','1434401266.35164','SIP/Sip50-0000045f','','')] -- Playing 'beep.ulaw' (language 'en') -- Recording the message -- x=0, open writing: /var/spool/asterisk/voicemail/default/230/tmp/yNaSkh format: wav, 0x7f9a9c0562e8 -- 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') -- 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:48:00.448872'},'','','','','','s','tc-maint','Local/s@tc-maint-0000427f;1','','',3,'','1434401280.35166','1434401280.35166','','','')] -- Executing [s@tc-maint:1] NoCDR("Local/s@tc-maint-0000427f;2", "") in new stack -- Executing [s@tc-maint:2] Set("Local/s@tc-maint-0000427f;2", "TCMAINT=RETURN") in new stack -- Executing [s@tc-maint:3] Gosub("Local/s@tc-maint-0000427f;2", "timeconditions,1,1()") in new stack -- Executing [1@timeconditions:1] Set("Local/s@tc-maint-0000427f;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:48:00.449023'},'','','','','','s','tc-maint','Local/s@tc-maint-0000427f;2','','',3,'','1434401280.35167','1434401280.35166','','','')] -- Executing [1@timeconditions:2] Set("Local/s@tc-maint-0000427f;2", "DB(TC/1/NOT_INUSESTATE)=NOT_INUSE") in new stack -- Executing [1@timeconditions:3] GotoIfTime("Local/s@tc-maint-0000427f;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-0000427f;2", "0?falsegoto") in new stack -- Executing [1@timeconditions:13] ExecIf("Local/s@tc-maint-0000427f;2", "0?Set(DB(TC/1)=)") in new stack -- Executing [1@timeconditions:14] Set("Local/s@tc-maint-0000427f;2", "DEVICE_STATE(Custom:TC1)=NOT_INUSE") in new stack -- Executing [1@timeconditions:15] ExecIf("Local/s@tc-maint-0000427f;2", "0?Set(NOT_INUSE)") in new stack -- Executing [1@timeconditions:16] GotoIf("Local/s@tc-maint-0000427f;2", "0?ext-group,600,1") in new stack -- Executing [1@timeconditions:17] Set("Local/s@tc-maint-0000427f;2", "TCSTATE=true") in new stack -- Executing [1@timeconditions:18] Set("Local/s@tc-maint-0000427f;2", "TCOVERRIDE=false") in new stack -- Executing [1@timeconditions:19] Return("Local/s@tc-maint-0000427f;2", "") in new stack -- Executing [s@tc-maint:4] Gosub("Local/s@tc-maint-0000427f;2", "timeconditions,2,1()") in new stack -- Executing [2@timeconditions:1] Set("Local/s@tc-maint-0000427f;2", "DB(TC/2/INUSESTATE)=INUSE") in new stack -- Executing [2@timeconditions:2] Set("Local/s@tc-maint-0000427f;2", "DB(TC/2/NOT_INUSESTATE)=NOT_INUSE") in new stack -- Executing [2@timeconditions:3] GotoIfTime("Local/s@tc-maint-0000427f;2", "*,*,1,jul,America/Vancouver?truestate") in new stack -- Executing [2@timeconditions:4] GotoIf("Local/s@tc-maint-0000427f;2", "0?truegoto") in new stack -- Executing [2@timeconditions:5] ExecIf("Local/s@tc-maint-0000427f;2", "0?Set(DB(TC/2)=)") in new stack -- Executing [2@timeconditions:6] Set("Local/s@tc-maint-0000427f;2", "DEVICE_STATE(Custom:TC2)=INUSE") in new stack -- Executing [2@timeconditions:7] ExecIf("Local/s@tc-maint-0000427f;2", "0?Set(NOT_INUSE)") in new stack -- Executing [2@timeconditions:8] GotoIf("Local/s@tc-maint-0000427f;2", "0?timeconditions,1,1") in new stack -- Executing [2@timeconditions:9] Set("Local/s@tc-maint-0000427f;2", "TCSTATE=false") in new stack -- Executing [2@timeconditions:10] Set("Local/s@tc-maint-0000427f;2", "TCOVERRIDE=false") in new stack -- Executing [2@timeconditions:11] Return("Local/s@tc-maint-0000427f;2", "") in new stack -- Executing [s@tc-maint:5] Gosub("Local/s@tc-maint-0000427f;2", "timeconditions,3,1()") in new stack -- Executing [3@timeconditions:1] Set("Local/s@tc-maint-0000427f;2", "DB(TC/3/INUSESTATE)=INUSE") in new stack -- Executing [3@timeconditions:2] Set("Local/s@tc-maint-0000427f;2", "DB(TC/3/NOT_INUSESTATE)=NOT_INUSE") in new stack -- Executing [3@timeconditions:3] GotoIfTime("Local/s@tc-maint-0000427f;2", "*,*,1,jul,PST?truestate") in new stack -- Executing [3@timeconditions:4] GotoIf("Local/s@tc-maint-0000427f;2", "0?truegoto") in new stack -- Executing [3@timeconditions:5] ExecIf("Local/s@tc-maint-0000427f;2", "0?Set(DB(TC/3)=)") in new stack -- Executing [3@timeconditions:6] Set("Local/s@tc-maint-0000427f;2", "DEVICE_STATE(Custom:TC3)=INUSE") in new stack -- Executing [3@timeconditions:7] ExecIf("Local/s@tc-maint-0000427f;2", "0?Set(NOT_INUSE)") in new stack -- Executing [3@timeconditions:8] GotoIf("Local/s@tc-maint-0000427f;2", "0?ivr-7,s,1") in new stack -- Executing [3@timeconditions:9] Set("Local/s@tc-maint-0000427f;2", "TCSTATE=false") in new stack -- Executing [3@timeconditions:10] Set("Local/s@tc-maint-0000427f;2", "TCOVERRIDE=false") in new stack -- Executing [3@timeconditions:11] Return("Local/s@tc-maint-0000427f;2", "") in new stack -- Executing [s@tc-maint:6] System("Local/s@tc-maint-0000427f;2", "/var/lib/asterisk/bin/schedtc.php 60 /var/spool/asterisk/outgoing 0") in new stack -- Executing [s@tc-maint:7] Answer("Local/s@tc-maint-0000427f;2", "") in new stack > Channel Local/s@tc-maint-0000427f;1 was answered. > Launching NoCDR() on Local/s@tc-maint-0000427f;1 [2015-06-15 13:48:00] NOTICE[22188]: 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-0000427f;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:48:00.569694'},'0','0','','','','s','tc-maint','Local/s@tc-maint-0000427f;2','Answer','',3,'','1434401280.35167','1434401280.35166','','','')] > [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:48:00.570602'},'0','0','0','','','s','tc-maint','Local/s@tc-maint-0000427f;1','','',3,'','1434401280.35166','1434401280.35166','','','')] > [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:48:00.571215'},'0','0','0','','','s','tc-maint','Local/s@tc-maint-0000427f;1','','',3,'','1434401280.35166','1434401280.35166','','','')] > [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:48:00.571298'},'0','0','0','','','s','tc-maint','Local/s@tc-maint-0000427f;1','','',3,'','1434401280.35166','1434401280.35166','','','')] > [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:48:00.571630'},'0','0','','','','s','tc-maint','Local/s@tc-maint-0000427f;2','','',3,'','1434401280.35167','1434401280.35166','','','')] > [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:48:00.571847'},'0','0','','','','s','tc-maint','Local/s@tc-maint-0000427f;2','','',3,'','1434401280.35167','1434401280.35166','','','')] > [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:48:00.571885'},'0','0','','','','s','tc-maint','Local/s@tc-maint-0000427f;2','','',3,'','1434401280.35167','1434401280.35166','','','')] -- Executing [s-NOANSWER@macro-vm:3] Goto("SIP/Sip50-0000045c", "exit-SUCCESS,1") in new stack -- Goto (macro-vm,exit-SUCCESS,1) -- Executing [exit-SUCCESS@macro-vm:1] GotoIf("SIP/Sip50-0000045c", "1?exit-RETURN,1") in new stack -- Goto (macro-vm,exit-RETURN,1) -- Executing [exit-RETURN@macro-vm:1] NoOp("SIP/Sip50-0000045c", "Returning From Voicemail because macro") in new stack -- Executing [230@ext-local:3] Set("SIP/Sip50-0000045c", "__PICKUPMARK=") in new stack -- Executing [230@ext-local:4] Macro("SIP/Sip50-0000045c", "vm,230,NOANSWER,RETURN") in new stack -- Executing [s@macro-vm:1] Macro("SIP/Sip50-0000045c", "user-callerid,SKIPTTL") in new stack -- Executing [s@macro-user-callerid:1] Set("SIP/Sip50-0000045c", "TOUCH_MONITOR=1434401242.35162") in new stack -- Executing [s@macro-user-callerid:2] Set("SIP/Sip50-0000045c", "AMPUSER=6042148503") in new stack -- Executing [s@macro-user-callerid:3] GotoIf("SIP/Sip50-0000045c", "0?report") in new stack -- Executing [s@macro-user-callerid:4] ExecIf("SIP/Sip50-0000045c", "0?Set(REALCALLERIDNUM=6042148503)") in new stack -- Executing [s@macro-user-callerid:5] Set("SIP/Sip50-0000045c", "AMPUSER=") in new stack -- Executing [s@macro-user-callerid:6] GotoIf("SIP/Sip50-0000045c", "0?limit") in new stack -- Executing [s@macro-user-callerid:7] Set("SIP/Sip50-0000045c", "AMPUSERCIDNAME=") in new stack -- Executing [s@macro-user-callerid:8] GotoIf("SIP/Sip50-0000045c", "1?report") in new stack -- Goto (macro-user-callerid,s,16) -- Executing [s@macro-user-callerid:16] GotoIf("SIP/Sip50-0000045c", "1?continue") in new stack -- Goto (macro-user-callerid,s,30) -- Executing [s@macro-user-callerid:30] Set("SIP/Sip50-0000045c", "CALLERID(number)=6042148503") in new stack -- Executing [s@macro-user-callerid:31] Set("SIP/Sip50-0000045c", "CALLERID(name)=Morewave") in new stack -- Executing [s@macro-user-callerid:32] Set("SIP/Sip50-0000045c", "CDR(cnum)=6042148503") in new stack -- Executing [s@macro-user-callerid:33] Set("SIP/Sip50-0000045c", "CDR(cnam)=Morewave") in new stack -- Executing [s@macro-user-callerid:34] Set("SIP/Sip50-0000045c", "CHANNEL(language)=en") in new stack -- Executing [s@macro-vm:2] Set("SIP/Sip50-0000045c", "VMGAIN=") in new stack -- Executing [s@macro-vm:3] Macro("SIP/Sip50-0000045c", "blkvm-check,") in new stack -- Executing [s@macro-blkvm-check:1] Set("SIP/Sip50-0000045c", "GOSUB_RETVAL=") in new stack -- Executing [s@macro-blkvm-check:2] ExecIf("SIP/Sip50-0000045c", "0?Set(GOSUB_RETVAL=TRUE)") in new stack -- Executing [s@macro-blkvm-check:3] MacroExit("SIP/Sip50-0000045c", "") in new stack -- Executing [s@macro-vm:4] GotoIf("SIP/Sip50-0000045c", "1?vmx,1") in new stack -- Goto (macro-vm,vmx,1) -- Executing [vmx@macro-vm:1] Set("SIP/Sip50-0000045c", "MEXTEN=230") in new stack -- Executing [vmx@macro-vm:2] Set("SIP/Sip50-0000045c", "MMODE=NOANSWER") in new stack -- Executing [vmx@macro-vm:3] Set("SIP/Sip50-0000045c", "RETVM=RETURN") in new stack -- Executing [vmx@macro-vm:4] Set("SIP/Sip50-0000045c", "MODE=unavail") in new stack -- Executing [vmx@macro-vm:5] Macro("SIP/Sip50-0000045c", "get-vmcontext,230") in new stack -- Executing [s@macro-get-vmcontext:1] Set("SIP/Sip50-0000045c", "VMCONTEXT=default") in new stack -- Executing [s@macro-get-vmcontext:2] GotoIf("SIP/Sip50-0000045c", "0?200:300") in new stack -- Goto (macro-get-vmcontext,s,300) -- Executing [s@macro-get-vmcontext:300] NoOp("SIP/Sip50-0000045c", "") in new stack -- Executing [vmx@macro-vm:6] Set("SIP/Sip50-0000045c", "MODE=unavail") in new stack -- Executing [vmx@macro-vm:7] NoOp("SIP/Sip50-0000045c", "MODE IS: unavail") in new stack -- Executing [vmx@macro-vm:8] GotoIf("SIP/Sip50-0000045c", "0?chknomsg") in new stack -- Executing [vmx@macro-vm:9] Set("SIP/Sip50-0000045c", "VM_OPTS=") in new stack -- Executing [vmx@macro-vm:10] GotoIf("SIP/Sip50-0000045c", "0?s-NOANSWER,1") in new stack -- Executing [vmx@macro-vm:11] GotoIf("SIP/Sip50-0000045c", "1?notdirect") in new stack -- Goto (macro-vm,vmx,13) -- Executing [vmx@macro-vm:13] NoOp("SIP/Sip50-0000045c", "Checking if ext 230 is enabled: enabled") in new stack -- Executing [vmx@macro-vm:14] GotoIf("SIP/Sip50-0000045c", "0?s-NOANSWER,1") in new stack -- Executing [vmx@macro-vm:15] GotoIf("SIP/Sip50-0000045c", "1?nofile") in new stack -- Goto (macro-vm,vmx,56) -- Executing [vmx@macro-vm:56] NoOp("SIP/Sip50-0000045c", "File for mode: unavail does not exist, SYSTEMSTATUS: , going to normal voicemail") in new stack -- Executing [vmx@macro-vm:57] Goto("SIP/Sip50-0000045c", "s-NOANSWER,1") in new stack -- Goto (macro-vm,s-NOANSWER,1) -- Executing [s-NOANSWER@macro-vm:1] Macro("SIP/Sip50-0000045c", "get-vmcontext,230") in new stack -- Executing [s@macro-get-vmcontext:1] Set("SIP/Sip50-0000045c", "VMCONTEXT=default") in new stack -- Executing [s@macro-get-vmcontext:2] GotoIf("SIP/Sip50-0000045c", "0?200:300") in new stack -- Goto (macro-get-vmcontext,s,300) -- Executing [s@macro-get-vmcontext:300] NoOp("SIP/Sip50-0000045c", "") in new stack -- Executing [s-NOANSWER@macro-vm:2] VoiceMail("SIP/Sip50-0000045c", "230@default,u") in new stack -- Playing 'vm-theperson.ulaw' (language 'en') -- Playing 'beep.ulaw' (language 'en') -- Recording the message -- x=0, open writing: /var/spool/asterisk/voicemail/default/230/tmp/7XFTYF format: wav, 0x7f9a9c4f80a8 -- 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-0000045c", "exit-SUCCESS,1") in new stack -- Goto (macro-vm,exit-SUCCESS,1) -- Executing [exit-SUCCESS@macro-vm:1] GotoIf("SIP/Sip50-0000045c", "1?exit-RETURN,1") in new stack -- Goto (macro-vm,exit-RETURN,1) -- Executing [exit-RETURN@macro-vm:1] NoOp("SIP/Sip50-0000045c", "Returning From Voicemail because macro") in new stack -- Executing [230@ext-local:5] Goto("SIP/Sip50-0000045c", "vmret,1") in new stack -- Goto (ext-local,vmret,1) -- Executing [vmret@ext-local:1] GotoIf("SIP/Sip50-0000045c", "1?playret") in new stack -- Goto (ext-local,vmret,3) -- Executing [vmret@ext-local:3] Playback("SIP/Sip50-0000045c", "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-0000045c", "ivr-3,return,1") in new stack -- Goto (ivr-3,return,1) -- Executing [return@ivr-3:1] Set("SIP/Sip50-0000045c", "_IVR_CONTEXT=ivr-3") in new stack -- Executing [return@ivr-3:2] Set("SIP/Sip50-0000045c", "_IVR_CONTEXT_ivr-3=") in new stack -- Executing [return@ivr-3:3] Set("SIP/Sip50-0000045c", "IVR_MSG=custom/Taurus_MainIVR_06062015") in new stack -- Executing [return@ivr-3:4] Goto("SIP/Sip50-0000045c", "s,start") in new stack -- Goto (ivr-3,s,10) -- Executing [s@ivr-3:10] Set("SIP/Sip50-0000045c", "TIMEOUT(digit)=3") in new stack -- Digit timeout set to 3.000 -- Executing [s@ivr-3:11] ExecIf("SIP/Sip50-0000045c", "1?Background(custom/Taurus_MainIVR_06062015)") in new stack -- Playing 'custom/Taurus_MainIVR_06062015.gsm' (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:48:18.575679'},'','','','','','s','tc-maint','Local/s@tc-maint-00004280;1','','',3,'','1434401298.35168','1434401298.35168','','','')] -- Executing [s@tc-maint:1] NoCDR("Local/s@tc-maint-00004280;2", "") in new stack -- Executing [s@tc-maint:2] Set("Local/s@tc-maint-00004280;2", "TCMAINT=RETURN") in new stack -- Executing [s@tc-maint:3] Gosub("Local/s@tc-maint-00004280;2", "timeconditions,1,1()") in new stack -- Executing [1@timeconditions:1] Set("Local/s@tc-maint-00004280;2", "DB(TC/1/INUSESTATE)=INUSE") in new stack -- Executing [1@timeconditions:2] Set("Local/s@tc-maint-00004280;2", "DB(TC/1/NOT_INUSESTATE)=NOT_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:48:18.575812'},'','','','','','s','tc-maint','Local/s@tc-maint-00004280;2','','',3,'','1434401298.35169','1434401298.35168','','','')] -- Executing [1@timeconditions:3] GotoIfTime("Local/s@tc-maint-00004280;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-00004280;2", "0?falsegoto") in new stack -- Executing [1@timeconditions:13] ExecIf("Local/s@tc-maint-00004280;2", "0?Set(DB(TC/1)=)") in new stack -- Executing [1@timeconditions:14] Set("Local/s@tc-maint-00004280;2", "DEVICE_STATE(Custom:TC1)=NOT_INUSE") in new stack -- Executing [1@timeconditions:15] ExecIf("Local/s@tc-maint-00004280;2", "0?Set(NOT_INUSE)") in new stack -- Executing [1@timeconditions:16] GotoIf("Local/s@tc-maint-00004280;2", "0?ext-group,600,1") in new stack -- Executing [1@timeconditions:17] Set("Local/s@tc-maint-00004280;2", "TCSTATE=true") in new stack -- Executing [1@timeconditions:18] Set("Local/s@tc-maint-00004280;2", "TCOVERRIDE=false") in new stack -- Executing [1@timeconditions:19] Return("Local/s@tc-maint-00004280;2", "") in new stack -- Executing [s@tc-maint:4] Gosub("Local/s@tc-maint-00004280;2", "timeconditions,2,1()") in new stack -- Executing [2@timeconditions:1] Set("Local/s@tc-maint-00004280;2", "DB(TC/2/INUSESTATE)=INUSE") in new stack -- Executing [2@timeconditions:2] Set("Local/s@tc-maint-00004280;2", "DB(TC/2/NOT_INUSESTATE)=NOT_INUSE") in new stack -- Executing [2@timeconditions:3] GotoIfTime("Local/s@tc-maint-00004280;2", "*,*,1,jul,America/Vancouver?truestate") in new stack -- Executing [2@timeconditions:4] GotoIf("Local/s@tc-maint-00004280;2", "0?truegoto") in new stack -- Executing [2@timeconditions:5] ExecIf("Local/s@tc-maint-00004280;2", "0?Set(DB(TC/2)=)") in new stack -- Executing [2@timeconditions:6] Set("Local/s@tc-maint-00004280;2", "DEVICE_STATE(Custom:TC2)=INUSE") in new stack -- Executing [2@timeconditions:7] ExecIf("Local/s@tc-maint-00004280;2", "0?Set(NOT_INUSE)") in new stack -- Executing [2@timeconditions:8] GotoIf("Local/s@tc-maint-00004280;2", "0?timeconditions,1,1") in new stack -- Executing [2@timeconditions:9] Set("Local/s@tc-maint-00004280;2", "TCSTATE=false") in new stack -- Executing [2@timeconditions:10] Set("Local/s@tc-maint-00004280;2", "TCOVERRIDE=false") in new stack -- Executing [2@timeconditions:11] Return("Local/s@tc-maint-00004280;2", "") in new stack -- Executing [s@tc-maint:5] Gosub("Local/s@tc-maint-00004280;2", "timeconditions,3,1()") in new stack -- Executing [3@timeconditions:1] Set("Local/s@tc-maint-00004280;2", "DB(TC/3/INUSESTATE)=INUSE") in new stack -- Executing [3@timeconditions:2] Set("Local/s@tc-maint-00004280;2", "DB(TC/3/NOT_INUSESTATE)=NOT_INUSE") in new stack -- Executing [3@timeconditions:3] GotoIfTime("Local/s@tc-maint-00004280;2", "*,*,1,jul,PST?truestate") in new stack -- Executing [3@timeconditions:4] GotoIf("Local/s@tc-maint-00004280;2", "0?truegoto") in new stack -- Executing [3@timeconditions:5] ExecIf("Local/s@tc-maint-00004280;2", "0?Set(DB(TC/3)=)") in new stack -- Executing [3@timeconditions:6] Set("Local/s@tc-maint-00004280;2", "DEVICE_STATE(Custom:TC3)=INUSE") in new stack -- Executing [3@timeconditions:7] ExecIf("Local/s@tc-maint-00004280;2", "0?Set(NOT_INUSE)") in new stack -- Executing [3@timeconditions:8] GotoIf("Local/s@tc-maint-00004280;2", "0?ivr-7,s,1") in new stack -- Executing [3@timeconditions:9] Set("Local/s@tc-maint-00004280;2", "TCSTATE=false") in new stack -- Executing [3@timeconditions:10] Set("Local/s@tc-maint-00004280;2", "TCOVERRIDE=false") in new stack -- Executing [3@timeconditions:11] Return("Local/s@tc-maint-00004280;2", "") in new stack -- Executing [s@tc-maint:6] System("Local/s@tc-maint-00004280;2", "/var/lib/asterisk/bin/schedtc.php 60 /var/spool/asterisk/outgoing 1") in new stack -- Executing [s@tc-maint:7] Answer("Local/s@tc-maint-00004280;2", "") in new stack > Channel Local/s@tc-maint-00004280;1 was answered. > Launching NoCDR() on Local/s@tc-maint-00004280;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:48:18.700727'},'1','1','','','','s','tc-maint','Local/s@tc-maint-00004280;2','Answer','',3,'','1434401298.35169','1434401298.35168','','','')] [2015-06-15 13:48:18] NOTICE[22246]: 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-00004280;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:48:18.700868'},'1','1','1','','','s','tc-maint','Local/s@tc-maint-00004280;1','','',3,'','1434401298.35168','1434401298.35168','','','')] > [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:48:18.703005'},'1','1','1','','','s','tc-maint','Local/s@tc-maint-00004280;1','','',3,'','1434401298.35168','1434401298.35168','','','')] > [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:48:18.703277'},'1','1','1','','','s','tc-maint','Local/s@tc-maint-00004280;1','','',3,'','1434401298.35168','1434401298.35168','','','')] > [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:48:18.707439'},'1','1','','','','s','tc-maint','Local/s@tc-maint-00004280;2','','',3,'','1434401298.35169','1434401298.35168','','','')] > [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:48:18.708809'},'1','1','','','','s','tc-maint','Local/s@tc-maint-00004280;2','','',3,'','1434401298.35169','1434401298.35168','','','')] > [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:48:18.708919'},'1','1','','','','s','tc-maint','Local/s@tc-maint-00004280;2','','',3,'','1434401298.35169','1434401298.35168','','','')] == Spawn extension (ivr-3, s, 11) exited non-zero on 'SIP/Sip50-0000045c' -- Executing [h@ivr-3:1] Hangup("SIP/Sip50-0000045c", "") in new stack == Spawn extension (ivr-3, h, 1) exited non-zero on 'SIP/Sip50-0000045c' > [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:47:22' },'"Morewave" <6042148503>','6042148503','s','ivr-3','SIP/Sip50-0000045c','SIP/230-0000045d','BackGround','custom/Taurus_MainIVR_06062015',56,56,'NO ANSWER',3,'1434401242.35162','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 ('HANGUP',{ts '2015-06-15 13:48:18.841284'},'Morewave','6042148503','6042148503','','21036042148571','h','ivr-3','SIP/Sip50-0000045c','','',3,'','1434401242.35162','1434401242.35162','','','')] > [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:48:18.841791'},'Morewave','6042148503','6042148503','','21036042148571','h','ivr-3','SIP/Sip50-0000045c','','',3,'','1434401242.35162','1434401242.35162','','','')] > [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:48:18.841837'},'Morewave','6042148503','6042148503','','21036042148571','h','ivr-3','SIP/Sip50-0000045c','','',3,'','1434401242.35162','1434401242.35162','','','')]