Hello, I’m having trouble with my CDR’s not populating the destchannel field under Asterisk 22.6.0
pbxdev*CLI> cdr show status
Call Detail Record (CDR) settings
----------------------------------
Logging: Enabled
Mode: Simple
Log calls by default: Yes
Log unanswered calls: Yes
Log congestion: Yes
Ignore bridging changes: Yes
Ignore dial state changes: Yes
Cancel disposition enabled: No
* Registered Backends
Adaptive ODBC
cdr-custom
pbxdev*CLI> cdr show active
Channels with Call Detail Record (CDR) Information
--------------------------------------------------
Channel Dst. Channel LastApp Start Answer End Billsec Duration
PJSIP/7124salesdemo-00000 Dial 11:01:30 11:01:34 11:01:53 00000019 00000023
pbxdev*CLI> core show channels
Channel Location State Application(Data)
PJSIP/7124salesdemo-00000063 5205457285@sub-dialout:14 Up Dial(PJSIP/5205457285@trunksip
PJSIP/trunksip1a-00000064 (None) Up AppDial((Outgoing Line))
2 active channels
1 active call
68 calls processed
pbxdev*CLI> core show channel PJSIP/trunksip1a-00000064
– General –
Name: PJSIP/trunksip1a-00000064
Type: PJSIP
UniqueID: pbxZ-1770746490.170
LinkedID: pbxZ-1770746490.169
Caller ID: 5205457285
Caller ID Name: (N/A)
Connected Line ID: 5208389400
Connected Line ID Name: John Kiniston
Eff. Connected Line ID: 5208389400
Eff. Connected Line ID Name: John Kiniston
DNID Digits: (N/A)
Language: en
State: Up (6)
NativeFormats: (ulaw)
WriteFormat: ulaw
ReadFormat: ulaw
WriteTranscode: No
ReadTranscode: No
Time to Hangup: 0
Elapsed Time: 0h1m3s
Bridge ID: d2c32afc-c030-4cf2-8ca7-1bdfcf8c9ccc
– PBX –
Context: sip-in
Extension:
Priority: 1
Call Group: 0
Pickup Group: 0
Application: AppDial
Data: (Outgoing Line)
Call Identifier: [C-00000044]
Variables:
BRIDGEPVTCALLID=1354960966-48405-32@BJC.BGI.II.CBD
BRIDGEPEER=PJSIP/7124salesdemo-00000063
GOSUB_RETVAL=
DIALEDPEERNUMBER=5205457285@trunksip1a
DYNAMIC_FEATURES=recordin#stoprecord
911callerid=5205450339
CustGroup=salesdemo
CDR Variables:
level 1: clid=“” <5205457285>
level 1: src=5205457285
level 1: dcontext=sip-in
level 1: channel=PJSIP/trunksip1a-00000064
level 1: lastapp=AppDial
level 1: lastdata=(Outgoing Line)
level 1: start=1770746490.336929
level 1: answer=1770746494.583967
level 1: end=0.000000
level 1: duration=63
level 1: billsec=59
level 1: disposition=1
level 1: amaflags=3
level 1: accountcode=salesdemo-100-7124
level 1: uniqueid=pbxZ-1770746490.170
level 1: linkedid=pbxZ-1770746490.169
level 1: sequence=100
– Streams –
Name: audio-0
Type: audio
State: sendrecv
Group: -1
Formats: (ulaw)
Metadata:
pbxdev*CLI> core show channel PJSIP/7124salesdemo-00000063
– General –
Name: PJSIP/7124salesdemo-00000063
Type: PJSIP
UniqueID: pbxZ-1770746490.169
LinkedID: pbxZ-1770746490.169
TenantID: salesdemo
Caller ID: 5208389400
Caller ID Name: John Kiniston
Connected Line ID: 5205457285
Connected Line ID Name: (N/A)
Eff. Connected Line ID: 5205457285
Eff. Connected Line ID Name: (N/A)
DNID Digits: 5205457285
Language: en
State: Up (6)
NativeFormats: (ulaw)
WriteFormat: ulaw
ReadFormat: ulaw
WriteTranscode: No
ReadTranscode: No
Time to Hangup: 1770782490
Elapsed Time: 0h1m12s
Bridge ID: d2c32afc-c030-4cf2-8ca7-1bdfcf8c9ccc
– PBX –
Context: sub-dialout
Extension: 5205457285
Priority: 14
Call Group: 0
Pickup Group: 0
Application: Dial
Data: PJSIP/5205457285@trunksip1a,300,TKWb(addheader^1(5205450339^1^^0))
Call Identifier: [C-00000044]
Variables:
BRIDGEPVTCALLID=8cb6f4af-d2bb-41e0-9bb1-5b4fd3220987
BRIDGEPEER=PJSIP/trunksip1a-00000064
DIALEDPEERNUMBER=5205457285@trunksip1a
DIALEDPEERNAME=PJSIP/trunksip1a-00000064
DIALSTATUS=ANSWER
PROGRESSTIME_MS=2157
PROGRESSTIME=2
RINGTIME_MS=
RINGTIME=
DIALEDTIME_MS=
DIALEDTIME=
ANSWEREDTIME_MS=
ANSWEREDTIME=
DIALOPS=TKW
ARGC=0
INTRA_LCA=1
DESTRC=TUCSON
SRCRC=TUCSON
PARKINGDYNCONTEXT=salesdemo-parking
PARKINGDYNPOS=7801-7809
PARKINGDYNEXTEN=7800
PARKINGDYNAMIC=parkinglot_template
nooutboundcid=0
DYNAMIC_FEATURES=recordin#stoprecord
911callerid=5205450339
CustGroup=salesdemo
CDR Variables:
level 1: firstextension=5205457285
level 1: dnid=5205457285
level 1: clid=“John Kiniston” <5208389400>
level 1: src=5208389400
level 1: dst=5205457285
level 1: dcontext=sub-dialout
level 1: channel=PJSIP/7124salesdemo-00000063
level 1: lastapp=Dial
level 1: lastdata=PJSIP/5205457285@trunksip1a,300,TKWb(addheader^1(5205450339^1^^0))
level 1: start=1770746490.325364
level 1: answer=1770746494.584215
level 1: end=0.000000
level 1: duration=72
level 1: billsec=67
level 1: disposition=8
level 1: amaflags=2
level 1: accountcode=salesdemo-100-7124
level 1: uniqueid=pbxZ-1770746490.169
level 1: linkedid=pbxZ-1770746490.169
level 1: tenantid=salesdemo
level 1: sequence=99
– Streams –
Name: audio-0
Type: audio
State: sendrecv
Group: -1
Formats: (ulaw|g722)
Metadata: