Continued:
-- Executing [s@macro-exten-vm:17] ExecIf("SIP/vitel-inbound-00000014", "0?MacroExit()") in new stack
[2018-07-10 15:10:01] ERROR[29997][C-00000017]: res_pjsip_header_funcs.c:461 func_read_header: This function requires a PJSIP channel.
– Executing [s@macro-exten-vm:18] Gosub(“SIP/vitel-inbound-00000014”, “sub-record-check,s,1(exten,400,dontcare)”) in new stack
– Executing [s@sub-record-check:1] GotoIf(“SIP/vitel-inbound-00000014”, “10?initialized”) in new stack
– Goto (sub-record-check,s,10)
– Executing [s@sub-record-check:10] NoOp(“SIP/vitel-inbound-00000014”, “Recordings initialized”) in new stack
– Executing [s@sub-record-check:11] ExecIf(“SIP/vitel-inbound-00000014”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [s@sub-record-check:12] Set(“SIP/vitel-inbound-00000014”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [s@sub-record-check:13] ExecIf(“SIP/vitel-inbound-00000014”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [s@sub-record-check:14] GotoIf(“SIP/vitel-inbound-00000014”, “5?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [s@sub-record-check:17] GotoIf(“SIP/vitel-inbound-00000014”, “1?sub-record-check,exten,1”) in new stack
– Goto (sub-record-check,exten,1)
– Executing [exten@sub-record-check:1] NoOp(“SIP/vitel-inbound-00000014”, “Exten Recording Check between 6503252100 and 400”) in new stack
– Executing [exten@sub-record-check:2] Set(“SIP/vitel-inbound-00000014”, “CALLTYPE=external”) in new stack
– Executing [exten@sub-record-check:3] ExecIf(“SIP/vitel-inbound-00000014”, “0?Set(CALLTYPE=)”) in new stack
– Executing [exten@sub-record-check:4] Set(“SIP/vitel-inbound-00000014”, “CALLEE=dontcare”) in new stack
– Executing [exten@sub-record-check:5] ExecIf(“SIP/vitel-inbound-00000014”, “0?Set(CALLEE=dontcare)”) in new stack
– Executing [exten@sub-record-check:6] GotoIf(“SIP/vitel-inbound-00000014”, “1?callee”) in new stack
– Goto (sub-record-check,exten,11)
– Executing [exten@sub-record-check:11] Gosub(“SIP/vitel-inbound-00000014”, “recordcheck,1(dontcare,external,400)”) in new stack
– Executing [recordcheck@sub-record-check:1] NoOp(“SIP/vitel-inbound-00000014”, “Starting recording check against dontcare”) in new stack
– Executing [recordcheck@sub-record-check:2] Goto(“SIP/vitel-inbound-00000014”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [recordcheck@sub-record-check:3] Return(“SIP/vitel-inbound-00000014”, “”) in new stack
– Executing [exten@sub-record-check:12] Return(“SIP/vitel-inbound-00000014”, “”) in new stack
– Executing [s@macro-exten-vm:19] GotoIf(“SIP/vitel-inbound-00000014”, “1?macrodial”) in new stack
– Goto (macro-exten-vm,s,25)
– Executing [s@macro-exten-vm:25] GosubIf(“SIP/vitel-inbound-00000014”, “0?clrheader,1()”) in new stack
– Executing [s@macro-exten-vm:26] Macro(“SIP/vitel-inbound-00000014”, “dial-one,15,HhTtr,400”) in new stack
– Executing [s@macro-dial-one:1] Set(“SIP/vitel-inbound-00000014”, “DEXTEN=400”) in new stack
– Executing [s@macro-dial-one:2] Set(“SIP/vitel-inbound-00000014”, “__CRM_SOURCE=6503252100”) in new stack
– Executing [s@macro-dial-one:3] ExecIf(“SIP/vitel-inbound-00000014”, “0?Set(__EXTTOCALL=400)”) in new stack
– Executing [s@macro-dial-one:4] Set(“SIP/vitel-inbound-00000014”, “DIALSTATUS_CW=”) in new stack
– Executing [s@macro-dial-one:5] GosubIf(“SIP/vitel-inbound-00000014”, “0?screen,1()”) in new stack
– Executing [s@macro-dial-one:6] GosubIf(“SIP/vitel-inbound-00000014”, “0?cf,1()”) in new stack
– Executing [s@macro-dial-one:7] GotoIf(“SIP/vitel-inbound-00000014”, “1?skip1”) in new stack
– Goto (macro-dial-one,s,10)
– Executing [s@macro-dial-one:10] GotoIf(“SIP/vitel-inbound-00000014”, “0?nodial”) in new stack
– Executing [s@macro-dial-one:11] GotoIf(“SIP/vitel-inbound-00000014”, “0?continue”) in new stack
– Executing [s@macro-dial-one:12] Set(“SIP/vitel-inbound-00000014”, “EXTHASCW=ENABLED”) in new stack
– Executing [s@macro-dial-one:13] GotoIf(“SIP/vitel-inbound-00000014”, “0?next1:cwinusebusy”) in new stack
– Goto (macro-dial-one,s,25)
– Executing [s@macro-dial-one:25] GotoIf(“SIP/vitel-inbound-00000014”, “0?next3:continue”) in new stack
– Goto (macro-dial-one,s,27)
– Executing [s@macro-dial-one:27] GotoIf(“SIP/vitel-inbound-00000014”, “0?nodial”) in new stack
– Executing [s@macro-dial-one:28] GosubIf(“SIP/vitel-inbound-00000014”, “1?dstring,1():dlocal,1()”) in new stack
– Executing [dstring@macro-dial-one:1] Set(“SIP/vitel-inbound-00000014”, “DSTRING=”) in new stack
– Executing [dstring@macro-dial-one:2] Set(“SIP/vitel-inbound-00000014”, “DEVICES=400”) in new stack
– Executing [dstring@macro-dial-one:3] ExecIf(“SIP/vitel-inbound-00000014”, “0?Return()”) in new stack
– Executing [dstring@macro-dial-one:4] ExecIf(“SIP/vitel-inbound-00000014”, “0?Set(DEVICES=00)”) in new stack
– Executing [dstring@macro-dial-one:5] Set(“SIP/vitel-inbound-00000014”, “LOOPCNT=1”) in new stack
– Executing [dstring@macro-dial-one:6] Set(“SIP/vitel-inbound-00000014”, “ITER=1”) in new stack
– Executing [dstring@macro-dial-one:7] Set(“SIP/vitel-inbound-00000014”, “THISDIAL=PJSIP/400”) in new stack
– Executing [dstring@macro-dial-one:8] GosubIf(“SIP/vitel-inbound-00000014”, “1?zap2dahdi,1()”) in new stack
– Executing [zap2dahdi@macro-dial-one:1] ExecIf(“SIP/vitel-inbound-00000014”, “0?Return()”) in new stack
– Executing [zap2dahdi@macro-dial-one:2] Set(“SIP/vitel-inbound-00000014”, “NEWDIAL=”) in new stack
– Executing [zap2dahdi@macro-dial-one:3] Set(“SIP/vitel-inbound-00000014”, “LOOPCNT2=1”) in new stack
– Executing [zap2dahdi@macro-dial-one:4] Set(“SIP/vitel-inbound-00000014”, “ITER2=1”) in new stack
– Executing [zap2dahdi@macro-dial-one:5] Set(“SIP/vitel-inbound-00000014”, “THISPART2=PJSIP/400”) in new stack
– Executing [zap2dahdi@macro-dial-one:6] ExecIf(“SIP/vitel-inbound-00000014”, “0?Set(THISPART2=DAHDIIP/400)”) in new stack
– Executing [zap2dahdi@macro-dial-one:7] Set(“SIP/vitel-inbound-00000014”, “NEWDIAL=PJSIP/400&”) in new stack
– Executing [zap2dahdi@macro-dial-one:8] Set(“SIP/vitel-inbound-00000014”, “ITER2=2”) in new stack
– Executing [zap2dahdi@macro-dial-one:9] GotoIf(“SIP/vitel-inbound-00000014”, “0?begin2”) in new stack
– Executing [zap2dahdi@macro-dial-one:10] Set(“SIP/vitel-inbound-00000014”, “THISDIAL=PJSIP/400”) in new stack
– Executing [zap2dahdi@macro-dial-one:11] Return(“SIP/vitel-inbound-00000014”, “”) in new stack
– Executing [dstring@macro-dial-one:9] GotoIf(“SIP/vitel-inbound-00000014”, “0?docheck”) in new stack
– Executing [dstring@macro-dial-one:10] NoOp(“SIP/vitel-inbound-00000014”, “Debug: Found PJSIP Destination PJSIP/400”) in new stack
– Executing [dstring@macro-dial-one:11] GotoIf(“SIP/vitel-inbound-00000014”, “0?doset”) in new stack
– Executing [dstring@macro-dial-one:12] NoOp(“SIP/vitel-inbound-00000014”, “Debug: Updating PJSIP Destination with PJSIP_DIAL_CONTACTS”) in new stack
– Executing [dstring@macro-dial-one:13] Set(“SIP/vitel-inbound-00000014”, “THISDIAL=PJSIP/400/sip:[email protected]:5064”) in new stack
– Executing [dstring@macro-dial-one:14] GotoIf(“SIP/vitel-inbound-00000014”, “0?skipset”) in new stack
– Executing [dstring@macro-dial-one:15] Set(“SIP/vitel-inbound-00000014”, “DSTRING=PJSIP/400/sip:[email protected]:5064&”) in new stack
– Executing [dstring@macro-dial-one:16] Set(“SIP/vitel-inbound-00000014”, “ITER=2”) in new stack
– Executing [dstring@macro-dial-one:17] GotoIf(“SIP/vitel-inbound-00000014”, “0?begin”) in new stack
– Executing [dstring@macro-dial-one:18] ExecIf(“SIP/vitel-inbound-00000014”, “0?Return()”) in new stack
– Executing [dstring@macro-dial-one:19] Set(“SIP/vitel-inbound-00000014”, “DSTRING=PJSIP/400/sip:[email protected]:5064”) in new stack
– Executing [dstring@macro-dial-one:20] Return(“SIP/vitel-inbound-00000014”, “”) in new stack
– Executing [s@macro-dial-one:29] GotoIf(“SIP/vitel-inbound-00000014”, “0?nodial”) in new stack
– Executing [s@macro-dial-one:30] GotoIf(“SIP/vitel-inbound-00000014”, “0?skiptrace”) in new stack
– Executing [s@macro-dial-one:31] GosubIf(“SIP/vitel-inbound-00000014”, “1?ctset,1():ctclear,1()”) in new stack
– Executing [ctset@macro-dial-one:1] Set(“SIP/vitel-inbound-00000014”, “DB(CALLTRACE/400)=6503252100”) in new stack
– Executing [ctset@macro-dial-one:2] Return(“SIP/vitel-inbound-00000014”, “”) in new stack
– Executing [s@macro-dial-one:32] Set(“SIP/vitel-inbound-00000014”, “D_OPTIONS=HhTtr”) in new stack
– Executing [s@macro-dial-one:33] GosubIf(“SIP/vitel-inbound-00000014”, “0?func-set-sipheader,s,1(Alert-Info,)”) in new stack
– Executing [s@macro-dial-one:34] NoOp(“SIP/vitel-inbound-00000014”, "Blind Transfer: , Attended Transfer: , User: , Alert Info: ") in new stack
– Executing [s@macro-dial-one:35] ExecIf(“SIP/vitel-inbound-00000014”, “0?Set(ALERT_INFO=)”) in new stack
– Executing [s@macro-dial-one:36] ExecIf(“SIP/vitel-inbound-00000014”, “0?Set(ALERT_INFO=)”) in new stack
– Executing [s@macro-dial-one:37] ExecIf(“SIP/vitel-inbound-00000014”, “0?Set(ALERT_INFO=)”) in new stack
– Executing [s@macro-dial-one:38] ExecIf(“SIP/vitel-inbound-00000014”, “0?Set(ALERT_INFO=Normal;volume=)”) in new stack
– Executing [s@macro-dial-one:39] ExecIf(“SIP/vitel-inbound-00000014”, “0?Set(ALERT_INFO=Normal;volume=)”) in new stack
– Executing [s@macro-dial-one:40] GosubIf(“SIP/vitel-inbound-00000014”, “0?func-set-sipheader,s,1(Alert-Info,)”) in new stack
– Executing [s@macro-dial-one:41] ExecIf(“SIP/vitel-inbound-00000014”, “0?Set(CHANNEL(musicclass)=)”) in new stack
– Executing [s@macro-dial-one:42] GosubIf(“SIP/vitel-inbound-00000014”, “0?qwait,1()”) in new stack
– Executing [s@macro-dial-one:43] Set(“SIP/vitel-inbound-00000014”, “__CWIGNORE=”) in new stack
– Executing [s@macro-dial-one:44] Set(“SIP/vitel-inbound-00000014”, “__KEEPCID=TRUE”) in new stack
– Executing [s@macro-dial-one:45] GotoIf(“SIP/vitel-inbound-00000014”, “0?usegoto,1”) in new stack
– Executing [s@macro-dial-one:46] GotoIf(“SIP/vitel-inbound-00000014”, “1?godial”) in new stack
– Goto (macro-dial-one,s,51)
– Executing [s@macro-dial-one:51] Macro(“SIP/vitel-inbound-00000014”, “dialout-one-predial-hook,”) in new stack
– Executing [s@macro-dialout-one-predial-hook:1] MacroExit(“SIP/vitel-inbound-00000014”, “”) in new stack
– Executing [s@macro-dial-one:52] ExecIf(“SIP/vitel-inbound-00000014”, “1?Set(D_OPTIONS=HhtrI)”) in new stack
– Executing [s@macro-dial-one:53] NoOp(“SIP/vitel-inbound-00000014”, “”) in new stack
– Executing [s@macro-dial-one:54] ExecIf(“SIP/vitel-inbound-00000014”, “0?Set(D_OPTIONS=HhtrIg)”) in new stack
– Executing [s@macro-dial-one:55] Dial(“SIP/vitel-inbound-00000014”, “PJSIP/400/sip:[email protected]:5064,15,HhtrIb(func-apply-sipheaders^s^1)”) in new stack
– PJSIP/400-00000017 Internal Gosub(func-apply-sipheaders,s,1) start
– Executing [s@func-apply-sipheaders:1] ExecIf(“PJSIP/400-00000017”, “1?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)”) in new stack
– Executing [s@func-apply-sipheaders:2] NoOp(“PJSIP/400-00000017”, “Applying SIP Headers to channel”) in new stack
– Executing [s@func-apply-sipheaders:3] Set(“PJSIP/400-00000017”, “SIPHEADERKEYS=”) in new stack
– Executing [s@func-apply-sipheaders:4] ExecIf(“PJSIP/400-00000017”, “0?Set(Rheader=1)”) in new stack
– Executing [s@func-apply-sipheaders:5] While(“PJSIP/400-00000017”, “0”) in new stack
– Jumping to priority 9
– Executing [s@func-apply-sipheaders:10] ExecIf(“PJSIP/400-00000017”, “0?SIPRemoveHeader(Alert-Info:)”) in new stack
– Executing [s@func-apply-sipheaders:11] ExecIf(“PJSIP/400-00000017”, “0?Set(PJSIP_HEADER(remove,Alert-Info)=)”) in new stack
– Executing [s@func-apply-sipheaders:12] Return(“PJSIP/400-00000017”, “”) in new stack
== Spawn extension (from-internal, 400, 1) exited non-zero on ‘PJSIP/400-00000017’
– PJSIP/400-00000017 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
– Called PJSIP/400/sip:[email protected]:5064
== Using SIP RTP Audio TOS bits 184
== Using SIP RTP Audio TOS bits 184 in TCLASS field.
== Using SIP RTP Audio CoS mark 5
<— Transmitting SIP request (1162 bytes) to UDP:192.168.71.5:5064 —>
INVITE sip:[email protected]:5064 SIP/2.0
Via: SIP/2.0/UDP 192.168.122.67:5060;rport;branch=z9hG4bKPjcd653e32-22a6-4254-98e7-446be1b30430
From: “6503252100” sip:[email protected];tag=ba292a5e-d7ee-4798-bfe5-cd3e662fc157
To: sip:[email protected]
Contact: sip:[email protected]:5060
Call-ID: f3a30d0e-eba0-4356-879e-4c664fbcae3f
CSeq: 23825 INVITE
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub
Session-Expires: 1800
Min-SE: 90
P-Asserted-Identity: “6503252100” sip:[email protected]
Max-Forwards: 70
User-Agent: FPBX-14.0.3.6(13.19.1)
Content-Type: application/sdp
Content-Length: 419
v=0
o=- 1367580655 1367580655 IN IP4 192.168.122.67
s=Asterisk
c=IN IP4 192.168.122.67
t=0 0
m=audio 16770 RTP/AVP 18 0 8 111 4 9 116 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:111 G726-32/8000
a=rtpmap:4 G723/8000
a=rtpmap:9 G722/8000
a=rtpmap:116 G719/48000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:80
a=sendrecv
-- Connected line update to SIP/vitel-inbound-00000014 prevented.
<— Received SIP response (367 bytes) from UDP:192.168.71.5:5064 —>
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.122.67:5060;rport;branch=z9hG4bKPjcd653e32-22a6-4254-98e7-446be1b30430
From: “6503252100” sip:[email protected];tag=ba292a5e-d7ee-4798-bfe5-cd3e662fc157
To: sip:[email protected]
Call-ID: f3a30d0e-eba0-4356-879e-4c664fbcae3f
CSeq: 23825 INVITE
User-Agent: Grandstream GXP2000 1.2.5.3
Content-Length: 0
-- SIP/vitel-outbound-00000013 is ringing
<— Transmitting SIP response (601 bytes) to UDP:192.168.71.5:5062 —>
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.71.5:5062;rport=5062;received=192.168.71.5;branch=z9hG4bK367045d03b785681
Call-ID: [email protected]
From: “Gerald Rosenberg” sip:[email protected];tag=be635af7da959ee6
To: sip:[email protected];tag=32356824-ecbb-4a83-892c-1abf31b967ca
CSeq: 57890 INVITE
Server: FPBX-14.0.3.6(13.19.1)
Contact: sip:192.168.122.67:5060
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, MESSAGE, REFER
P-Asserted-Identity: “CID:6507031724” sip:[email protected]
Content-Length: 0
<— Received SIP response (528 bytes) from UDP:192.168.71.5:5064 —>
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.122.67:5060;rport;branch=z9hG4bKPjcd653e32-22a6-4254-98e7-446be1b30430
From: “6503252100” sip:[email protected];tag=ba292a5e-d7ee-4798-bfe5-cd3e662fc157
To: sip:[email protected];tag=09c076b72533e164
Call-ID: f3a30d0e-eba0-4356-879e-4c664fbcae3f
CSeq: 23825 INVITE
User-Agent: Grandstream GXP2000 1.2.5.3
Contact: sip:[email protected]:5064;transport=udp
Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK,MESSAGE
Content-Length: 0
-- PJSIP/400-00000017 is ringing
<— Received SIP request (460 bytes) from UDP:192.168.71.5:5062 —>
CANCEL sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.71.5:5062;branch=z9hG4bK367045d03b785681
From: “Gerald Rosenberg” sip:[email protected];tag=be635af7da959ee6
To: sip:[email protected]
Supported: path
Call-ID: [email protected]
CSeq: 57890 CANCEL
User-Agent: Grandstream GXP2000 1.2.5.3
Max-Forwards: 70
Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK,MESSAGE
Content-Length: 0
<— Transmitting SIP response (377 bytes) to UDP:192.168.71.5:5062 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.71.5:5062;rport=5062;received=192.168.71.5;branch=z9hG4bK367045d03b785681
Call-ID: [email protected]
From: “Gerald Rosenberg” sip:[email protected];tag=be635af7da959ee6
To: sip:[email protected];tag=32356824-ecbb-4a83-892c-1abf31b967ca
CSeq: 57890 CANCEL
Server: FPBX-14.0.3.6(13.19.1)
Content-Length: 0
<— Transmitting SIP response (576 bytes) to UDP:192.168.71.5:5062 —>
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP 192.168.71.5:5062;rport=5062;received=192.168.71.5;branch=z9hG4bK367045d03b785681
Call-ID: [email protected]
From: “Gerald Rosenberg” sip:[email protected];tag=be635af7da959ee6
To: sip:[email protected];tag=32356824-ecbb-4a83-892c-1abf31b967ca
CSeq: 57890 INVITE
Server: FPBX-14.0.3.6(13.19.1)
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, MESSAGE, REFER
P-Asserted-Identity: “CID:6507031724” sip:[email protected]
Content-Length: 0
== Spawn extension (macro-dialout-trunk, s, 32) exited non-zero on ‘PJSIP/200-00000016’ in macro ‘dialout-trunk’
== Spawn extension (from-internal, 3492330, 6) exited non-zero on ‘PJSIP/200-00000016’
– Executing [h@from-internal:1] Macro(“PJSIP/200-00000016”, “hangupcall”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“PJSIP/200-00000016”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [s@macro-hangupcall:3] ExecIf(“PJSIP/200-00000016”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [s@macro-hangupcall:4] NoOp(“PJSIP/200-00000016”, "SIP/vitel-outbound-00000013 monior file= “) in new stack
– Executing [s@macro-hangupcall:5] AGI(“PJSIP/200-00000016”, “attendedtransfer-rec-restart.php,SIP/vitel-outbound-00000013,”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
– PJSIP/400-00000017 Internal Gosub(crm-hangup,s,1) start
– Executing [s@crm-hangup:1] NoOp(“PJSIP/400-00000017”, “Sending Hangup to CRM”) in new stack
– Executing [s@crm-hangup:2] NoOp(“PJSIP/400-00000017”, “HANGUP CAUSE: 0”) in new stack
– Executing [s@crm-hangup:3] ExecIf(“PJSIP/400-00000017”, “0?Set(__CRM_VOICEMAIL=)”) in new stack
– Executing [s@crm-hangup:4] NoOp(“PJSIP/400-00000017”, “MASTER CHANNEL: 1531260601.50 = 1531260601.49”) in new stack
– Executing [s@crm-hangup:5] GotoIf(“PJSIP/400-00000017”, “1?return”) in new stack
– Goto (crm-hangup,s,8)
– Executing [s@crm-hangup:8] Return(“PJSIP/400-00000017”, “”) in new stack
== Spawn extension (from-internal, 400, 1) exited non-zero on ‘PJSIP/400-00000017’
– PJSIP/400-00000017 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
== Spawn extension (macro-dial-one, s, 55) exited non-zero on ‘SIP/vitel-inbound-00000014’ in macro ‘dial-one’
== Spawn extension (macro-exten-vm, s, 26) exited non-zero on ‘SIP/vitel-inbound-00000014’ in macro ‘exten-vm’
== Spawn extension (ext-local, 400, 2) exited non-zero on ‘SIP/vitel-inbound-00000014’
– Executing [h@ext-local:1] Macro(“SIP/vitel-inbound-00000014”, “hangupcall,”) in new stack
<— Received SIP request (827 bytes) from UDP:192.168.71.5:5062 —>
ACK sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.71.5:5062;branch=z9hG4bK367045d03b785681
From: “Gerald Rosenberg” sip:[email protected];tag=be635af7da959ee6
To: sip:[email protected];tag=32356824-ecbb-4a83-892c-1abf31b967ca
Contact: sip:[email protected]:5062;transport=udp
Supported: path
Authorization: Digest username=“200”, realm=“asterisk”, algorithm=MD5, uri="sip:[email protected]”, qop=auth, nc=00000001, cnonce=“f0c123e8ef8aab66”, opaque=“54438cf12a93bee4”, nonce=“1531260599/4e8a92be6d87a693990f174f39cb130c”, response=“ac0bbe254b5f7a86f0a3296b26083b59”
Call-ID: [email protected]
CSeq: 57890 ACK
User-Agent: Grandstream GXP2000 1.2.5.3
Max-Forwards: 70
Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK,MESSAGE
Content-Length: 0
<— Transmitting SIP request (426 bytes) to UDP:192.168.71.5:5064 —>
CANCEL sip:[email protected]:5064 SIP/2.0
Via: SIP/2.0/UDP 192.168.122.67:5060;rport;branch=z9hG4bKPjcd653e32-22a6-4254-98e7-446be1b30430
From: “6503252100” sip:[email protected];tag=ba292a5e-d7ee-4798-bfe5-cd3e662fc157
To: sip:[email protected]
Call-ID: f3a30d0e-eba0-4356-879e-4c664fbcae3f
CSeq: 23825 CANCEL
Reason: Q.850;cause=0
Max-Forwards: 70
User-Agent: FPBX-14.0.3.6(13.19.1)
Content-Length: 0
<— Received SIP response (412 bytes) from UDP:192.168.71.5:5064 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.122.67:5060;rport;branch=z9hG4bKPjcd653e32-22a6-4254-98e7-446be1b30430
From: “6503252100” sip:[email protected];tag=ba292a5e-d7ee-4798-bfe5-cd3e662fc157
To: sip:[email protected];tag=09c076b72533e164
Call-ID: f3a30d0e-eba0-4356-879e-4c664fbcae3f
CSeq: 23825 CANCEL
User-Agent: Grandstream GXP2000 1.2.5.3
Supported: replaces, timer
Content-Length: 0
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/vitel-inbound-00000014", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] ExecIf("SIP/vitel-inbound-00000014", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:4] NoOp("SIP/vitel-inbound-00000014", "PJSIP/400-00000017 monior file= ") in new stack
<— Received SIP response (399 bytes) from UDP:192.168.71.5:5064 —>
SIP/2.0 487 Request Cancelled
Via: SIP/2.0/UDP 192.168.122.67:5060;rport;branch=z9hG4bKPjcd653e32-22a6-4254-98e7-446be1b30430
From: “6503252100” sip:[email protected];tag=ba292a5e-d7ee-4798-bfe5-cd3e662fc157
To: sip:[email protected];tag=09c076b72533e164
Call-ID: f3a30d0e-eba0-4356-879e-4c664fbcae3f
CSeq: 23825 INVITE
User-Agent: Grandstream GXP2000 1.2.5.3
Content-Length: 0
<— Transmitting SIP request (418 bytes) to UDP:192.168.71.5:5064 —>
ACK sip:[email protected]:5064 SIP/2.0
Via: SIP/2.0/UDP 192.168.122.67:5060;rport;branch=z9hG4bKPjcd653e32-22a6-4254-98e7-446be1b30430
From: “6503252100” sip:[email protected];tag=ba292a5e-d7ee-4798-bfe5-cd3e662fc157
To: sip:[email protected];tag=09c076b72533e164
Call-ID: f3a30d0e-eba0-4356-879e-4c664fbcae3f
CSeq: 23825 ACK
Max-Forwards: 70
User-Agent: FPBX-14.0.3.6(13.19.1)
Content-Length: 0
-- Executing [s@macro-hangupcall:5] AGI("SIP/vitel-inbound-00000014", "attendedtransfer-rec-restart.php,PJSIP/400-00000017,") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
-- <PJSIP/200-00000016>AGI Script attendedtransfer-rec-restart.php completed, returning 0
-- Executing [s@macro-hangupcall:6] Hangup("PJSIP/200-00000016", "") in new stack
== Spawn extension (macro-hangupcall, s, 6) exited non-zero on ‘PJSIP/200-00000016’ in macro ‘hangupcall’
== Spawn extension (from-internal, h, 1) exited non-zero on ‘PJSIP/200-00000016’
– PJSIP/200-00000016 Internal Gosub(crm-hangup,s,1) start
– Executing [s@crm-hangup:1] NoOp(“PJSIP/200-00000016”, “Sending Hangup to CRM”) in new stack
– Executing [s@crm-hangup:2] NoOp(“PJSIP/200-00000016”, “HANGUP CAUSE: 127”) in new stack
– Executing [s@crm-hangup:3] ExecIf(“PJSIP/200-00000016”, “0?Set(__CRM_VOICEMAIL=)”) in new stack
– Executing [s@crm-hangup:4] NoOp(“PJSIP/200-00000016”, “MASTER CHANNEL: 1531260599.47 = 1531260599.47”) in new stack
– Executing [s@crm-hangup:5] GotoIf(“PJSIP/200-00000016”, “0?return”) in new stack
– Executing [s@crm-hangup:6] Set(“PJSIP/200-00000016”, “__CRM_HANGUP=1”) in new stack
– Executing [s@crm-hangup:7] AGI(“PJSIP/200-00000016”, “sangomacrm.agi”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
– <SIP/vitel-inbound-00000014>AGI Script attendedtransfer-rec-restart.php completed, returning 0
– Executing [s@macro-hangupcall:6] Hangup(“SIP/vitel-inbound-00000014”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 6) exited non-zero on ‘SIP/vitel-inbound-00000014’ in macro ‘hangupcall’
== Spawn extension (ext-local, h, 1) exited non-zero on ‘SIP/vitel-inbound-00000014’
– SIP/vitel-inbound-00000014 Internal Gosub(crm-hangup,s,1) start
– Executing [s@crm-hangup:1] NoOp(“SIP/vitel-inbound-00000014”, “Sending Hangup to CRM”) in new stack
– Executing [s@crm-hangup:2] NoOp(“SIP/vitel-inbound-00000014”, “HANGUP CAUSE: 16”) in new stack
– Executing [s@crm-hangup:3] ExecIf(“SIP/vitel-inbound-00000014”, “0?Set(__CRM_VOICEMAIL=)”) in new stack
– Executing [s@crm-hangup:4] NoOp(“SIP/vitel-inbound-00000014”, “MASTER CHANNEL: 1531260601.49 = 1531260601.49”) in new stack
– Executing [s@crm-hangup:5] GotoIf(“SIP/vitel-inbound-00000014”, “0?return”) in new stack
– Executing [s@crm-hangup:6] Set(“SIP/vitel-inbound-00000014”, “__CRM_HANGUP=1”) in new stack
– Executing [s@crm-hangup:7] AGI(“SIP/vitel-inbound-00000014”, “sangomacrm.agi”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
<— Transmitting SIP request (425 bytes) to UDP:192.168.71.5:5064 —>
OPTIONS sip:[email protected]:5064 SIP/2.0
Via: SIP/2.0/UDP 192.168.122.67:5060;rport;branch=z9hG4bKPj605f685f-9095-47c0-af93-9819df0561c6
From: sip:[email protected];tag=7820aa30-a079-48b6-a5a4-5650278fccc2
To: sip:[email protected]
Contact: sip:[email protected]:5060
Call-ID: 88442cf2-7cf6-4473-bb26-0b680983775b
CSeq: 23912 OPTIONS
Max-Forwards: 70
User-Agent: FPBX-14.0.3.6(13.19.1)
Content-Length: 0
<— Received SIP response (532 bytes) from UDP:192.168.71.5:5064 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.122.67:5060;rport;branch=z9hG4bKPj605f685f-9095-47c0-af93-9819df0561c6
From: sip:[email protected];tag=7820aa30-a079-48b6-a5a4-5650278fccc2
To: sip:[email protected];tag=d79a9f7da715ed17
Call-ID: 88442cf2-7cf6-4473-bb26-0b680983775b
CSeq: 23912 OPTIONS
User-Agent: Grandstream GXP2000 1.2.5.3
Contact: sip:[email protected]:5064;transport=udp
Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK,MESSAGE
Supported: replaces, timer
Content-Length: 0
-- <SIP/vitel-inbound-00000014>AGI Script sangomacrm.agi completed, returning 0
-- <PJSIP/200-00000016>AGI Script sangomacrm.agi completed, returning 0
-- Executing [s@crm-hangup:8] Return("PJSIP/200-00000016", "") in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on ‘PJSIP/200-00000016’
– PJSIP/200-00000016 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
– Executing [s@crm-hangup:8] Return(“SIP/vitel-inbound-00000014”, “”) in new stack
== Spawn extension (ext-local, h, 1) exited non-zero on ‘SIP/vitel-inbound-00000014’
– SIP/vitel-inbound-00000014 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
<— Transmitting SIP request (425 bytes) to UDP:192.168.71.5:5062 —>
OPTIONS sip:[email protected]:5062 SIP/2.0
Via: SIP/2.0/UDP 192.168.122.67:5060;rport;branch=z9hG4bKPj15ae7690-7126-44b2-bdf1-7f983ba8f570
From: sip:[email protected];tag=c98ca6df-9811-4c86-8b21-05d31b6cd58a
To: sip:[email protected]
Contact: sip:[email protected]:5060
Call-ID: 59a07352-dacf-4267-8ecd-2177f8121202
CSeq: 33476 OPTIONS
Max-Forwards: 70
User-Agent: FPBX-14.0.3.6(13.19.1)
Content-Length: 0
perk*CLI>