=========================================================================
Connected to Asterisk 13.5.0 currently running on localhost (pid = 2014)
localhost*CLI> core set verbose 5
Console verbose was OFF and is now 5.
localhost*CLI> sip set debug on
SIP Debugging re-enabled
-- Executing [001732485385@from-internal:1] Macro("PJSIP/202-00000011", "user-callerid,LIMIT,EXTERNAL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("PJSIP/202-00000011", "TOUCH_MONITOR=1448295358.170") in new stack
-- Executing [s@macro-user-callerid:2] Set("PJSIP/202-00000011", "AMPUSER=202") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("PJSIP/202-00000011", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("PJSIP/202-00000011", "1?Set(REALCALLERIDNUM=202)") in new stack
-- Executing [s@macro-user-callerid:5] Set("PJSIP/202-00000011", "AMPUSER=202") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("PJSIP/202-00000011", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("PJSIP/202-00000011", "AMPUSERCIDNAME=Andre DECT") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("PJSIP/202-00000011", "0?report") in new stack
-- Executing [s@macro-user-callerid:9] Set("PJSIP/202-00000011", "AMPUSERCID=202") in new stack
-- Executing [s@macro-user-callerid:10] Set("PJSIP/202-00000011", "__DIAL_OPTIONS=Ttr") in new stack
-- Executing [s@macro-user-callerid:11] Set("PJSIP/202-00000011", "CALLERID(all)="Andre DECT" <202>") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("PJSIP/202-00000011", "0?limit") in new stack
-- Executing [s@macro-user-callerid:13] ExecIf("PJSIP/202-00000011", "1?Set(GROUP(concurrency_limit)=202)") in new stack
-- Executing [s@macro-user-callerid:14] ExecIf("PJSIP/202-00000011", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:15] GotoIf("PJSIP/202-00000011", "1?continue") in new stack
-- Goto (macro-user-callerid,s,29)
-- Executing [s@macro-user-callerid:29] Set("PJSIP/202-00000011", "CALLERID(number)=202") in new stack
-- Executing [s@macro-user-callerid:30] Set("PJSIP/202-00000011", "CALLERID(name)=Andre DECT") in new stack
-- Executing [s@macro-user-callerid:31] Set("PJSIP/202-00000011", "CDR(cnum)=202") in new stack
-- Executing [s@macro-user-callerid:32] Set("PJSIP/202-00000011", "CDR(cnam)=Andre DECT") in new stack
-- Executing [s@macro-user-callerid:33] Set("PJSIP/202-00000011", "CHANNEL(language)=en") in new stack
-- Executing [001732485385@from-internal:2] Gosub("PJSIP/202-00000011", "sub-record-check,s,1(out,001732485385,dontcare)") in new stack
-- Executing [s@sub-record-check:1] GotoIf("PJSIP/202-00000011", "0?initialized") in new stack
-- Executing [s@sub-record-check:2] Set("PJSIP/202-00000011", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:3] Set("PJSIP/202-00000011", "NOW=1448295358") in new stack
-- Executing [s@sub-record-check:4] Set("PJSIP/202-00000011", "__DAY=23") in new stack
-- Executing [s@sub-record-check:5] Set("PJSIP/202-00000011", "__MONTH=11") in new stack
-- Executing [s@sub-record-check:6] Set("PJSIP/202-00000011", "__YEAR=2015") in new stack
-- Executing [s@sub-record-check:7] Set("PJSIP/202-00000011", "__TIMESTR=20151123-171558") in new stack
-- Executing [s@sub-record-check:8] Set("PJSIP/202-00000011", "__FROMEXTEN=202") in new stack
-- Executing [s@sub-record-check:9] Set("PJSIP/202-00000011", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:10] NoOp("PJSIP/202-00000011", "Recordings initialized") in new stack
-- Executing [s@sub-record-check:11] ExecIf("PJSIP/202-00000011", "0?Set(ARG3=dontcare)") in new stack
-- Executing [s@sub-record-check:12] Set("PJSIP/202-00000011", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:13] ExecIf("PJSIP/202-00000011", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [s@sub-record-check:14] GotoIf("PJSIP/202-00000011", "3?checkaction") in new stack
-- Goto (sub-record-check,s,17)
-- Executing [s@sub-record-check:17] GotoIf("PJSIP/202-00000011", "1?sub-record-check,out,1") in new stack
-- Goto (sub-record-check,out,1)
-- Executing [out@sub-record-check:1] NoOp("PJSIP/202-00000011", "Outbound Recording Check from 202 to 001732485385") in new stack
-- Executing [out@sub-record-check:2] Set("PJSIP/202-00000011", "RECMODE=dontcare") in new stack
-- Executing [out@sub-record-check:3] ExecIf("PJSIP/202-00000011", "1?Goto(routewins)") in new stack
-- Goto (sub-record-check,out,7)
-- Executing [out@sub-record-check:7] Gosub("PJSIP/202-00000011", "recordcheck,1(dontcare,out,001732485385)") in new stack
-- Executing [recordcheck@sub-record-check:1] NoOp("PJSIP/202-00000011", "Starting recording check against dontcare") in new stack
-- Executing [recordcheck@sub-record-check:2] Goto("PJSIP/202-00000011", "dontcare") in new stack
-- Goto (sub-record-check,recordcheck,3)
-- Executing [recordcheck@sub-record-check:3] Return("PJSIP/202-00000011", "") in new stack
-- Executing [out@sub-record-check:8] Return("PJSIP/202-00000011", "") in new stack
-- Executing [001732485385@from-internal:3] ExecIf("PJSIP/202-00000011", "0 ?Set(CDR(accountcode)=)") in new stack
-- Executing [001732485385@from-internal:4] Set("PJSIP/202-00000011", "MOHCLASS=default") in new stack
-- Executing [001732485385@from-internal:5] Set("PJSIP/202-00000011", "_NODEST=") in new stack
-- Executing [001732485385@from-internal:6] Macro("PJSIP/202-00000011", "dialout-trunk,2,01732485385,,off") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("PJSIP/202-00000011", "DIAL_TRUNK=2") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("PJSIP/202-00000011", "0?sub-pincheck,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("PJSIP/202-00000011", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("PJSIP/202-00000011", "DIAL_NUMBER=01732485385") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("PJSIP/202-00000011", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("PJSIP/202-00000011", "OUTBOUND_GROUP=OUT_2") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("PJSIP/202-00000011", "0?nomax") in new stack
-- Executing [s@macro-dialout-trunk:8] GotoIf("PJSIP/202-00000011", "0?chanfull") in new stack
-- Executing [s@macro-dialout-trunk:9] GotoIf("PJSIP/202-00000011", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("PJSIP/202-00000011", "DIAL_TRUNK_OPTIONS=Tt") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("PJSIP/202-00000011", "outbound-callerid,2") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("PJSIP/202-00000011", "0?Set(CALLERPRES(name-pres)=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("PJSIP/202-00000011", "0?Set(CALLERPRES(num-pres)=)") in new stack
-- Executing [s@macro-outbound-callerid:3] ExecIf("PJSIP/202-00000011", "0?Set(REALCALLERIDNUM=202)") in new stack
-- Executing [s@macro-outbound-callerid:4] GotoIf("PJSIP/202-00000011", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,7)
-- Executing [s@macro-outbound-callerid:7] Set("PJSIP/202-00000011", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("PJSIP/202-00000011", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:9] Set("PJSIP/202-00000011", "TRUNKOUTCID=<4232440>") in new stack
-- Executing [s@macro-outbound-callerid:10] GotoIf("PJSIP/202-00000011", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,15)
-- Executing [s@macro-outbound-callerid:15] ExecIf("PJSIP/202-00000011", "1?Set(CALLERID(all)=<4232440>)") in new stack
-- Executing [s@macro-outbound-callerid:16] ExecIf("PJSIP/202-00000011", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:17] ExecIf("PJSIP/202-00000011", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:18] ExecIf("PJSIP/202-00000011", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:19] ExecIf("PJSIP/202-00000011", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:20] Set("PJSIP/202-00000011", "CDR(outbound_cnum)=4232440") in new stack
-- Executing [s@macro-outbound-callerid:21] Set("PJSIP/202-00000011", "CDR(outbound_cnam)=") in new stack
[2015-11-23 17:15:58] WARNING[2030]: func_cdr.c:352 cdr_write_callback: CDR requires a value (CDR(variable)=value)
-- Executing [s@macro-dialout-trunk:12] GosubIf("PJSIP/202-00000011", "0?sub-flp-2,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("PJSIP/202-00000011", "OUTNUM=01732485385") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("PJSIP/202-00000011", "custom=SIP/berofixtrunk") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("PJSIP/202-00000011", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
-- Executing [s@macro-dialout-trunk:16] ExecIf("PJSIP/202-00000011", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:17] Macro("PJSIP/202-00000011", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("PJSIP/202-00000011", "") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("PJSIP/202-00000011", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:19] ExecIf("PJSIP/202-00000011", "1?Set(CONNECTEDLINE(num,i)=01732485385)") in new stack
-- Executing [s@macro-dialout-trunk:20] ExecIf("PJSIP/202-00000011", "1?Set(CONNECTEDLINE(name,i)=CID:4232440)") in new stack
-- Executing [s@macro-dialout-trunk:21] ExecIf("PJSIP/202-00000011", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)4232440)") in new stack
-- Executing [s@macro-dialout-trunk:22] GotoIf("PJSIP/202-00000011", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:23] Dial("PJSIP/202-00000011", "SIP/berofixtrunk/01732485385,300,Tt") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
Audio is at 10128
Adding codec alaw to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (NAT) to 192.168.10.49:5060:
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.10.40:5061;branch=z9hG4bK15469e7a;rport
Max-Forwards: 70
From: <sip:[email protected]:5061>;tag=as45917ca0
To: <sip:[email protected]>
Contact: <sip:[email protected]:5061>
Call-ID: [email protected]:5061
CSeq: 102 INVITE
User-Agent: FPBX-13.0.11(13.5.0)
Date: Mon, 23 Nov 2015 16:15:58 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 251
v=0
o=root 221954213 221954213 IN IP4 192.168.10.40
s=Asterisk PBX 13.5.0
c=IN IP4 192.168.10.40
t=0 0
m=audio 10128 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv
---
-- Called SIP/berofixtrunk/01732485385
Retransmitting #1 (NAT) to 192.168.10.49:5060:
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.10.40:5061;branch=z9hG4bK15469e7a;rport
Max-Forwards: 70
From: <sip:[email protected]:5061>;tag=as45917ca0
To: <sip:[email protected]>
Contact: <sip:[email protected]:5061>
Call-ID: [email protected]:5061
CSeq: 102 INVITE
User-Agent: FPBX-13.0.11(13.5.0)
Date: Mon, 23 Nov 2015 16:15:58 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 251
v=0
o=root 221954213 221954213 IN IP4 192.168.10.40
s=Asterisk PBX 13.5.0
c=IN IP4 192.168.10.40
t=0 0
m=audio 10128 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv
---
Retransmitting #2 (NAT) to 192.168.10.49:5060:
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.10.40:5061;branch=z9hG4bK15469e7a;rport
Max-Forwards: 70
From: <sip:[email protected]:5061>;tag=as45917ca0
To: <sip:[email protected]>
Contact: <sip:[email protected]:5061>
Call-ID: [email protected]:5061
CSeq: 102 INVITE
User-Agent: FPBX-13.0.11(13.5.0)
Date: Mon, 23 Nov 2015 16:15:58 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 251
v=0
o=root 221954213 221954213 IN IP4 192.168.10.40
s=Asterisk PBX 13.5.0
c=IN IP4 192.168.10.40
t=0 0
m=audio 10128 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv
---
Retransmitting #3 (NAT) to 192.168.10.49:5060:
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.10.40:5061;branch=z9hG4bK15469e7a;rport
Max-Forwards: 70
From: <sip:[email protected]:5061>;tag=as45917ca0
To: <sip:[email protected]>
Contact: <sip:[email protected]:5061>
Call-ID: [email protected]:5061
CSeq: 102 INVITE
User-Agent: FPBX-13.0.11(13.5.0)
Date: Mon, 23 Nov 2015 16:15:58 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 251
v=0
o=root 221954213 221954213 IN IP4 192.168.10.40
s=Asterisk PBX 13.5.0
c=IN IP4 192.168.10.40
t=0 0
m=audio 10128 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv
---
Retransmitting #4 (NAT) to 192.168.10.49:5060:
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.10.40:5061;branch=z9hG4bK15469e7a;rport
Max-Forwards: 70
From: <sip:[email protected]:5061>;tag=as45917ca0
To: <sip:[email protected]>
Contact: <sip:[email protected]:5061>
Call-ID: [email protected]:5061
CSeq: 102 INVITE
User-Agent: FPBX-13.0.11(13.5.0)
Date: Mon, 23 Nov 2015 16:15:58 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 251
v=0
o=root 221954213 221954213 IN IP4 192.168.10.40
s=Asterisk PBX 13.5.0
c=IN IP4 192.168.10.40
t=0 0
m=audio 10128 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv
---
Retransmitting #5 (NAT) to 192.168.10.49:5060:
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.10.40:5061;branch=z9hG4bK15469e7a;rport
Max-Forwards: 70
From: <sip:[email protected]:5061>;tag=as45917ca0
To: <sip:[email protected]>
Contact: <sip:[email protected]:5061>
Call-ID: [email protected]:5061
CSeq: 102 INVITE
User-Agent: FPBX-13.0.11(13.5.0)
Date: Mon, 23 Nov 2015 16:15:58 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 251
v=0
o=root 221954213 221954213 IN IP4 192.168.10.40
s=Asterisk PBX 13.5.0
c=IN IP4 192.168.10.40
t=0 0
m=audio 10128 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv
---
Scheduling destruction of SIP dialog '[email protected]:5061' in 32000 ms (Method: INVITE)
== Spawn extension (macro-dialout-trunk, s, 23) exited non-zero on 'PJSIP/202-00000011' in macro 'dialout-trunk'
== Spawn extension (from-internal, 001732485385, 6) exited non-zero on 'PJSIP/202-00000011'
-- Executing [h@from-internal:1] Hangup("PJSIP/202-00000011", "") in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/202-00000011'
Retransmitting