Smartswitch
Data Members | List of all members
Smartswitch::Telephony::Cdr Struct Reference

The struct defines the Call Detail Record for one call leg. More...

defined in <Cdr.ice>

struct Cdr { ... }

Data Members

int answeredSeconds
 The rounded duration of a call in seconds from answerTime to endTime. More...
 
string answerTime
 The time a call was answered on Smartswitch. More...
 
CdrBillingOpt billing
 If billing is available for this call, the array contains 1 element with it. More...
 
string calleeId
 B-number of a call. More...
 
string callerId
 A-number of a call. More...
 
Direction direction
 The Direction of a call from the POV of Smartswitch. More...
 
string endTime
 The time a call ended on Smartswitch. More...
 
string hangupCause
 Human-readable Q.850/Q.931 hangup reason. More...
 
long peerId
 An ID of a Peer to which this call leg is assigned. More...
 
Peer::PeerType peerType
 A type of a Peer to which this call leg is assigned. More...
 
string startTime
 The time a call appeared on Smartswitch. More...
 
string technology
 The technology of a call, for example SIP. More...
 
int totalSeconds
 The rounded duration of a call in seconds from startTime to endTime. More...
 

Detailed Description

The struct defines the Call Detail Record for one call leg.

Data Member Documentation

◆ answeredSeconds

int answeredSeconds

The rounded duration of a call in seconds from answerTime to endTime.

◆ answerTime

string answerTime

The time a call was answered on Smartswitch.

◆ billing

CdrBillingOpt billing

If billing is available for this call, the array contains 1 element with it.

The array is empty otherwise.

◆ calleeId

string calleeId

B-number of a call.

◆ callerId

string callerId

A-number of a call.

◆ direction

Direction direction

The Direction of a call from the POV of Smartswitch.

◆ endTime

string endTime

The time a call ended on Smartswitch.

◆ hangupCause

string hangupCause

Human-readable Q.850/Q.931 hangup reason.

◆ peerId

long peerId

An ID of a Peer to which this call leg is assigned.

◆ peerType

Peer::PeerType peerType

A type of a Peer to which this call leg is assigned.

◆ startTime

string startTime

The time a call appeared on Smartswitch.

◆ technology

string technology

The technology of a call, for example SIP.

◆ totalSeconds

int totalSeconds

The rounded duration of a call in seconds from startTime to endTime.


The documentation for this struct was generated from the following file: