When DND has been activated via feature code from my phone and deactivated from FOP2 the CLI's output for devstate list is Name: 'Custom:DND5314' State: 'NOT_INUSE' and --- Name: 'Custom:DEVDND5314' State: 'NOT_INUSE'. So looks like DND is turned off.
However it's not entirely.
Below are two outputs of the Asterisk CLI for two calls. Call 1 with DND activated via feature code from the phone and not deactivated from FOP2.
Call 2 is where DND was activated via feature code from the phone^and deactivated from FOP2.
The call still fails.
The CLI output is different.
Call 2 receives a SIP response 480 "Temporarily not available" and congestion/unavailable, whereas call 1 a busy.
Sorry for the lengthy post.
Call 2:
- - Executing [5314@from-internal:1] GotoIf("SIP/5313-00001122", "1?ext-local,5314,1") in new stack
- - Goto (ext-local,5314,1)
- - Executing [5314@ext-local:1] Set("SIP/5313-00001122", "__RINGTIMER=17") in new stack
- - Executing [5314@ext-local:2] Macro("SIP/5313-00001122", "exten-vm,5314,5314,0,0,0") in new stack
- - Executing [s@macro-exten-vm:1] Macro("SIP/5313-00001122", "user-callerid,") in new stack
- - Executing [s@macro-user-callerid:1] Set("SIP/5313-00001122", "TOUCH_MONITOR=1459183071.8033") in new stack
- - Executing [s@macro-user-callerid:2] Set("SIP/5313-00001122", "AMPUSER=5313") in new stack
- - Executing [s@macro-user-callerid:3] GotoIf("SIP/5313-00001122", "0?report") in new stack
- - Executing [s@macro-user-callerid:4] ExecIf("SIP/5313-00001122", "1?Set(REALCALLERIDNUM=5313)") in new stack
- - Executing [s@macro-user-callerid:5] Set("SIP/5313-00001122", "AMPUSER=5313") in new stack
- - Executing [s@macro-user-callerid:6] GotoIf("SIP/5313-00001122", "0?limit") in new stack
- - Executing [s@macro-user-callerid:7] Set("SIP/5313-00001122", "AMPUSERCIDNAME=Johann T20P") in new stack
- - Executing [s@macro-user-callerid:8] GotoIf("SIP/5313-00001122", "0?report") in new stack
- - Executing [s@macro-user-callerid:9] Set("SIP/5313-00001122", "AMPUSERCID=5313") in new stack
- - Executing [s@macro-user-callerid:10] Set("SIP/5313-00001122", "__DIAL_OPTIONS=Ttr") in new stack
- - Executing [s@macro-user-callerid:11] Set("SIP/5313-00001122", "CALLERID(all)="Johann T20P" <5313>") in new stack
- - Executing [s@macro-user-callerid:12] GotoIf("SIP/5313-00001122", "0?limit") in new stack
- - Executing [s@macro-user-callerid:13] ExecIf("SIP/5313-00001122", "0?Set(GROUP(concurrency_limit)=5313)") in new stack
- - Executing [s@macro-user-callerid:14] ExecIf("SIP/5313-00001122", "0?Set(CHANNEL(language)=)") in new stack
- - Executing [s@macro-user-callerid:15] GotoIf("SIP/5313-00001122", "0?continue") in new stack
- - Executing [s@macro-user-callerid:16] ExecIf("SIP/5313-00001122", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
- - Executing [s@macro-user-callerid:17] Set("SIP/5313-00001122", "__TTL=64") in new stack
- - Executing [s@macro-user-callerid:18] GotoIf("SIP/5313-00001122", "1?continue") in new stack
- - Goto (macro-user-callerid,s,29)
- - Executing [s@macro-user-callerid:29] Set("SIP/5313-00001122", "CALLERID(number)=5313") in new stack
- - Executing [s@macro-user-callerid:30] Set("SIP/5313-00001122", "CALLERID(name)=Johann T20P") in new stack
- - Executing [s@macro-user-callerid:31] Set("SIP/5313-00001122", "CDR(cnum)=5313") in new stack
- - Executing [s@macro-user-callerid:32] Set("SIP/5313-00001122", "CDR(cnam)=Johann T20P") in new stack
- - Executing [s@macro-user-callerid:33] Set("SIP/5313-00001122", "CHANNEL(language)=en") in new stack
- - Executing [s@macro-user-callerid:34] GosubIf("SIP/5313-00001122", "0?app-check-classofservce,s,1()") in new stack
- - Executing [s@macro-exten-vm:2] Set("SIP/5313-00001122", "RingGroupMethod=none") in new stack
- - Executing [s@macro-exten-vm:3] Set("SIP/5313-00001122", "__EXTTOCALL=5314") in new stack
- - Executing [s@macro-exten-vm:4] Set("SIP/5313-00001122", "__PICKUPMARK=5314") in new stack
- - Executing [s@macro-exten-vm:5] Set("SIP/5313-00001122", "RT=17") in new stack
- - Executing [s@macro-exten-vm:6] Gosub("SIP/5313-00001122", "sub-record-check,s,1(exten,5314,dontcare)") in new stack
- - Executing [s@sub-record-check:1] GotoIf("SIP/5313-00001122", "0?initialized") in new stack
- - Executing [s@sub-record-check:2] Set("SIP/5313-00001122", "__REC_STATUS=INITIALIZED") in new stack
- - Executing [s@sub-record-check:3] Set("SIP/5313-00001122", "NOW=1459183071") in new stack
- - Executing [s@sub-record-check:4] Set("SIP/5313-00001122", "__DAY=28") in new stack
- - Executing [s@sub-record-check:5] Set("SIP/5313-00001122", "__MONTH=03") in new stack
- - Executing [s@sub-record-check:6] Set("SIP/5313-00001122", "__YEAR=2016") in new stack
- - Executing [s@sub-record-check:7] Set("SIP/5313-00001122", "__TIMESTR=20160328-123751") in new stack
- - Executing [s@sub-record-check:8] Set("SIP/5313-00001122", "__FROMEXTEN=5313") in new stack
- - Executing [s@sub-record-check:9] Set("SIP/5313-00001122", "__MON_FMT=wav") in new stack
- - Executing [s@sub-record-check:10] NoOp("SIP/5313-00001122", "Recordings initialized") in new stack
- - Executing [s@sub-record-check:11] ExecIf("SIP/5313-00001122", "0?Set(ARG3=dontcare)") in new stack
- - Executing [s@sub-record-check:12] Set("SIP/5313-00001122", "REC_POLICY_MODE_SAVE=") in new stack
- - Executing [s@sub-record-check:13] ExecIf("SIP/5313-00001122", "0?Set(REC_STATUS=NO)") in new stack
- - Executing [s@sub-record-check:14] GotoIf("SIP/5313-00001122", "5?checkaction") in new stack
- - Goto (sub-record-check,s,17)
- - Executing [s@sub-record-check:17] GotoIf("SIP/5313-00001122", "1?sub-record-check,exten,1") in new stack
- - Goto (sub-record-check,exten,1)
- - Executing [exten@sub-record-check:1] NoOp("SIP/5313-00001122", "Exten Recording Check between 5313 and 5314") in new stack
- - Executing [exten@sub-record-check:2] Set("SIP/5313-00001122", "CALLTYPE=internal") in new stack
- - Executing [exten@sub-record-check:3] ExecIf("SIP/5313-00001122", "0?Set(CALLTYPE=)") in new stack
- - Executing [exten@sub-record-check:4] Set("SIP/5313-00001122", "CALLEE=dontcare") in new stack
- - Executing [exten@sub-record-check:5] ExecIf("SIP/5313-00001122", "0?Set(CALLEE=dontcare)") in new stack
- - Executing [exten@sub-record-check:6] GotoIf("SIP/5313-00001122", "0?callee") in new stack
- - Executing [exten@sub-record-check:7] GotoIf("SIP/5313-00001122", "1?caller") in new stack
- - Goto (sub-record-check,exten,13)
- - Executing [exten@sub-record-check:13] Set("SIP/5313-00001122", "RECMODE=dontcare") in new stack
- - Executing [exten@sub-record-check:14] ExecIf("SIP/5313-00001122", "0?Set(RECMODE=dontcare)") in new stack
- - Executing [exten@sub-record-check:15] ExecIf("SIP/5313-00001122", "1?Set(RECMODE=dontcare)") in new stack
- - Executing [exten@sub-record-check:16] Gosub("SIP/5313-00001122", "recordcheck,1(dontcare,internal,5314)") in new stack
- - Executing [recordcheck@sub-record-check:1] NoOp("SIP/5313-00001122", "Starting recording check against dontcare") in new stack
- - Executing [recordcheck@sub-record-check:2] Goto("SIP/5313-00001122", "dontcare") in new stack
- - Goto (sub-record-check,recordcheck,3)
- - Executing [recordcheck@sub-record-check:3] Return("SIP/5313-00001122", "") in new stack
- - Executing [exten@sub-record-check:17] Return("SIP/5313-00001122", "") in new stack
- - Executing [s@macro-exten-vm:7] GotoIf("SIP/5313-00001122", "1?macrodial") in new stack
- - Goto (macro-exten-vm,s,13)
- - Executing [s@macro-exten-vm:13] GosubIf("SIP/5313-00001122", "0?clrheader,1()") in new stack
- - Executing [s@macro-exten-vm:14] Macro("SIP/5313-00001122", "dial-one,17,Ttr,5314") in new stack
- - Executing [s@macro-dial-one:1] Set("SIP/5313-00001122", "DEXTEN=5314") in new stack
- - Executing [s@macro-dial-one:2] Set("SIP/5313-00001122", "DIALSTATUS_CW=") in new stack
- - Executing [s@macro-dial-one:3] GosubIf("SIP/5313-00001122", "0?screen,1()") in new stack
- - Executing [s@macro-dial-one:4] GosubIf("SIP/5313-00001122", "0?cf,1()") in new stack
- - Executing [s@macro-dial-one:5] GotoIf("SIP/5313-00001122", "1?skip1") in new stack
- - Goto (macro-dial-one,s,8)
- - Executing [s@macro-dial-one:8] GotoIf("SIP/5313-00001122", "0?nodial") in new stack
- - Executing [s@macro-dial-one:9] GotoIf("SIP/5313-00001122", "0?continue") in new stack
- - Executing [s@macro-dial-one:10] Set("SIP/5313-00001122", "EXTHASCW=ENABLED") in new stack
- - Executing [s@macro-dial-one:11] GotoIf("SIP/5313-00001122", "0?next1:cwinusebusy") in new stack
- - Goto (macro-dial-one,s,23)
- - Executing [s@macro-dial-one:23] GotoIf("SIP/5313-00001122", "0?next3:continue") in new stack
- - Goto (macro-dial-one,s,25)
- - Executing [s@macro-dial-one:25] GotoIf("SIP/5313-00001122", "0?nodial") in new stack
- - Executing [s@macro-dial-one:26] GosubIf("SIP/5313-00001122", "1?dstring,1():dlocal,1()") in new stack
- - Executing [dstring@macro-dial-one:1] Set("SIP/5313-00001122", "DSTRING=") in new stack
- - Executing [dstring@macro-dial-one:2] Set("SIP/5313-00001122", "DEVICES=5314") in new stack
- - Executing [dstring@macro-dial-one:3] ExecIf("SIP/5313-00001122", "0?Return()") in new stack
- - Executing [dstring@macro-dial-one:4] ExecIf("SIP/5313-00001122", "0?Set(DEVICES=314)") in new stack
- - Executing [dstring@macro-dial-one:5] Set("SIP/5313-00001122", "LOOPCNT=1") in new stack
- - Executing [dstring@macro-dial-one:6] Set("SIP/5313-00001122", "ITER=1") in new stack
- - Executing [dstring@macro-dial-one:7] Set("SIP/5313-00001122", "THISDIAL=SIP/5314") in new stack
- - Executing [dstring@macro-dial-one:8] GosubIf("SIP/5313-00001122", "1?zap2dahdi,1()") in new stack
- - Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/5313-00001122", "0?Return()") in new stack
- - Executing [zap2dahdi@macro-dial-one:2] Set("SIP/5313-00001122", "NEWDIAL=") in new stack
- - Executing [zap2dahdi@macro-dial-one:3] Set("SIP/5313-00001122", "LOOPCNT2=1") in new stack
- - Executing [zap2dahdi@macro-dial-one:4] Set("SIP/5313-00001122", "ITER2=1") in new stack
- - Executing [zap2dahdi@macro-dial-one:5] Set("SIP/5313-00001122", "THISPART2=SIP/5314") in new stack
- - Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/5313-00001122", "0?Set(THISPART2=DAHDI/5314)") in new stack
- - Executing [zap2dahdi@macro-dial-one:7] Set("SIP/5313-00001122", "NEWDIAL=SIP/5314&") in new stack
- - Executing [zap2dahdi@macro-dial-one:8] Set("SIP/5313-00001122", "ITER2=2") in new stack
- - Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/5313-00001122", "0?begin2") in new stack
- - Executing [zap2dahdi@macro-dial-one:10] Set("SIP/5313-00001122", "THISDIAL=SIP/5314") in new stack
- - Executing [zap2dahdi@macro-dial-one:11] Return("SIP/5313-00001122", "") in new stack
- - Executing [dstring@macro-dial-one:9] GotoIf("SIP/5313-00001122", "1?docheck") in new stack
- - Goto (macro-dial-one,dstring,12)
- - Executing [dstring@macro-dial-one:12] GotoIf("SIP/5313-00001122", "0?skipset") in new stack
- - Executing [dstring@macro-dial-one:13] Set("SIP/5313-00001122", "DSTRING=SIP/5314&") in new stack
- - Executing [dstring@macro-dial-one:14] Set("SIP/5313-00001122", "ITER=2") in new stack
- - Executing [dstring@macro-dial-one:15] GotoIf("SIP/5313-00001122", "0?begin") in new stack
- - Executing [dstring@macro-dial-one:16] ExecIf("SIP/5313-00001122", "0?Return()") in new stack
- - Executing [dstring@macro-dial-one:17] Set("SIP/5313-00001122", "DSTRING=SIP/5314") in new stack
- - Executing [dstring@macro-dial-one:18] Return("SIP/5313-00001122", "") in new stack
- - Executing [s@macro-dial-one:27] GotoIf("SIP/5313-00001122", "0?nodial") in new stack
- - Executing [s@macro-dial-one:28] GotoIf("SIP/5313-00001122", "0?skiptrace") in new stack
- - Executing [s@macro-dial-one:29] GosubIf("SIP/5313-00001122", "1?ctset,1():ctclear,1()") in new stack
- - Executing [ctset@macro-dial-one:1] Set("SIP/5313-00001122", "DB(CALLTRACE/5314)=5313") in new stack
- - Executing [ctset@macro-dial-one:2] Return("SIP/5313-00001122", "") in new stack
- - Executing [s@macro-dial-one:30] Set("SIP/5313-00001122", "D_OPTIONS=Ttr") in new stack
- - Executing [s@macro-dial-one:31] NoOp("SIP/5313-00001122", "Blind Transfer: , Attended Transfer: , User: 5313, Alert Info: ") in new stack
- - Executing [s@macro-dial-one:32] ExecIf("SIP/5313-00001122", "1?Set(ALERT_INFO=)") in new stack
- - Executing [s@macro-dial-one:33] ExecIf("SIP/5313-00001122", "0?Set(ALERT_INFO=)") in new stack
- - Executing [s@macro-dial-one:34] ExecIf("SIP/5313-00001122", "0?Set(ALERT_INFO=)") in new stack
- - Executing [s@macro-dial-one:35] GosubIf("SIP/5313-00001122", "0?func-set-sipheader,s,1(Alert-Info,)") in new stack
- - Executing [s@macro-dial-one:36] ExecIf("SIP/5313-00001122", "0?Set(CHANNEL(musicclass)=)") in new stack
- - Executing [s@macro-dial-one:37] GosubIf("SIP/5313-00001122", "0?qwait,1()") in new stack
- - Executing [s@macro-dial-one:38] Set("SIP/5313-00001122", "__CWIGNORE=") in new stack
- - Executing [s@macro-dial-one:39] Set("SIP/5313-00001122", "__KEEPCID=TRUE") in new stack
- - Executing [s@macro-dial-one:40] GotoIf("SIP/5313-00001122", "0?usegoto,1") in new stack
- - Executing [s@macro-dial-one:41] GotoIf("SIP/5313-00001122", "0?godial") in new stack
- - Executing [s@macro-dial-one:42] Gosub("SIP/5313-00001122", "sub-presencestate-display,s,1(5314)") in new stack
- - Executing [s@sub-presencestate-display:1] Goto("SIP/5313-00001122", "state-away,1") in new stack
- - Goto (sub-presencestate-display,state-away,1)
- - Executing [state-away@sub-presencestate-display:1] Set("SIP/5313-00001122", "PRESENCESTATE_DISPLAY=(Away)") in new stack
- - Executing [state-away@sub-presencestate-display:2] Return("SIP/5313-00001122", "") in new stack
- - Executing [s@macro-dial-one:43] Set("SIP/5313-00001122", "CONNECTEDLINE(name,i)=Johann Zurner(Away)") in new stack
- - Executing [s@macro-dial-one:44] Set("SIP/5313-00001122", "CONNECTEDLINE(num)=5314") in new stack
- - Executing [s@macro-dial-one:45] Set("SIP/5313-00001122", "D_OPTIONS=TtrI") in new stack
- - Executing [s@macro-dial-one:46] Macro("SIP/5313-00001122", "dialout-one-predial-hook,") in new stack
- - Executing [s@macro-dialout-one-predial-hook:1] MacroExit("SIP/5313-00001122", "") in new stack
- - Executing [s@macro-dial-one:47] Dial("SIP/5313-00001122", "SIP/5314,17,TtrIb(func-apply-sipheaders^s^1)") in new stack
== Using SIP VIDEO TOS bits 136
== Using SIP VIDEO CoS mark 6
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
- - SIP/5314-00001123 Internal Gosub(func-apply-sipheaders,s,1) start
- - Executing [s@func-apply-sipheaders:1] NoOp("SIP/5314-00001123", "Applying SIP Headers to channel") in new stack
- - Executing [s@func-apply-sipheaders:2] Set("SIP/5314-00001123", "SIPHEADERKEYS=") in new stack
- - Executing [s@func-apply-sipheaders:3] While("SIP/5314-00001123", "0") in new stack
- - Jumping to priority 7
- - Executing [s@func-apply-sipheaders:8] Return("SIP/5314-00001123", "") in new stack
== Spawn extension (from-internal, 5314, 1) exited non-zero on 'SIP/5314-00001123'
- - SIP/5314-00001123 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
- - Called SIP/5314
- - Connected line update to SIP/5313-00001122 prevented.
- - Got SIP response 480 "Temporarily not available" back from 10.124.193.26:5060
- - SIP/5314-00001123 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
- - Executing [s@macro-dial-one:48] ExecIf("SIP/5313-00001122", "0?MacroExit()") in new stack
- - Executing [s@macro-dial-one:49] ExecIf("SIP/5313-00001122", "0?Set(DIALSTATUS=)") in new stack
- - Executing [s@macro-dial-one:50] GosubIf("SIP/5313-00001122", "0?s-CONGESTION,1()") in new stack
- - Executing [s@macro-dial-one:51] MacroExit("SIP/5313-00001122", "") in new stack
- - Executing [s@macro-exten-vm:15] Set("SIP/5313-00001122", "SV_DIALSTATUS=CONGESTION") in new stack
- - Executing [s@macro-exten-vm:16] GosubIf("SIP/5313-00001122", "0?docfu,1()") in new stack
- - Executing [s@macro-exten-vm:17] GosubIf("SIP/5313-00001122", "0?docfb,1()") in new stack
- - Executing [s@macro-exten-vm:18] Set("SIP/5313-00001122", "DIALSTATUS=CONGESTION") in new stack
- - Executing [s@macro-exten-vm:19] ExecIf("SIP/5313-00001122", "0?MacroExit()") in new stack
- - Executing [s@macro-exten-vm:20] GotoIf("SIP/5313-00001122", "0?s-CONGESTION,1") in new stack
- - Executing [s@macro-exten-vm:21] Macro("SIP/5313-00001122", "vm,5314,CONGESTION,") in new stack
- - Executing [s@macro-vm:1] Macro("SIP/5313-00001122", "user-callerid,SKIPTTL") in new stack
- - Executing [s@macro-user-callerid:1] Set("SIP/5313-00001122", "TOUCH_MONITOR=1459183071.8033") in new stack
- - Executing [s@macro-user-callerid:2] Set("SIP/5313-00001122", "AMPUSER=5313") in new stack
- - Executing [s@macro-user-callerid:3] GotoIf("SIP/5313-00001122", "11?report") in new stack
- - Goto (macro-user-callerid,s,15)
- - Executing [s@macro-user-callerid:15] GotoIf("SIP/5313-00001122", "1?continue") in new stack
- - Goto (macro-user-callerid,s,29)
- - Executing [s@macro-user-callerid:29] Set("SIP/5313-00001122", "CALLERID(number)=5313") in new stack
- - Executing [s@macro-user-callerid:30] Set("SIP/5313-00001122", "CALLERID(name)=Johann T20P") in new stack
- - Executing [s@macro-user-callerid:31] Set("SIP/5313-00001122", "CDR(cnum)=5313") in new stack
- - Executing [s@macro-user-callerid:32] Set("SIP/5313-00001122", "CDR(cnam)=Johann T20P") in new stack
- - Executing [s@macro-user-callerid:33] Set("SIP/5313-00001122", "CHANNEL(language)=en") in new stack
- - Executing [s@macro-user-callerid:34] GosubIf("SIP/5313-00001122", "0?app-check-classofservce,s,1()") in new stack
- - Executing [s@macro-vm:2] Set("SIP/5313-00001122", "VMGAIN=g(12)") in new stack
- - Executing [s@macro-vm:3] Macro("SIP/5313-00001122", "blkvm-check,") in new stack
- - Executing [s@macro-blkvm-check:1] Set("SIP/5313-00001122", "GOSUB_RETVAL=") in new stack
- - Executing [s@macro-blkvm-check:2] ExecIf("SIP/5313-00001122", "0?Set(GOSUB_RETVAL=TRUE)") in new stack
- - Executing [s@macro-blkvm-check:3] MacroExit("SIP/5313-00001122", "") in new stack
- - Executing [s@macro-vm:4] GotoIf("SIP/5313-00001122", "1?vmx,1") in new stack
- - Goto (macro-vm,vmx,1)
- - Executing [vmx@macro-vm:1] Set("SIP/5313-00001122", "MEXTEN=5314") in new stack
- - Executing [vmx@macro-vm:2] Set("SIP/5313-00001122", "MMODE=CONGESTION") in new stack
- - Executing [vmx@macro-vm:3] Set("SIP/5313-00001122", "RETVM=") in new stack
- - Executing [vmx@macro-vm:4] Set("SIP/5313-00001122", "MODE=unavail") in new stack
- - Executing [vmx@macro-vm:5] Macro("SIP/5313-00001122", "get-vmcontext,5314") in new stack
- - Executing [s@macro-get-vmcontext:1] Set("SIP/5313-00001122", "VMCONTEXT=default") in new stack
- - Executing [s@macro-get-vmcontext:2] GotoIf("SIP/5313-00001122", "0?200:300") in new stack
- - Goto (macro-get-vmcontext,s,300)
- - Executing [s@macro-get-vmcontext:300] NoOp("SIP/5313-00001122", "") in new stack
- - Executing [vmx@macro-vm:6] Set("SIP/5313-00001122", "MODE=unavail") in new stack
- - Executing [vmx@macro-vm:7] NoOp("SIP/5313-00001122", "MODE IS: unavail") in new stack
- - Executing [vmx@macro-vm:8] GotoIf("SIP/5313-00001122", "1?chknomsg") in new stack
- - Goto (macro-vm,vmx,10)
- - Executing [vmx@macro-vm:10] GotoIf("SIP/5313-00001122", "0?s-CONGESTION,1") in new stack
- - Executing [vmx@macro-vm:11] GotoIf("SIP/5313-00001122", "1?notdirect") in new stack
- - Goto (macro-vm,vmx,13)
- - Executing [vmx@macro-vm:13] NoOp("SIP/5313-00001122", "Checking if ext 5314 is enabled: ") in new stack
- - Executing [vmx@macro-vm:14] GotoIf("SIP/5313-00001122", "1?s-CONGESTION,1") in new stack
- - Goto (macro-vm,s-CONGESTION,1)
- - Executing [s-CONGESTION@macro-vm:1] Macro("SIP/5313-00001122", "get-vmcontext,5314") in new stack
- - Executing [s@macro-get-vmcontext:1] Set("SIP/5313-00001122", "VMCONTEXT=default") in new stack
- - Executing [s@macro-get-vmcontext:2] GotoIf("SIP/5313-00001122", "0?200:300") in new stack
- - Goto (macro-get-vmcontext,s,300)
- - Executing [s@macro-get-vmcontext:300] NoOp("SIP/5313-00001122", "") in new stack
- - Executing [s-CONGESTION@macro-vm:2] VoiceMail("SIP/5313-00001122", "5314@default,ug(12)") in new stack
- - <SIP/5313-00001122> Playing '/var/spool/asterisk/voicemail/default/5314/unavail.slin' (language 'en')
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Call 1:
- - <SIP/5314-00001125> Playing 'activated.gsm' (language 'en')
- - Executing [*78@from-internal:14] Macro("SIP/5314-00001125", "hangupcall,") in new stack
- - Executing [s@macro-hangupcall:1] ExecIf("SIP/5314-00001125", "0?Set(CDR(recordingfile)=.)") in new stack
- - Executing [s@macro-hangupcall:2] GotoIf("SIP/5314-00001125", "1?theend") in new stack
- - Goto (macro-hangupcall,s,4)
- - Executing [s@macro-hangupcall:4] ExecIf("SIP/5314-00001125", "0?Set(CDR(recordingfile)=)") in new stack
- - Executing [s@macro-hangupcall:5] Hangup("SIP/5314-00001125", "") in new stack
== Spawn extension (macro-hangupcall, s, 5) exited non-zero on 'SIP/5314-00001125' in macro 'hangupcall'
== Spawn extension (from-internal, *78, 14) exited non-zero on 'SIP/5314-00001125'
- - Executing [h@from-internal:1] Macro("SIP/5314-00001125", "hangupcall") in new stack
- - Executing [s@macro-hangupcall:1] ExecIf("SIP/5314-00001125", "0?Set(CDR(recordingfile)=.)") in new stack
- - Executing [s@macro-hangupcall:2] GotoIf("SIP/5314-00001125", "1?theend") in new stack
- - Goto (macro-hangupcall,s,4)
- - Executing [s@macro-hangupcall:4] ExecIf("SIP/5314-00001125", "0?Set(CDR(recordingfile)=)") in new stack
- - Executing [s@macro-hangupcall:5] Hangup("SIP/5314-00001125", "") in new stack
== Spawn extension (macro-hangupcall, s, 5) exited non-zero on 'SIP/5314-00001125' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/5314-00001125'
== Using SIP VIDEO TOS bits 136
== Using SIP VIDEO CoS mark 6
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
- - Executing [5314@from-internal:1] GotoIf("SIP/5313-00001126", "1?ext-local,5314,1") in new stack
- - Goto (ext-local,5314,1)
- - Executing [5314@ext-local:1] Set("SIP/5313-00001126", "__RINGTIMER=17") in new stack
- - Executing [5314@ext-local:2] Macro("SIP/5313-00001126", "exten-vm,5314,5314,0,0,0") in new stack
- - Executing [s@macro-exten-vm:1] Macro("SIP/5313-00001126", "user-callerid,") in new stack
- - Executing [s@macro-user-callerid:1] Set("SIP/5313-00001126", "TOUCH_MONITOR=1459183131.8037") in new stack
- - Executing [s@macro-user-callerid:2] Set("SIP/5313-00001126", "AMPUSER=5313") in new stack
- - Executing [s@macro-user-callerid:3] GotoIf("SIP/5313-00001126", "0?report") in new stack
- - Executing [s@macro-user-callerid:4] ExecIf("SIP/5313-00001126", "1?Set(REALCALLERIDNUM=5313)") in new stack
- - Executing [s@macro-user-callerid:5] Set("SIP/5313-00001126", "AMPUSER=5313") in new stack
- - Executing [s@macro-user-callerid:6] GotoIf("SIP/5313-00001126", "0?limit") in new stack
- - Executing [s@macro-user-callerid:7] Set("SIP/5313-00001126", "AMPUSERCIDNAME=Johann T20P") in new stack
- - Executing [s@macro-user-callerid:8] GotoIf("SIP/5313-00001126", "0?report") in new stack
- - Executing [s@macro-user-callerid:9] Set("SIP/5313-00001126", "AMPUSERCID=5313") in new stack
- - Executing [s@macro-user-callerid:10] Set("SIP/5313-00001126", "__DIAL_OPTIONS=Ttr") in new stack
- - Executing [s@macro-user-callerid:11] Set("SIP/5313-00001126", "CALLERID(all)="Johann T20P" <5313>") in new stack
- - Executing [s@macro-user-callerid:12] GotoIf("SIP/5313-00001126", "0?limit") in new stack
- - Executing [s@macro-user-callerid:13] ExecIf("SIP/5313-00001126", "0?Set(GROUP(concurrency_limit)=5313)") in new stack
- - Executing [s@macro-user-callerid:14] ExecIf("SIP/5313-00001126", "0?Set(CHANNEL(language)=)") in new stack
- - Executing [s@macro-user-callerid:15] GotoIf("SIP/5313-00001126", "0?continue") in new stack
- - Executing [s@macro-user-callerid:16] ExecIf("SIP/5313-00001126", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
- - Executing [s@macro-user-callerid:17] Set("SIP/5313-00001126", "__TTL=64") in new stack
- - Executing [s@macro-user-callerid:18] GotoIf("SIP/5313-00001126", "1?continue") in new stack
- - Goto (macro-user-callerid,s,29)
- - Executing [s@macro-user-callerid:29] Set("SIP/5313-00001126", "CALLERID(number)=5313") in new stack
- - Executing [s@macro-user-callerid:30] Set("SIP/5313-00001126", "CALLERID(name)=Johann T20P") in new stack
- - Executing [s@macro-user-callerid:31] Set("SIP/5313-00001126", "CDR(cnum)=5313") in new stack
- - Executing [s@macro-user-callerid:32] Set("SIP/5313-00001126", "CDR(cnam)=Johann T20P") in new stack
- - Executing [s@macro-user-callerid:33] Set("SIP/5313-00001126", "CHANNEL(language)=en") in new stack
- - Executing [s@macro-user-callerid:34] GosubIf("SIP/5313-00001126", "0?app-check-classofservce,s,1()") in new stack
- - Executing [s@macro-exten-vm:2] Set("SIP/5313-00001126", "RingGroupMethod=none") in new stack
- - Executing [s@macro-exten-vm:3] Set("SIP/5313-00001126", "__EXTTOCALL=5314") in new stack
- - Executing [s@macro-exten-vm:4] Set("SIP/5313-00001126", "__PICKUPMARK=5314") in new stack
- - Executing [s@macro-exten-vm:5] Set("SIP/5313-00001126", "RT=17") in new stack
- - Executing [s@macro-exten-vm:6] Gosub("SIP/5313-00001126", "sub-record-check,s,1(exten,5314,dontcare)") in new stack
- - Executing [s@sub-record-check:1] GotoIf("SIP/5313-00001126", "0?initialized") in new stack
- - Executing [s@sub-record-check:2] Set("SIP/5313-00001126", "__REC_STATUS=INITIALIZED") in new stack
- - Executing [s@sub-record-check:3] Set("SIP/5313-00001126", "NOW=1459183131") in new stack
- - Executing [s@sub-record-check:4] Set("SIP/5313-00001126", "__DAY=28") in new stack
- - Executing [s@sub-record-check:5] Set("SIP/5313-00001126", "__MONTH=03") in new stack
- - Executing [s@sub-record-check:6] Set("SIP/5313-00001126", "__YEAR=2016") in new stack
- - Executing [s@sub-record-check:7] Set("SIP/5313-00001126", "__TIMESTR=20160328-123851") in new stack
- - Executing [s@sub-record-check:8] Set("SIP/5313-00001126", "__FROMEXTEN=5313") in new stack
- - Executing [s@sub-record-check:9] Set("SIP/5313-00001126", "__MON_FMT=wav") in new stack
- - Executing [s@sub-record-check:10] NoOp("SIP/5313-00001126", "Recordings initialized") in new stack
- - Executing [s@sub-record-check:11] ExecIf("SIP/5313-00001126", "0?Set(ARG3=dontcare)") in new stack
- - Executing [s@sub-record-check:12] Set("SIP/5313-00001126", "REC_POLICY_MODE_SAVE=") in new stack
- - Executing [s@sub-record-check:13] ExecIf("SIP/5313-00001126", "0?Set(REC_STATUS=NO)") in new stack
- - Executing [s@sub-record-check:14] GotoIf("SIP/5313-00001126", "5?checkaction") in new stack
- - Goto (sub-record-check,s,17)
- - Executing [s@sub-record-check:17] GotoIf("SIP/5313-00001126", "1?sub-record-check,exten,1") in new stack
- - Goto (sub-record-check,exten,1)
- - Executing [exten@sub-record-check:1] NoOp("SIP/5313-00001126", "Exten Recording Check between 5313 and 5314") in new stack
- - Executing [exten@sub-record-check:2] Set("SIP/5313-00001126", "CALLTYPE=internal") in new stack
- - Executing [exten@sub-record-check:3] ExecIf("SIP/5313-00001126", "0?Set(CALLTYPE=)") in new stack
- - Executing [exten@sub-record-check:4] Set("SIP/5313-00001126", "CALLEE=dontcare") in new stack
- - Executing [exten@sub-record-check:5] ExecIf("SIP/5313-00001126", "0?Set(CALLEE=dontcare)") in new stack
- - Executing [exten@sub-record-check:6] GotoIf("SIP/5313-00001126", "0?callee") in new stack
- - Executing [exten@sub-record-check:7] GotoIf("SIP/5313-00001126", "1?caller") in new stack
- - Goto (sub-record-check,exten,13)
- - Executing [exten@sub-record-check:13] Set("SIP/5313-00001126", "RECMODE=dontcare") in new stack
- - Executing [exten@sub-record-check:14] ExecIf("SIP/5313-00001126", "0?Set(RECMODE=dontcare)") in new stack
- - Executing [exten@sub-record-check:15] ExecIf("SIP/5313-00001126", "1?Set(RECMODE=dontcare)") in new stack
- - Executing [exten@sub-record-check:16] Gosub("SIP/5313-00001126", "recordcheck,1(dontcare,internal,5314)") in new stack
- - Executing [recordcheck@sub-record-check:1] NoOp("SIP/5313-00001126", "Starting recording check against dontcare") in new stack
- - Executing [recordcheck@sub-record-check:2] Goto("SIP/5313-00001126", "dontcare") in new stack
- - Goto (sub-record-check,recordcheck,3)
- - Executing [recordcheck@sub-record-check:3] Return("SIP/5313-00001126", "") in new stack
- - Executing [exten@sub-record-check:17] Return("SIP/5313-00001126", "") in new stack
- - Executing [s@macro-exten-vm:7] GotoIf("SIP/5313-00001126", "1?macrodial") in new stack
- - Goto (macro-exten-vm,s,13)
- - Executing [s@macro-exten-vm:13] GosubIf("SIP/5313-00001126", "0?clrheader,1()") in new stack
- - Executing [s@macro-exten-vm:14] Macro("SIP/5313-00001126", "dial-one,17,Ttr,5314") in new stack
- - Executing [s@macro-dial-one:1] Set("SIP/5313-00001126", "DEXTEN=5314") in new stack
- - Executing [s@macro-dial-one:2] Set("SIP/5313-00001126", "DIALSTATUS_CW=") in new stack
- - Executing [s@macro-dial-one:3] GosubIf("SIP/5313-00001126", "0?screen,1()") in new stack
- - Executing [s@macro-dial-one:4] GosubIf("SIP/5313-00001126", "0?cf,1()") in new stack
- - Executing [s@macro-dial-one:5] GotoIf("SIP/5313-00001126", "0?skip1") in new stack
- - Executing [s@macro-dial-one:6] Set("SIP/5313-00001126", "DEXTEN=") in new stack
- - Executing [s@macro-dial-one:7] Set("SIP/5313-00001126", "DIALSTATUS=BUSY") in new stack
- - Executing [s@macro-dial-one:8] GotoIf("SIP/5313-00001126", "1?nodial") in new stack
- - Goto (macro-dial-one,s,52)
- - Executing [s@macro-dial-one:52] ExecIf("SIP/5313-00001126", "0?Set(DIALSTATUS=NOANSWER)") in new stack
- - Executing [s@macro-dial-one:53] NoOp("SIP/5313-00001126", "Returned from dial-one with nothing to call and DIALSTATUS: BUSY") in new stack
- - Executing [s@macro-dial-one:54] MacroExit("SIP/5313-00001126", "") in new stack
- - Executing [s@macro-exten-vm:15] Set("SIP/5313-00001126", "SV_DIALSTATUS=BUSY") in new stack
- - Executing [s@macro-exten-vm:16] GosubIf("SIP/5313-00001126", "0?docfu,1()") in new stack
- - Executing [s@macro-exten-vm:17] GosubIf("SIP/5313-00001126", "0?docfb,1()") in new stack
- - Executing [s@macro-exten-vm:18] Set("SIP/5313-00001126", "DIALSTATUS=BUSY") in new stack
- - Executing [s@macro-exten-vm:19] ExecIf("SIP/5313-00001126", "0?MacroExit()") in new stack
- - Executing [s@macro-exten-vm:20] GotoIf("SIP/5313-00001126", "0?s-BUSY,1") in new stack
- - Executing [s@macro-exten-vm:21] Macro("SIP/5313-00001126", "vm,5314,BUSY,") in new stack
- - Executing [s@macro-vm:1] Macro("SIP/5313-00001126", "user-callerid,SKIPTTL") in new stack
- - Executing [s@macro-user-callerid:1] Set("SIP/5313-00001126", "TOUCH_MONITOR=1459183131.8037") in new stack
- - Executing [s@macro-user-callerid:2] Set("SIP/5313-00001126", "AMPUSER=5313") in new stack
- - Executing [s@macro-user-callerid:3] GotoIf("SIP/5313-00001126", "11?report") in new stack
- - Goto (macro-user-callerid,s,15)
- - Executing [s@macro-user-callerid:15] GotoIf("SIP/5313-00001126", "1?continue") in new stack
- - Goto (macro-user-callerid,s,29)
- - Executing [s@macro-user-callerid:29] Set("SIP/5313-00001126", "CALLERID(number)=5313") in new stack
- - Executing [s@macro-user-callerid:30] Set("SIP/5313-00001126", "CALLERID(name)=Johann T20P") in new stack
- - Executing [s@macro-user-callerid:31] Set("SIP/5313-00001126", "CDR(cnum)=5313") in new stack
- - Executing [s@macro-user-callerid:32] Set("SIP/5313-00001126", "CDR(cnam)=Johann T20P") in new stack
- - Executing [s@macro-user-callerid:33] Set("SIP/5313-00001126", "CHANNEL(language)=en") in new stack
- - Executing [s@macro-user-callerid:34] GosubIf("SIP/5313-00001126", "0?app-check-classofservce,s,1()") in new stack
- - Executing [s@macro-vm:2] Set("SIP/5313-00001126", "VMGAIN=g(12)") in new stack
- - Executing [s@macro-vm:3] Macro("SIP/5313-00001126", "blkvm-check,") in new stack
- - Executing [s@macro-blkvm-check:1] Set("SIP/5313-00001126", "GOSUB_RETVAL=") in new stack
- - Executing [s@macro-blkvm-check:2] ExecIf("SIP/5313-00001126", "0?Set(GOSUB_RETVAL=TRUE)") in new stack
- - Executing [s@macro-blkvm-check:3] MacroExit("SIP/5313-00001126", "") in new stack
- - Executing [s@macro-vm:4] GotoIf("SIP/5313-00001126", "1?vmx,1") in new stack
- - Goto (macro-vm,vmx,1)
- - Executing [vmx@macro-vm:1] Set("SIP/5313-00001126", "MEXTEN=5314") in new stack
- - Executing [vmx@macro-vm:2] Set("SIP/5313-00001126", "MMODE=BUSY") in new stack
- - Executing [vmx@macro-vm:3] Set("SIP/5313-00001126", "RETVM=") in new stack
- - Executing [vmx@macro-vm:4] Set("SIP/5313-00001126", "MODE=busy") in new stack
- - Executing [vmx@macro-vm:5] Macro("SIP/5313-00001126", "get-vmcontext,5314") in new stack
- - Executing [s@macro-get-vmcontext:1] Set("SIP/5313-00001126", "VMCONTEXT=default") in new stack
- - Executing [s@macro-get-vmcontext:2] GotoIf("SIP/5313-00001126", "0?200:300") in new stack
- - Goto (macro-get-vmcontext,s,300)
- - Executing [s@macro-get-vmcontext:300] NoOp("SIP/5313-00001126", "") in new stack
- - Executing [vmx@macro-vm:6] Set("SIP/5313-00001126", "MODE=busy") in new stack
- - Executing [vmx@macro-vm:7] NoOp("SIP/5313-00001126", "MODE IS: busy") in new stack
- - Executing [vmx@macro-vm:8] GotoIf("SIP/5313-00001126", "1?chknomsg") in new stack
- - Goto (macro-vm,vmx,10)
- - Executing [vmx@macro-vm:10] GotoIf("SIP/5313-00001126", "0?s-BUSY,1") in new stack
- - Executing [vmx@macro-vm:11] GotoIf("SIP/5313-00001126", "1?notdirect") in new stack
- - Goto (macro-vm,vmx,13)
- - Executing [vmx@macro-vm:13] NoOp("SIP/5313-00001126", "Checking if ext 5314 is enabled: ") in new stack
- - Executing [vmx@macro-vm:14] GotoIf("SIP/5313-00001126", "1?s-BUSY,1") in new stack
- - Goto (macro-vm,s-BUSY,1)
- - Executing [s-BUSY@macro-vm:1] NoOp("SIP/5313-00001126", "BUSY voicemail") in new stack
- - Executing [s-BUSY@macro-vm:2] Macro("SIP/5313-00001126", "get-vmcontext,5314") in new stack
- - Executing [s@macro-get-vmcontext:1] Set("SIP/5313-00001126", "VMCONTEXT=default") in new stack
- - Executing [s@macro-get-vmcontext:2] GotoIf("SIP/5313-00001126", "0?200:300") in new stack
- - Goto (macro-get-vmcontext,s,300)
- - Executing [s@macro-get-vmcontext:300] NoOp("SIP/5313-00001126", "") in new stack
- - Executing [s-BUSY@macro-vm:3] VoiceMail("SIP/5313-00001126", "5314@default,bg(12)") in new stack
- - <SIP/5313-00001126> Playing '/var/spool/asterisk/voicemail/default/5314/busy.slin' (language 'en')