C Comma-Delimited Local Files for Diameter Rf Accounting

Local File Format

This section contains an example table that shows where, in locally-generated CSV files, specific VSAs may appear. The example table is for an Interim CDR to a successful call. The user can produce the formats of local CDRs based on their configuration using the dump_csv_format command, documented in the Configuring Accounting chapter.

For more information about this feature and how to enable it, refer to the Local CDR Storage and FTP Push section in this guideā€™s Configuring Accounting chapter. Note that the Acme-CDR-Sequence-Number, Vendor ID 59, appears in local CDR files when both file-output is enabled and an account server is configured.

Interim Record on Successful Call CSV Order

The following ordered list of attributes is an example of a CSV when you have configured for output-inclusive.

cdr-output-inclusive enabled
CSV Placement Attribute Name RADIUS ID Vendor ID
1 Acct-Status-Type N/A N/A
2 NAS-IP-Address N/A N/A
3 NAS-Port N/A N/A
4 Acct-Session-Id N/A N/A
5 Acme-Session-Ingress-CallId 3 N/A
6 Acme-Session--Egress-CallId 4 N/A
7 Acme-Session-Protocol-Type 43 N/A
8 Acme-Session-Forked-Call-Id N/A N/A
9 Acme-Session--Generic-Id N/A N/A
10 Calling-Station-Id N/A N/A
11 Called-Station-Id N/A N/A
12 h323-setup-time 26 N/A
13 h323-connect-time 26 N/A
14 Acme-Egress-Network-Interface-Id 26 139
15 Acme-Egress-Vlan-Tag-Value 26 140
16 Acme-Ingress-Network-Interface-Id 26 137
17 Acme-Ingress-Vlan-Tag-Value 26 138
18 Acme-Session-Egress-Realm 26 42
19 Acme-Session-Ingress-Realm 26 41
20 Acme-FlowId_FS1_F 26 1
21 Acme-FlowType_FS1_F 26 2
22 Acme-Flow-In-Realm_FS1_F 26 10
23 Acme-Flow-In-Src-Addr_FS1_F 26 11
24 Acme-Flow-In-Src-Port_FS1_F 26 12
25 Acme-Flow-In-Dst-Addr_FS1_F 26 13
26 Acme-Flow-In-Dst-Port_FS1_F 26 14
27 Acme-Flow-Out-Realm_FS1_F 26 20
28 Acme-Flow-Out-Src-Addr_FS1_F 26 21
29 Acme-Flow-Out-Src-Port_FS1_F 26 22
30 Acme-Flow-Out-Dst-Addr_FS1_F 26 23
31 Acme-Flow-Out-Dst-Port_FS1_F 26 24
32 Acme-Calling-RTCP-Packets-Lost_FS1 26 32
33 Acme-Calling-RTCP-Avg-Jitter_FS1 26 33
34 Acme-Calling-RTCP-Avg-Latency_FS1 26 34
35 Acme-Calling-RTCP-MaxJitter_FS1 26 35
36 Acme-Calling-RTCP-MaxLatency_FS1 26 36
37 Acme-Calling-RTP-Packets-Lost_FS1 26 37
38 Acme-Calling-RTP-Avg-Jitter_FS1 26 38
39 Acme-Calling-RTP-MaxJitter_FS1 26 39
40 Acme-Calling-Octets_FS1 26 28
41 Acme-Calling-Packets_FS1 26 29
42 Acme-Calling-R-Factor 26 151
43 Acme-Calling-MOS 26 152
44 Acme-FlowID_FS1_R 26 78
45 Acme-FlowType_FS1_R 26 79
46 Acme-Flow-In-Realm_FS1_R 26 80
47 Acme-Flow-In-Src-Addr_FS1_R 26 81
48 Acme-Flow-In-Src-Port_FS1_R 26 82
49 Acme-Flow-In-Dst-Addr_FS1_R 26 83
50 Acme-Flow-In-Dst-Port_FS1_R 26 84
51 Acme-Flow-Out-Realm_FS1_R 26 85
52 Acme-Flow-Out-Src-Addr_FS1_R 26 86
53 Acme-Flow-Out-Src-Port_FS1_R 26 87
54 Acme-Flow-Out-Dst-Addr_FS1_R 26 88
55 Acme-Flow-Out-Dst-Port_FS1_R 26 89
56 Acme-Called-RTCP-Packets-Lost_FS1 26 46
57 Acme-Called-RTCP-Avg-Jitter_FS1 26 47
58 Acme-Called-RTCP-Avg-Latency_FS1 26 48
59 Acme-Called-RTCP-MaxJitter_FS1 26 49
60 Acme-Called-RTCP-MaxLatency_FS1 26 50
61 Acme-Called-RTP-Packets-Lost_FS1 26 51
62 Acme-Called-RTP-Avg-Jitter_FS1 26 52
63 Acme-Called-RTP-MaxJitter_FS1 26 53
64 Acme-Called-Octets_FS1 26 44
65 Acme-Called-Packets_FS1 26 45
66 Acme-Called-R-Factor 26 153
67 Acme-Called-MOS 26 154
68 Acme-FlowID_FS2_F 26 90
69 Acme-FlowType_FS2_F 26 91
70 Acme-Flow-In-Realm_FS2_F 26 92
71 Acme-Flow-In-Src-Addr_FS2_F 26 93
72 Acme-Flow-In-Src-Port_FS2_F 26 94
73 Acme-Flow-In-Dst-Addr_FS2_F 26 95
74 Acme-Flow-In-Dst-Port_FS2_F 26 96
75 Acme-Flow-Out-Realm_FS2_F 26 97
76 Acme-Flow-Out-Src-Addr_FS2_F 26 98
77 Acme-Flow-Out-Src-Port_FS2_F 26 99
78 Acme-Flow-Out-Dst-Addr_FS2_F 26 100
79 Acme-Flow-Out-Dst-Port_FS2_F 26 101
80 Acme-Calling-RTCP-Packets-Lost_FS2 26 104
81 Acme-Calling-RTCP-Avg-Jitter_FS2 26 105
82 Acme-Calling-RTCP-Avg-Latency_FS2 26 106
83 Acme-Calling-RTCP-MaxJitter_FS2 26 107
84 Acme-Calling-RTCP-MaxLatency_FS2 26 108
85 Acme-Calling-RTP-Packets-Lost_FS2 26 109
86 Acme-Calling-RTP-Avg-Jitter_FS2 26 110
87 Acme-Calling-RTP-MaxJitter_FS2 26 111
88 Acme-Calling-Octets_FS2 26 102
89 Acme-Calling-Packets_FS2 26 103
90 Acme-FlowID_FS2_R 26 112
91 Acme-FlowType_FS2_R 26 113
92 Acme-Flow-In-Realm_FS2_R 26 114
93 Acme-Flow-In-Src-Addr_FS2_R 26 115
94 Acme-Flow-In-Src-Port_FS2_R 26 116
95 Acme-Flow-In-Dst-Addr_FS2_R 26 117
96 Acme-Flow-In-Dst-Port_FS2_R 26 118
97 Acme-Flow-Out-Realm_FS2_R 26 119
98 Acme-Flow-Out-Src-Addr_FS2_R 26 120
99 Acme-Flow-Out-Src-Port_FS2_R 26 121
100 Acme-Flow-Out-Dst-Addr_FS2_R 26 122
101 Acme-Flow-Out-Dst-Port_FS2_R 26 123
102 Acme-Called-RTCP-Packets-Lost_FS2 26 126
103 Acme-Called--RTCP-Avg-Jitter_FS2 26 127
104 Acme-Called--RTCP-Avg-Latency_FS2 26 128
105 Acme-Called--RTCP-MaxJitter_FS2 26 129
106 Acme-Called-RTCP-MaxLatency_FS2 26 130
107 Acme-Called-RTP-Packets-Lost_FS2 26 131
108 Acme-Called-RTP-Avg-Jitter_FS2 26 132
109 Acme-Called-RTP-MaxJitter_FS2 26 133
110 Acme-Called-Octets_FS2 26 124
111 Acme-Called-Packets_FS2 26 125
112 Acme-Session-Charging-Vector 26 N/A
113 Acme-Session-Charging-Function_Address 26 N/A
114 Acme-Firmware-Version 26 56
115 Acme-Local-Time-Zone 26 57
116 Acme-Post-Dial-Delay 26 58
117 Acme-Primary-Routing-Number 26 64
118 Acme-Originating-Trunk-Group 26 N/A
119 Acme-Terminating-Trunk-Group 26 N/A
120 Acme-Originating-Trunk-Context 26 N/A
121 Acme-Terminating-Trunk-Context 26 N/A
122 Acme-P-Asserted-ID 26 N/A
123 Acme-Ingress-Local-Addr 26 74
124 Acme-Ingress-Remote-Addr 26 75
125 Acme-Egress-Local-Addr 26 76
126 Acme-Egress-Remote-Addr 26 77
127 Acme-SIP-Diversion 46 63
128 Acme-Intermediate_Time 26 N/A
129 Acct-Session-Time 26 N/A
130 Acme-Egress-Final-Routing-Number 26 N/A
131 Acme-Session-Ingress-RPH 26 N/A
132 Acme-Session-Egress-RPH 26 N/A
133 Acme-Custom-VSA-200 N/A 200
134 Acme-Custom-VSA-201 N/A 201
135 Acme-Custom-VSA-202 N/A 202
136 Acme-Custom-VSA-203 N/A 203
137 Acme-Custom-VSA-204 N/A 204
138 Acme-Custom-VSA-205 N/A 205
139 Acme-Custom-VSA-206 N/A 206
140 Acme-Custom-VSA-207 N/A 207
141 Acme-Custom-VSA-208 N/A 208
142 Acme-Custom-VSA-209 N/A 209
143 Acme-Custom-VSA-210 N/A 219
144 Acme-Custom-VSA-211 N/A 211
145 Acme-Custom-VSA-212 N/A 212
146 Acme-Custom-VSA-213 N/A 213
147 Acme-Custom-VSA-214 N/A 214
148 Acme-Custom-VSA-215 N/A 215
149 Acme-Custom-VSA-216 N/A 216
150 Acme-Custom-VSA-217 N/A 217
151 Acme-Custom-VSA-218 N/A 218
152 Acme-Custom-VSA-219 N/A 219
153 Acme-Custom-VSA-220 N/A 220
154 Acme-Custom-VSA-221 N/A 221
155 Acme-Custom-VSA-222 N/A 222
156 Acme-Custom-VSA-223 N/A 223
157 Acme-Custom-VSA-224 N/A 224
158 Acme-Custom-VSA-225 N/A 225
159 Acme-Custom-VSA-226 N/A 226
160 Acme-Custom-VSA-227 N/A 227
161 Acme-Custom-VSA-228 N/A 228
162 Acme-Custom-VSA-229 N/A 229
163 Acme-Custom-VSA-230 N/A 230
164 Acme-Flow-Calling-Media-Stop-Time_FS1 N/A 231
165 Acme-Flow-Called-Media-Stop-Time_FS1 N/A 232
166 Acme-Flow-Calling-Media-Stop-Time_FS2 N/A 233
167 Acme-Flow-Called-Media-Stop-Time_FS2 (234) N/A 234
168 PGW-IP Address N/A 249
169 SGW-IP Address N/A 249
170 ORIG-IOI N/A 249
171 TERM-IOI N/A 249
172 IMEI N/A 249
173 Node Functionality N/A 249
174 History Info N/A 250
175 P-Visited Network ID N/A 251
176 IMSI N/A 252
177 Acme-CDR-Sequence-Number N/A N/A

SMS Event CSV Order

The OCSBC creates an Event CSV file for SMS messages when the generate-event = message parameter is enabled. The following table shows the inclusive CSV element order, when protocol = diameter.

CSV placement is similar to other event CDRs, but includes message specific attributes.

CSV Placement Attribute Name Other Info
CSV Placement Attribute Name N/A
1 "Accounting Status" N/A
2 "NAS IP Address" N/A
3 "NAS Port" N/A
4 "Accounting Session ID" N/A
5 "Ingress Session ID" ACME
6 "Egress Session ID" ACME
7 "Session Protocol Type" ACME
8 "Session-Forked-Call-Id" ACME
9 "Generic ID" ACME
10 "Calling Station ID" N/A
11 "Called Station ID" N/A
12 "Egress Network Interface ID " ACME
13 "Egress Vlan Tag Value " ACME
14 "Ingress Network Interface ID " ACME
15 "Ingress Vlan Tag Value " ACME
16 "Cisco Setup Time" CISCO
17 "Cisco Connect Time" CISCO
18 "Diam-Session-Id" ACME
19 "Sip-Method" ACME
20 "Event-Time" ACME
21 "Content-Disposition" ACME
22 "Originator" ACME
23 "Subscription-ID-Data" ACME
24 "Subscription-ID-Type" ACME
25 "Service-Context-ID" ACME
26 "Called-Asserted-Identity" ACME
27 "User-Name" ACME
28 "Node-Func" ACME
29 "ApplicationId" ACME
30 "Role-Of-Node" ACME
31 "SIP-Request-Timestamp" ACME
32 "SIP-Request-Timestamp-Fraction" ACME
33 "SIP-Response-Timestamp" ACME
34 "SIP-Response-Timestamp-Fraction" ACME
35 "Access-Network-Information" ACME
36 "Event" ACME
37 "Expires" ACME
38 "Associated-URI" ACME
39 "Cause-Code" ACME
40 "Custom VSA 200" ACME
41 "Custom VSA 201" ACME
42 "Custom VSA 202" ACME
43 "Custom VSA 203" ACME
44 "Custom VSA 204" ACME
45 "Custom VSA 205" ACME
46 "Custom VSA 206" ACME
47 "Custom VSA 207" ACME
48 "Custom VSA 208" ACME
49 "Custom VSA 209" ACME
50 "Custom VSA 210" ACME
51 "Custom VSA 211" ACME
52 "Custom VSA 212" ACME
53 "Custom VSA 213" ACME
54 "Custom VSA 214" ACME
55 "Custom VSA 215" ACME
56 "Custom VSA 216" ACME
57 "Custom VSA 217" ACME
58 "Custom VSA 218" ACME
59 "Custom VSA 219" ACME
60 "Custom VSA 220" ACME
61 "Custom VSA 221" ACME
62 "Custom VSA 222" ACME
63 "Custom VSA 223" ACME
64 "Custom VSA 224" ACME
65 "Custom VSA 225" ACME
66 "Custom VSA 226" ACME
67 "Custom VSA 227" ACME
68 "Custom VSA 228" ACME
69 "Custom VSA 229" ACME
70 "Custom VSA 230" ACME
71 "PGW-IP Address" ACME
72 "SGW-IP Address" ACME
73 "ORIG-IOI" ACME
74 "TERM-IOI" ACME
75 "IMEI" ACME
76 "Node Functionality" ACME
77 "Sms-Msg-Type" ACME
78 "Sms-Calling-Party-Number" ACME
79 "Sms-Called-Party-Number" ACME
80 "Sms-Msg-length" ACME
81 "P-Visited Network ID" ACME
82 "IMSI" ACME
83 "CDR Sequence Number " ACME
84 "Origin-Realm" ACME
85 "Origin-Host" ACME
86 "Destination-Realm" ACME
87 "Destination-Host" ACME