3- After exchange from step 2 to IVR2
– Executing [0@ivr-1:1] Set(“SIP/701-000000cb”, “__ivrreturn=0”) in new stack
– Executing [0@ivr-1:2] Goto(“SIP/701-000000cb”, “from-did-direct,123,1”) in new stack
– Goto (from-did-direct,123,1)
– Executing [123@from-did-direct:1] GotoIf(“SIP/701-000000cb”, “1?ext-local,123,1:followme-check,123,1”) in new stack
– Goto (ext-local,123,1)
– Executing [123@ext-local:1] Set(“SIP/701-000000cb”, “__RINGTIMER=15”) in new stack
– Executing [123@ext-local:2] Macro(“SIP/701-000000cb”, “exten-vm,novm,123,0,0,0”) in new stack
– Executing [s@macro-exten-vm:1] Macro(“SIP/701-000000cb”, “user-callerid,”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/701-000000cb”, “TOUCH_MONITOR=1551690849.299”) in new stack
– Executing [s@macro-user-callerid:2] Set(“SIP/701-000000cb”, “AMPUSER=701”) in new stack
– Executing [s@macro-user-callerid:3] GotoIf(“SIP/701-000000cb”, “12?report”) in new stack
– Goto (macro-user-callerid,s,16)
– Executing [s@macro-user-callerid:16] NoOp(“SIP/701-000000cb”, “Macro Depth is 2”) in new stack
– Executing [s@macro-user-callerid:17] GotoIf(“SIP/701-000000cb”, “1?report2:macroerror”) in new stack
– Goto (macro-user-callerid,s,18)
– Executing [s@macro-user-callerid:18] GotoIf(“SIP/701-000000cb”, “0?continue”) in new stack
– Executing [s@macro-user-callerid:19] ExecIf(“SIP/701-000000cb”, “1?Set(__CALLEE_ACCOUNCODE=)”) in new stack
– Executing [s@macro-user-callerid:20] Set(“SIP/701-000000cb”, “__TTL=63”) in new stack
– Executing [s@macro-user-callerid:21] GotoIf(“SIP/701-000000cb”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,37)
– Executing [s@macro-user-callerid:37] Set(“SIP/701-000000cb”, “CALLERID(number)=701”) in new stack
– Executing [s@macro-user-callerid:38] Set(“SIP/701-000000cb”, “CALLERID(name)=apliman IVR2”) in new stack
– Executing [s@macro-user-callerid:39] GotoIf(“SIP/701-000000cb”, “0?cnum”) in new stack
– Executing [s@macro-user-callerid:40] Set(“SIP/701-000000cb”, “CDR(cnam)=apliman IVR2”) in new stack
– Executing [s@macro-user-callerid:41] Set(“SIP/701-000000cb”, “CDR(cnum)=701”) in new stack
– Executing [s@macro-user-callerid:42] Set(“SIP/701-000000cb”, “CHANNEL(language)=en”) in new stack
– Executing [s@macro-exten-vm:2] Set(“SIP/701-000000cb”, “RingGroupMethod=none”) in new stack
– Executing [s@macro-exten-vm:3] Set(“SIP/701-000000cb”, “__EXTTOCALL=123”) in new stack
– Executing [s@macro-exten-vm:4] Set(“SIP/701-000000cb”, “__PICKUPMARK=123”) in new stack
– Executing [s@macro-exten-vm:5] Set(“SIP/701-000000cb”, “RT=”) in new stack
– Executing [s@macro-exten-vm:6] ExecIf(“SIP/701-000000cb”, “0?Macro(vm,novm,DIRECTDIAL,)”) in new stack
– Executing [s@macro-exten-vm:7] ExecIf(“SIP/701-000000cb”, “0?MacroExit()”) in new stack
– Executing [s@macro-exten-vm:8] ExecIf(“SIP/701-000000cb”, “0?Gosub(ext-intercom,nointercom123,1())”) in new stack
– Executing [s@macro-exten-vm:9] ExecIf(“SIP/701-000000cb”, “0?MacroExit()”) in new stack
– Executing [s@macro-exten-vm:10] ExecIf(“SIP/701-000000cb”, “0?ChanSpy(SIP/123,q)”) in new stack
– Executing [s@macro-exten-vm:11] ExecIf(“SIP/701-000000cb”, “0?MacroExit()”) in new stack
[2019-03-04 12:14:23] ERROR[14995][C-000000c3]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
– Executing [s@macro-exten-vm:12] ExecIf(“SIP/701-000000cb”, “0?Macro(vm,novm,DIRECTDIAL,)”) in new stack
[2019-03-04 12:14:23] ERROR[14995][C-000000c3]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
[2019-03-04 12:14:23] ERROR[14995][C-000000c3]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
– Executing [s@macro-exten-vm:13] ExecIf(“SIP/701-000000cb”, “0?MacroExit()”) in new stack
[2019-03-04 12:14:23] ERROR[14995][C-000000c3]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
[2019-03-04 12:14:23] ERROR[14995][C-000000c3]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
– Executing [s@macro-exten-vm:14] ExecIf(“SIP/701-000000cb”, “0?Gosub(ext-intercom,nointercom123,1())”) in new stack
[2019-03-04 12:14:23] ERROR[14995][C-000000c3]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
[2019-03-04 12:14:23] ERROR[14995][C-000000c3]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
– Executing [s@macro-exten-vm:15] ExecIf(“SIP/701-000000cb”, “0?MacroExit()”) in new stack
[2019-03-04 12:14:23] ERROR[14995][C-000000c3]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
[2019-03-04 12:14:23] ERROR[14995][C-000000c3]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
– Executing [s@macro-exten-vm:16] ExecIf(“SIP/701-000000cb”, “0?ChanSpy(SIP/123,q)”) in new stack
[2019-03-04 12:14:23] ERROR[14995][C-000000c3]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
[2019-03-04 12:14:23] ERROR[14995][C-000000c3]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
– Executing [s@macro-exten-vm:17] ExecIf(“SIP/701-000000cb”, “0?MacroExit()”) in new stack
[2019-03-04 12:14:23] ERROR[14995][C-000000c3]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
– Executing [s@macro-exten-vm:18] Gosub(“SIP/701-000000cb”, “sub-record-check,s,1(exten,123,dontcare)”) in new stack
– Executing [s@sub-record-check:1] GotoIf(“SIP/701-000000cb”, “3?initialized”) in new stack
– Goto (sub-record-check,s,10)
– Executing [s@sub-record-check:10] NoOp(“SIP/701-000000cb”, “Recordings initialized”) in new stack
– Executing [s@sub-record-check:11] ExecIf(“SIP/701-000000cb”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [s@sub-record-check:12] Set(“SIP/701-000000cb”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [s@sub-record-check:13] ExecIf(“SIP/701-000000cb”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [s@sub-record-check:14] GotoIf(“SIP/701-000000cb”, “5?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [s@sub-record-check:17] GotoIf(“SIP/701-000000cb”, “1?sub-record-check,exten,1”) in new stack
– Goto (sub-record-check,exten,1)
– Executing [exten@sub-record-check:1] NoOp(“SIP/701-000000cb”, “Exten Recording Check between 701 and 123”) in new stack
– Executing [exten@sub-record-check:2] Set(“SIP/701-000000cb”, “CALLTYPE=internal”) in new stack
– Executing [exten@sub-record-check:3] ExecIf(“SIP/701-000000cb”, “0?Set(CALLTYPE=)”) in new stack
– Executing [exten@sub-record-check:4] Set(“SIP/701-000000cb”, “CALLEE=dontcare”) in new stack
– Executing [exten@sub-record-check:5] ExecIf(“SIP/701-000000cb”, “0?Set(CALLEE=dontcare)”) in new stack
– Executing [exten@sub-record-check:6] GotoIf(“SIP/701-000000cb”, “0?callee”) in new stack
– Executing [exten@sub-record-check:7] GotoIf(“SIP/701-000000cb”, “1?caller”) in new stack
– Goto (sub-record-check,exten,13)
– Executing [exten@sub-record-check:13] Set(“SIP/701-000000cb”, “RECMODE=dontcare”) in new stack
– Executing [exten@sub-record-check:14] ExecIf(“SIP/701-000000cb”, “0?Set(RECMODE=dontcare)”) in new stack
– Executing [exten@sub-record-check:15] ExecIf(“SIP/701-000000cb”, “1?Set(RECMODE=dontcare)”) in new stack
– Executing [exten@sub-record-check:16] Gosub(“SIP/701-000000cb”, “recordcheck,1(dontcare,internal,123)”) in new stack
– Executing [recordcheck@sub-record-check:1] NoOp(“SIP/701-000000cb”, “Starting recording check against dontcare”) in new stack
– Executing [recordcheck@sub-record-check:2] Goto(“SIP/701-000000cb”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [recordcheck@sub-record-check:3] Return(“SIP/701-000000cb”, “”) in new stack
– Executing [exten@sub-record-check:17] Return(“SIP/701-000000cb”, “”) in new stack
– Executing [s@macro-exten-vm:19] Macro(“SIP/701-000000cb”, “dial-one,HhTtrI,123”) in new stack
– Executing [s@macro-dial-one:1] Set(“SIP/701-000000cb”, “DEXTEN=123”) in new stack
– Executing [s@macro-dial-one:2] Set(“SIP/701-000000cb”, “__CRM_SOURCE=701”) in new stack
– Executing [s@macro-dial-one:3] ExecIf(“SIP/701-000000cb”, “0?Set(__EXTTOCALL=123)”) in new stack
– Executing [s@macro-dial-one:4] Set(“SIP/701-000000cb”, “DIALSTATUS_CW=”) in new stack
– Executing [s@macro-dial-one:5] GosubIf(“SIP/701-000000cb”, “0?screen,1()”) in new stack
– Executing [s@macro-dial-one:6] GosubIf(“SIP/701-000000cb”, “0?cf,1()”) in new stack
– Executing [s@macro-dial-one:7] GotoIf(“SIP/701-000000cb”, “1?skip1”) in new stack
– Goto (macro-dial-one,s,10)
– Executing [s@macro-dial-one:10] GotoIf(“SIP/701-000000cb”, “0?nodial”) in new stack
– Executing [s@macro-dial-one:11] GotoIf(“SIP/701-000000cb”, “0?continue”) in new stack
– Executing [s@macro-dial-one:12] Set(“SIP/701-000000cb”, “EXTHASCW=ENABLED”) in new stack
– Executing [s@macro-dial-one:13] GotoIf(“SIP/701-000000cb”, “0?next1:cwinusebusy”) in new stack
– Goto (macro-dial-one,s,25)
– Executing [s@macro-dial-one:25] GotoIf(“SIP/701-000000cb”, “0?next3:continue”) in new stack
– Goto (macro-dial-one,s,27)
– Executing [s@macro-dial-one:27] GotoIf(“SIP/701-000000cb”, “0?nodial”) in new stack
– Executing [s@macro-dial-one:28] GosubIf(“SIP/701-000000cb”, “1?dstring,1():dlocal,1()”) in new stack
– Executing [dstring@macro-dial-one:1] Set(“SIP/701-000000cb”, “DSTRING=”) in new stack
– Executing [dstring@macro-dial-one:2] Set(“SIP/701-000000cb”, “DEVICES=123”) in new stack
– Executing [dstring@macro-dial-one:3] ExecIf(“SIP/701-000000cb”, “0?Return()”) in new stack
– Executing [dstring@macro-dial-one:4] ExecIf(“SIP/701-000000cb”, “0?Set(DEVICES=23)”) in new stack
– Executing [dstring@macro-dial-one:5] Set(“SIP/701-000000cb”, “LOOPCNT=1”) in new stack
– Executing [dstring@macro-dial-one:6] Set(“SIP/701-000000cb”, “ITER=1”) in new stack
– Executing [dstring@macro-dial-one:7] Set(“SIP/701-000000cb”, “THISDIAL=SIP/123”) in new stack
– Executing [dstring@macro-dial-one:8] GosubIf(“SIP/701-000000cb”, “1?zap2dahdi,1()”) in new stack
– Executing [zap2dahdi@macro-dial-one:1] ExecIf(“SIP/701-000000cb”, “0?Return()”) in new stack
– Executing [zap2dahdi@macro-dial-one:2] Set(“SIP/701-000000cb”, “NEWDIAL=”) in new stack
– Executing [zap2dahdi@macro-dial-one:3] Set(“SIP/701-000000cb”, “LOOPCNT2=1”) in new stack
– Executing [zap2dahdi@macro-dial-one:4] Set(“SIP/701-000000cb”, “ITER2=1”) in new stack
– Executing [zap2dahdi@macro-dial-one:5] Set(“SIP/701-000000cb”, “THISPART2=SIP/123”) in new stack
– Executing [zap2dahdi@macro-dial-one:6] ExecIf(“SIP/701-000000cb”, “0?Set(THISPART2=DAHDI/123)”) in new stack
– Executing [zap2dahdi@macro-dial-one:7] Set(“SIP/701-000000cb”, “NEWDIAL=SIP/123&”) in new stack
– Executing [zap2dahdi@macro-dial-one:8] Set(“SIP/701-000000cb”, “ITER2=2”) in new stack
– Executing [zap2dahdi@macro-dial-one:9] GotoIf(“SIP/701-000000cb”, “0?begin2”) in new stack
– Executing [zap2dahdi@macro-dial-one:10] Set(“SIP/701-000000cb”, “THISDIAL=SIP/123”) in new stack
– Executing [zap2dahdi@macro-dial-one:11] Return(“SIP/701-000000cb”, “”) in new stack
– Executing [dstring@macro-dial-one:9] GotoIf(“SIP/701-000000cb”, “1?docheck”) in new stack
– Goto (macro-dial-one,dstring,15)
– Executing [dstring@macro-dial-one:15] GotoIf(“SIP/701-000000cb”, “0?skipset”) in new stack
– Executing [dstring@macro-dial-one:16] Set(“SIP/701-000000cb”, “DSTRING=SIP/123&”) in new stack
– Executing [dstring@macro-dial-one:17] Set(“SIP/701-000000cb”, “ITER=2”) in new stack
– Executing [dstring@macro-dial-one:18] GotoIf(“SIP/701-000000cb”, “0?begin”) in new stack
– Executing [dstring@macro-dial-one:19] ExecIf(“SIP/701-000000cb”, “0?Return()”) in new stack
– Executing [dstring@macro-dial-one:20] Set(“SIP/701-000000cb”, “DSTRING=SIP/123”) in new stack
– Executing [dstring@macro-dial-one:21] Return(“SIP/701-000000cb”, “”) in new stack
– Executing [s@macro-dial-one:29] GotoIf(“SIP/701-000000cb”, “0?nodial”) in new stack
– Executing [s@macro-dial-one:30] GotoIf(“SIP/701-000000cb”, “0?skiptrace”) in new stack
– Executing [s@macro-dial-one:31] GosubIf(“SIP/701-000000cb”, “1?ctset,1():ctclear,1()”) in new stack
– Executing [ctset@macro-dial-one:1] Set(“SIP/701-000000cb”, “DB(CALLTRACE/123)=701”) in new stack
– Executing [ctset@macro-dial-one:2] Return(“SIP/701-000000cb”, “”) in new stack
– Executing [s@macro-dial-one:32] Set(“SIP/701-000000cb”, “D_OPTIONS=HhTtrI”) in new stack
– Executing [s@macro-dial-one:33] GosubIf(“SIP/701-000000cb”, “0?func-set-sipheader,s,1(Alert-Info,)”) in new stack
– Executing [s@macro-dial-one:34] NoOp(“SIP/701-000000cb”, "Blind Transfer: , Attended Transfer: , User: 701, Alert Info: ") in new stack
– Executing [s@macro-dial-one:35] ExecIf(“SIP/701-000000cb”, “1?Set(ALERT_INFO=)”) in new stack
– Executing [s@macro-dial-one:36] ExecIf(“SIP/701-000000cb”, “0?Set(ALERT_INFO=)”) in new stack
– Executing [s@macro-dial-one:37] ExecIf(“SIP/701-000000cb”, “0?Set(ALERT_INFO=)”) in new stack
– Executing [s@macro-dial-one:38] ExecIf(“SIP/701-000000cb”, “0?Set(ALERT_INFO=Normal;volume=)”) in new stack
– Executing [s@macro-dial-one:39] ExecIf(“SIP/701-000000cb”, “0?Set(ALERT_INFO=Normal;volume=)”) in new stack
– Executing [s@macro-dial-one:40] GosubIf(“SIP/701-000000cb”, “0?func-set-sipheader,s,1(Alert-Info,)”) in new stack
– Executing [s@macro-dial-one:41] ExecIf(“SIP/701-000000cb”, “0?Set(CHANNEL(musicclass)=)”) in new stack
– Executing [s@macro-dial-one:42] GosubIf(“SIP/701-000000cb”, “0?qwait,1()”) in new stack
– Executing [s@macro-dial-one:43] Set(“SIP/701-000000cb”, “__CWIGNORE=”) in new stack
– Executing [s@macro-dial-one:44] Set(“SIP/701-000000cb”, “__KEEPCID=TRUE”) in new stack
– Executing [s@macro-dial-one:45] GotoIf(“SIP/701-000000cb”, “0?usegoto,1”) in new stack
– Executing [s@macro-dial-one:46] GotoIf(“SIP/701-000000cb”, “0?godial”) in new stack
– Executing [s@macro-dial-one:47] Gosub(“SIP/701-000000cb”, “sub-presencestate-display,s,1(123)”) in new stack
– Executing [s@sub-presencestate-display:1] Goto(“SIP/701-000000cb”, “state-available,1”) in new stack
– Goto (sub-presencestate-display,state-available,1)
– Executing [state-available@sub-presencestate-display:1] Set(“SIP/701-000000cb”, “PRESENCESTATE_DISPLAY=(Available)”) in new stack
– Executing [state-available@sub-presencestate-display:2] Return(“SIP/701-000000cb”, “”) in new stack
– Executing [s@macro-dial-one:48] Set(“SIP/701-000000cb”, “CONNECTEDLINE(name,i)=information-Arasat(Available)”) in new stack
– Executing [s@macro-dial-one:49] Set(“SIP/701-000000cb”, “CONNECTEDLINE(num)=123”) in new stack
– Executing [s@macro-dial-one:50] Set(“SIP/701-000000cb”, “D_OPTIONS=HhTtrII”) in new stack
– Executing [s@macro-dial-one:51] Macro(“SIP/701-000000cb”, “dialout-one-predial-hook,”) in new stack
– Executing [s@macro-dialout-one-predial-hook:1] MacroExit(“SIP/701-000000cb”, “”) in new stack
– Executing [s@macro-dial-one:52] ExecIf(“SIP/701-000000cb”, “0?Set(D_OPTIONS=HhtrIII)”) in new stack
– Executing [s@macro-dial-one:53] NoOp(“SIP/701-000000cb”, “”) in new stack
– Executing [s@macro-dial-one:54] ExecIf(“SIP/701-000000cb”, “0?Set(D_OPTIONS=HhTtrIIg)”) in new stack
– Executing [s@macro-dial-one:55] Dial(“SIP/701-000000cb”, “SIP/123,HhTtrIIb(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
[2019-03-04 12:14:23] WARNING[2822][C-000000c3]: chan_sip.c:24141 handle_response_invite: Re-invite to non-existing call leg on other UA. SIP dialog ‘400eb88-1c3ea8c0-13c5-50022-37631b-26cf6d2c-37631b’. Giving up.
– SIP/123-000000cc Internal Gosub(func-apply-sipheaders,s,1) start
– Executing [s@func-apply-sipheaders:1] ExecIf(“SIP/123-000000cc”, “0?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)”) in new stack
– Executing [s@func-apply-sipheaders:2] NoOp(“SIP/123-000000cc”, “Applying SIP Headers to channel SIP/123-000000cc”) in new stack
– Executing [s@func-apply-sipheaders:3] Set(“SIP/123-000000cc”, “TECH=SIP”) in new stack
– Executing [s@func-apply-sipheaders:4] Set(“SIP/123-000000cc”, “SIPHEADERKEYS=”) in new stack
– Executing [s@func-apply-sipheaders:5] While(“SIP/123-000000cc”, “0”) in new stack
– Jumping to priority 12
– Executing [s@func-apply-sipheaders:13] Return(“SIP/123-000000cc”, “”) in new stack
== Spawn extension (from-internal, 123, 1) exited non-zero on ‘SIP/123-000000cc’
– SIP/123-000000cc Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
– Called SIP/123
– Connected line update to SIP/701-000000cb prevented.
== Spawn extension (macro-dial-one, s, 55) exited non-zero on ‘SIP/701-000000cb’ in macro ‘dial-one’
== Spawn extension (macro-exten-vm, s, 19) exited non-zero on ‘SIP/701-000000cb’ in macro ‘exten-vm’
== Spawn extension (ext-local, 123, 2) exited non-zero on ‘SIP/701-000000cb’
– Executing [h@ext-local:1] Macro(“SIP/701-000000cb”, “hangupcall,”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“SIP/701-000000cb”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [s@macro-hangupcall:3] ExecIf(“SIP/701-000000cb”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [s@macro-hangupcall:4] NoOp(“SIP/701-000000cb”, "SIP/123-000000cc monior file= ") in new stack
– Executing [s@macro-hangupcall:5] AGI(“SIP/701-000000cb”, “attendedtransfer-rec-restart.php,SIP/123-000000cc,”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
– <SIP/701-000000cb>AGI Script attendedtransfer-rec-restart.php completed, returning 0
– Executing [s@macro-hangupcall:6] Hangup(“SIP/701-000000cb”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 6) exited non-zero on ‘SIP/701-000000cb’ in macro ‘hangupcall’
== Spawn extension (ext-local, h, 1) exited non-zero on ‘SIP/701-000000cb’