I denne artikel:
I forbindelse med f.eks. webhooks, kan vi levere CDR trafik i CSV format.
Kontakt support, hvis du ønsker at få sat webhooks op.
- CallCdr – Created when a call is made through the system. A single call can create a number of CDRs with different CDR types specified to describe complex call flows.
- ImCdr – Triggered by sending Instant Messages.
- VoiceQualityCdr – Triggered by a SIP endpoint voice quality report.
- SmsCdr – Triggered by sending SMS from any SMS sending service or using the desktop application.
- RegistrationCdr – Are written to track registered SIP user agents. This is available for requirements on government data retention.
- AgentCdr – Are written to track status changes for agents of selected ACD/Attendant group.
CallCdr
Name |
Position |
Description |
M. |
Values |
---|---|---|---|---|
version |
1 |
CDR format version. A version determines column order and columns present in CDR. The current version is 9. |
x |
9 |
orgId |
2 |
Organization ID is a unique number ID in the system for the organization. |
x |
int |
customerId |
3 |
Customer ID set in the administration interface for the organization. |
|
String[64] |
startTime |
4 |
The start time of this CDR given with a millisecond resolution. |
x |
Date |
deviceIP |
5 |
The device IP address of an end-user client connecting to the system through a public IP network. The IP address will depend on what type of call CDR it is; for an OUTGOING CDR you will find the IP address of the originating device and for an INCOMING CDR you will find the IP address of device terminating the call. |
|
String[7-15] |
billingUserId |
6 |
The internal user ID of the party that is responsible for creating this CDR. E.g. when making a call between two parties A to B the billing user ID of the outgoing CDR will be A and on the incoming CDR you will find user B as the billing user ID. The user ID can be from a set of System ID:
|
|
String[64] |
billingId |
7 |
The billing ID of the call, this can be the billing ID assigned by configuration on the billing user ID of the CDR, a billing ID of a function number, the default billing ID of the organization or the screening number of an Enterprise SIP Trunk. |
|
String[64] |
completed |
8 |
Indicate if this is the last update CDR for this ongoing action. Normally the CDR is written when a call is completed but to prevent loosing charging information on ongoing calls in the event of a crash or just monitoring ongoing calls CDR events are sent on a configurable interval for ongoing calls but with the completed field set to false. The system writes completed CDR in a separate file and keep updating a rolling buffer where all CDR updates are written. All CDR events can also be configured to be written to the system CDR file, see CDR streams, processing and storage |
x |
boolean |
duration |
9 |
The duration of this call in milliseconds. |
x |
long |
type |
10 |
Type of CDR. This will indicate what relation this CDR X has to the billing user. |
x |
OUTGOING(1), INCOMING(2), DIVERSION(3), TRANSFER(4), PICKED_UP(6), CALLBACK(8), TRANSFERRED(9), PICK_UP(10), CONTINUATION(11) |
callPartiesRelation |
11 |
Organization relation between billing and the target user. |
x |
INTERNAL(0), EXTERNAL(1) |
dialString |
12 |
Original dialled string on the device. |
x |
String |
callId |
13 |
SIP Call-ID for internal call leg through BCS proxy. Is X used as a unique identifier of the CDR. The Call-ID can also be used to match CDR with SIP call legs in pcaps |
x |
String |
previousCallId |
14 |
Reference to the SIP Call-ID of the previous call in a group of calls. In move call scenarios (e.g. transfer, call pick), this references the previously moved call. |
|
String |
initialCallId |
15 |
Reference to the SIP Call-ID of the first call in a group of X calls, like transfer. |
x |
String |
billingPhoneNumber |
16 |
Personal line phone number for the billing user |
|
String[64] |
billingCostCentre |
17 |
Cost center for the billing user |
|
String[64] |
billingDepartment |
18 |
Department for the billing user |
|
String[64] |
billingRole |
19 |
The role for the billing user when involved in the call or the role selected for this call when initiating the call |
|
String[64] |
waitBeforeAnswer |
20 |
The time before the call was answered in milliseconds. |
x |
long |
result |
21 |
The call setup result indicating how the call was processed. |
x |
BLOCKED(1), ANSWERED(2), MISSED(3), USER_NOT_FOUND(4), DECLINED(5), BUSY(6), CANCELLED(7), SIP_FAILURE(8), ISDN_FAILURE(9), OTHER_FAILURE(10), INCOMPLETE(11), QUEUED(12), ANSWERED_BY_OTHER(13), DIVERTED(14), CLOSED(15),
CALLBACK_REQUESTED(16)
|
sourceUserId |
22 |
User name ID of user setting up the call. The user ID can be from a set of System ID:
|
|
String[64] |
sourcePhoneNumber |
23 |
Personal line phone number for the source user |
|
String[64] |
sourceCostCentre |
24 |
Cost center for source user. |
|
String[64] |
sourceDepartment |
25 |
Department for source user. |
|
String[64] |
sourceRole |
26 |
The role for the source user when involved in the call or the role selected for this call when initiating the call. |
|
String[64] |
sourceApType
|
27 |
The type of device used to set up the call |
|
MOBILE(0), SOFT(1), DESKTOP(2), FXS(3), EXTERNAL_PBX(4), FAX(6), VOICEMAIL(7), EXTERNAL(8), MOBILE_EXT(9), CONFERENCE(10), QUEUE(11), WEB(13), TEAMS(14) |
targetUserId |
28 |
Username ID of user receiving the call. The user ID can be from a set of System ID:
|
|
String[64] |
targetPhoneNumber |
29 |
Target phone number. This may be the personal line phone number for the target user or an external number in international format with a leading +. |
|
String[64] |
targetCostCentre |
30 |
The cost center for the target user. |
|
String[64] |
targetDepartment |
31 |
The department for the target user. |
|
String[64] |
targetRole |
32 |
The current role of the target user. |
|
String[64] |
targetApType |
33 |
The type of device used to answer the call |
|
MOBILE(0), SOFT(1), DESKTOP(2), FXS(3), EXTERNAL_PBX(4), FAX(6), VOICEMAIL(7), EXTERNAL(8), MOBILE_EXT(9), CONFERENCE(10), QUEUE(11), WEB(13),TEAMS(14) |
transferredBy |
34 |
The username of the user transferring the call. This may also be a phone number of a function number, like ACD, if the call was transferred by a queue. username can be from a set of System ID:
|
|
String[64] |
divertedBy
|
35 |
The username of the user diverting the call. This may also be a phone number of a function number, like a hunt group, if the call was forwarded by a group number. This value will only be set for INCOMING CDRs.
The username can be from a set of System ID:
|
|
String[64] |
diversionReason |
36 |
Reason for diversion or transfer. |
|
TRANSFER(1), ROUTING_RULE(2), QUEUE_TIMEOUT(3), NIGHTMODE(4), OVERFLOW(5), ACD_FALLBACK(6) |
trunk
|
37 |
Trunk identity |
|
String[64] |
trunkGroup |
38 |
Trunk group identity |
|
String[64] |
trunkCallId |
39 |
External call id used in signalling on trunk. |
|
String |
breakOutNumber |
40 |
Destination number used for trunk group matching. This may be the result of an NP lookup on the target number. |
|
String |
trunkDestinationNumber |
41 |
Number in request URI on INVITE on the trunk. This is used both for incoming and outgoing INVITEs on the trunk. |
|
String |
trunkDestinationNumberingPlan |
42 |
Numbering plan in the called party on INVITE on the trunk. This is used both for incoming and outgoing INVITEs on the trunk. |
|
|
trunkDestinationNumberingType |
43 |
Numbering type in called party on INVITE on the trunk. This is used both for incoming and outgoing INVITEs on the trunk. |
|
|
trunkDestinationTags |
44 |
Tags set on a destination when call passed trunk group. This applies to both incoming and outgoing calls. |
|
Collection |
trunkSourceNumber |
45 |
The number used as calling party on INVITE on the trunk. This is used both for incoming and outgoing INVITEs on the trunk. |
|
String |
trunkSourceNumberingPlan |
46 |
Numbering plan in calling party on INVITE on the trunk. |
|
ANY(), NONE(), UNKNOWN(0), ISDN(1), PRIVATE(9) |
trunkSourceNumberingType |
47 |
Numbering type in calling party on INVITE on trunk. |
|
ANY(), NONE(), UNKNOWN(0), INTERNATIONAL(1), NATIONAL(2), SUBSCRIBER(4), ABBREVIATED(6) |
sourcePrivacy |
48 |
The privacy of the source user, i.e. the user has requested Calling Line Identification Restriction (CLIR). |
x |
boolean |
trunkSourceTags |
49 |
Tags set on the source when call passed trunk group. This applies to both incoming and outgoing calls. |
|
Collection |
trunkRedirectingNumber |
50 |
The number used as redirecting number on INVITE on the trunk. This is used both for incoming and outgoing INVITEs on the trunk. |
|
String |
trunkRedirectingNumberingPlan |
51 |
Numbering plan in redirecting number on INVITE on the trunk.
|
|
ANY(), NONE(), UNKNOWN(0), ISDN(1), PRIVATE(9)
|
trunkRedirectingNumberingType |
52 |
Numbering type in redirecting number on INVITE on the trunk. |
|
ANY(), NONE(), UNKNOWN(0), INTERNATIONAL(1), NATIONAL(2), SUBSCRIBER(4), ABBREVIATED(6) |
trunkGroupChargingNumber |
53 |
The chosen phone number to be used as the charging number. This number is chosen depending on the charging number configuration and is matched to valid calling party ranges. |
|
String |
q850CauseCode |
54 |
Q.850 cause code received in response on outgoing call through SIP trunk. |
|
Integer[0-127] |
cancelCauseCode |
55 |
Indicating the reason for canceling the call setup. 200 is indicating the call was answered elsewhere. |
|
Integer[100-599] |
conferenceId |
56 |
Conference ID if connected to a conference. |
|
String[32] |
targetPrivacy |
57 |
The privacy of the target user, i.e. the user has requested Calling Line Identification Restriction (CLIR). This privacy originates from an A-number of a call that has been transferred or picked up. The originating CDR can be found amongst the CDRs with the same initialCallId. |
x |
boolean |
elapsedSinceLastEvent |
58 |
The duration of the event in milliseconds. The elapsed time since the last recorded event. |
|
Long |
eventSequenceNumber |
59 |
The sequence number of the event. The first recorded event of the call will have the number 1. This number can be used as a unique identifier for the event in the context of a call. |
|
Integer |
eventTimestamp |
60 |
The time when this event was generated given with a millisecond resolution. |
|
Date |
sourceOrgId |
61 |
Organization ID of the party setting up the call. |
|
Integer |
targetOrgId |
62 |
Organization ID of the party receiving the call. |
|
Integer |
transferredByOrgId |
63 |
The Organization ID of the party transferring the call. |
|
Integer |
divertedByOrgId |
64 |
The Organization ID of the party diverting the call. |
|
Integer |
trunkTrunkTags |
65 |
Trunk tags set when call breaks out. This applies only to outgoing calls. |
|
Collection |
groupCompleted |
66 |
Indicate if this is the last update CDR for this group of calls. Note: All CDRs within the group of calls have the same initialCallId. Mobile extension call legs are not considered part of the group of calls. |
x |
boolean |
enterpriseTrunkName |
67 |
The name of the enterprise sip trunk the call was received from or sent to. |
|
String |
enterpriseTrunkId |
68 |
The id of the enterprise sip trunk the call was received from or sent to. |
|
Integer |
enterpriseTrunkOrgId |
69 |
The organization id of the enterprise sip trunk the call was received from or sent to. |
|
Integer |
enterpriseTrunkSourceNumber |
70 |
The number used as the calling party in INVITE on the Enterprise SIP Trunk. |
|
String |
enterpriseTrunkDestinationNumber |
71 |
Number in request URI in INVITE on the Enterprise SIP Trunk. |
|
String |
enterpriseTrunkRedirectingNumber |
72 |
The number used as redirecting number in INVITE on the Enterprise SIP Trunk. |
|
String |
icidValue |
73 |
The icid-Value parameter of P-Charging-Vector header. |
|
String |
icidGeneratedAt |
74 |
The icid-generated-at parameter of P-Charging-Vector header. |
|
String |
initialCallbackCallId |
75 |
Reference to the SIP Call-ID of the initial call that requested this callback call. |
|
String |
locationInfo |
76 |
The location information received in P-Access-Network-Info header fields from mobile calls. |
|
Strings, commaseparated |
SmsCdr
Name |
Position |
Description |
M. |
Values |
---|---|---|---|---|
version |
1 |
CDR format version. A version determines column order and columns present in CDR. The current version is 3. |
x |
3 |
orgId |
2 |
Organization ID is a unique number ID in the system for the organization. |
x |
int |
customerId |
3 |
Customer ID set in the administration interface for the organization. |
|
String[64] |
startTime |
4 |
The start time of this CDR given with a millisecond resolution. |
x |
Date |
deviceIp |
5 |
The device IP address of an end-user client connecting to the system through a public IP network. This service accessed through the web portal or the desktop application using an HTTP based client. The address will be the remote address of the HTTP connection to the Edge Node. |
|
String[7-15] |
billingUserId |
6 |
The internal user ID of the party that has sent the SMS |
|
String[64] |
billingId |
7 |
The billing ID assigned by configuration on the billing user ID of this CDR. |
|
String[64] |
type |
8 |
Type of service sending SMS. Note: ALERT(5) is excluded when writing CDRs. |
x |
USER_SENT(0), UM_NOTIFICATION(1), MOBILE_CONFIG(2), ACD_LOGIN(3), TEST(4), ALERT(5), WIDGET_URL(6), CONFERENCE_REMINDER(7), FORGOTTEN_PASSWORD(8), ACTIVATION(9) |
fromNumber |
9 |
Originating phone number |
x |
String[64] |
toNumber |
10 |
Destination phone number |
x |
String[64] |
size |
11 |
The number of characters in SMS. |
x |
int |
ImCdr
Name |
Position |
Description |
M. |
Values |
---|---|---|---|---|
version |
1 |
CDR format version. A version determines column order and columns present in CDR. The current version is 4. |
x |
4 |
orgId |
2 |
Organization ID is a unique number ID in the system for the organization. |
x |
int |
customerId |
3 |
Customer ID set in the administration interface for the organization. |
|
String[64] |
startTime |
4 |
The start time of this CDR given with a millisecond resolution. |
x |
Date |
deviceIp |
5 |
Device IP for sending user agent. |
|
String[7-15] |
billingUserId |
6 |
The internal user ID of the party that has sent the Instant Message. |
|
String[64] |
billingId |
7 |
The billing ID assigned by configuration on the billing user ID of this CDR. |
|
String[64] |
sourceApType |
8 |
Device type for the sending participant. |
|
MOBILE(0), SOFT(1), DESKTOP(2), FXS(3), EXTERNAL_PBX(4), FAX(6), VOICEMAIL(7), EXTERNAL(8), MOBILE_EXT(9), CONFERENCE(10), QUEUE(11) |
targetApType |
9 |
Device type for receiving participant. |
|
MOBILE(0), SOFT(1), DESKTOP(2), FXS(3), EXTERNAL_PBX(4), FAX(6), VOICEMAIL(7), EXTERNAL(8), MOBILE_EXT(9), CONFERENCE(10), QUEUE(11) |
targetUserId |
10 |
Username for user receiving the Instant Message. |
|
String[64] |
targetDeviceIp |
11 |
Device IP for receiving user agent. |
|
String[7-15] |
targetOrgId |
12 |
Organization ID for the user receiving the Instant Message. |
|
Integer |
VoiceQualityCdr
Name |
Position |
Description |
M. |
Values |
---|---|---|---|---|
version |
1 |
CDR format version. A version determines column order and columns present in CDR. The current version is 1. |
x |
1 |
orgId |
2 |
Organization ID is a unique number ID in the system for the organization. |
x |
int |
customerId |
3 |
Customer ID set in the administration interface for the organization. |
|
String[64] |
billingUserId |
4 |
The internal user id of the party that is responsible for creating this CDR. |
|
String[64] |
callId |
5 |
SIP Call-ID. It is used as a unique identifier of the CDR. The Call-ID can also be used to match CDR with SIP call legs in pcaps done on the system. |
x |
String |
sourceRoundTripDelay |
6 |
Source round trip delay (ms). |
|
Integer |
targetRoundTripDelay |
7 |
Target round trip delay (ms). |
|
Integer |
sourceEndSystemDelay |
8 |
Source end system delay (ms). |
|
Integer |
startTime |
9 |
The start time of this CDR given with a millisecond resolution. |
x |
Date |
targetEndSystemDelay |
10 |
Target End System Delay (ms). |
|
Integer |
sourceSymmOneWayDelay |
11 |
Source Symm One Way Delay (ms). |
|
Integer |
targetSymmOneWayDelay |
12 |
Target Symm One Way Delay (ms). |
|
Integer |
sourceInterarrivalJitter |
13 |
Source Interarrival Jitter (ms). |
|
Integer |
targetInterarrivalJitter |
14 |
Target Interarrival Jitter (ms). |
|
Integer |
sourceMOSLQ |
15 |
Source MOSLQ. |
|
Double |
targetMOSLQ |
16 |
Target MOSLQ. |
|
Double |
sourceMOSCQ |
17 |
Source MOSCQ. |
|
Double |
targetMOSCQ |
18 |
Target MOSCQ. |
|
Double |
RegistrationCdr
Name |
Position |
Description |
M. |
Values |
---|---|---|---|---|
version |
1 |
CDR format version. A version determines column order and columns present in CDR. The current version is 3. |
x |
3 |
orgId |
2 |
Organization ID is a unique number ID in the system for the organization. |
x |
int |
customerId |
3 |
Customer ID set in the administration interface for the organization. |
|
String[64] |
startTime |
4 |
The start time of this CDR given with a millisecond resolution. |
x |
Date |
deviceIp |
5 |
The device IP address of an end-user client connecting to the system through a public IP network. The address will be the remote address of the SIP connection to the Edge Node. |
|
String[7-15] |
billingUserId |
6 |
The internal user ID of the registered user |
|
String[64] |
billingId |
7 |
The billing ID assigned by configuration on the billing user ID of this CDR. |
|
String[64] |
completed |
8 |
Indicate if this is the last update CDR for this ongoing action. |
x |
boolean |
duration |
9 |
Duration of registration in milliseconds. |
x |
long |
contact |
10 |
The SIP URI part of the registered contact. |
x |
String |
userAgentDescription |
11 |
A textual description of the registered client taken from the SIP User-Agent header. |
|
String |
AgentCdr
Name |
Position |
Description |
M. |
Values |
---|---|---|---|---|
version |
1 |
CDR format version. A version determines column order and columns present in CDR. The current version is 3. |
x |
3 |
orgId |
2 |
Organization ID is a unique number ID in the system for the organization. |
x |
int |
customerId |
3 |
Customer ID set in the administration interface for the organization. |
|
String[64] |
startTime |
4 |
The start time of this CDR given with a millisecond resolution. |
x |
Date |
previousStartTime |
5 |
The start time of the previous CDR given with a millisecond resolution. |
|
Date |
queueType |
6 |
Type of queue. |
x |
ACD(0), ATTENDANT(2) |
fnr |
7 |
The telephone number of the queue. |
x |
String |
fnrId |
8 |
The ID of the queue. |
x |
long |
userId |
9 |
The internal user ID of the agent. |
x |
String[64] |
userOrgId |
10 |
The organization ID of the agent. The agent might belong to a federated organization. |
x |
int |
loginStatus |
11 |
True if the agent is logged in to the queue. |
|
Boolean |
previousLoginStatus |
12 |
True if the agent previously was logged in to the queue. |
|
Boolean |
available |
13 |
True if the agent is available. |
|
Boolean |
previousAvailable |
14 |
True if the agent was available previously. |
|
Boolean |
presenceState |
15 |
The presence state of the agent. |
|
String |
previousPresenceState |
16 |
The previous presence state of the agent. |
|
String |
lineState |
17 |
The line state of the agent. |
|
NO_CALL(0), |
previousLineState |
18 |
The previous line state of the agent. |
|
NO_CALL(0), |
callId |
19 |
Reference to the SIP Call-ID. |
|
String |
initialCallId |
20 |
Reference to the SIP Call-ID of the first call in a group of calls, like transfer. |
|
String |
queuedCall |
21 |
True if the call is from a queue. Is only applicable if callId and initialCallId are set. |
|
Boolean |
previousQueuedCall |
22 |
True if the previous call was from a queue. Is only applicable if previousCallId and previousInitialCallId are set. |
|
Boolean |
inResting |
23 |
True if the agent is in resting state. |
|
Boolean |
previousInResting |
24 |
True if the agent previously was in resting state. |
|
Boolean |
answerPlaces |
25 |
The types of devices the agent can use to answer a call. |
|
Collection of: |
previousAnswerPlaces |
26 |
The previous types of devices the agent can use to answer a call. |
|
Collection of: |
triggerActions |
27 |
The type of event(s) that triggered the CDR to be written. |
|
Collection of: |
QueueStats
Name |
Position |
Description |
M. |
Values |
---|---|---|---|---|
version |
1 |
CDR format version. A version determines column order and columns present in CDR. The current version is 3. |
x |
3 |
orgId |
2 |
Organization ID is a unique number ID in the system for the organization. |
x |
int |
customerId |
3 |
Customer ID set in the administration interface for the organization. |
|
String[64] |
startTime |
4 |
The start time of this CDR given with a millisecond resolution. |
x |
Date |
end |
5 |
The end time of the statistics period. |
|
long |
queueType |
6 |
Type of queue. An attendant queue with ASR distribution will have type ASR. |
x |
ACD(0), ACD_LIGHT(1), ATTENDANT(2), ASR(3) |
fnr |
7 |
The tel number of the queue. |
x |
String |
averageQueueTime |
8 |
The average time a caller is in the queue. |
|
long |
averageCallDuration |
9 |
The average duration of calls distributed to an agent/attendant. |
|
long |
averageWaitBeforeLeaveTime |
10 |
The average time a caller stays in the queue before hanging up. |
|
long |
successfulCalls |
11 |
The number of successful calls. |
|
int |
failedCalls |
12 |
The number of not served calls due to queue is full or caller hanging up. |
|
int |
noAgentsFallbacks |
13 |
The number of calls that were diverted due to no agents/ attendants available. |
|
int |
overflowFallbacks |
14 |
The number of calls that were diverted due to the queue is not open (the active queue schedule based on current time diverts the call). |
|
int |
overflowFallbacks |
15 |
The number of calls diverted due to the queue is full or the maximum wait time exceeded. |
|
int |
Kommentarer
0 kommentarer
Artiklen er lukket for kommentarer.