Scope:

This document details the different fields in an Advanced (recommended) format CDR and their descriptions.

Fields and Descriptions

FieldDescription
Call TypeThis field will either be “origination”, “termination”, or "missed". Origination and Missed will be inbound calls to the NetSapiens system. termination will be in calls placed from a NetSapiens user to an offnet number.
DomainThis will be the domain on the NetSapiens system that the call should be billed to.
User
This will be the user on the NetSapiens system that the call should be billed to. It can be string lengths ranging from 2 to 10 digits in length based on how the domain is setup.
BTN
This field corresponds to the user and domain that should be charged. It is a best effort to get a 10 digit billable number
Time Start
This is the start time for the call. Will be in GMT timezone. in the format YYYY­MM­DD HH:MM:SS. Will not be null.
Time Answer
This is the time of the answer of the call. Will be in GMT timezone. in the format YYYY­MM­DD HH:MM:SS. May be null on an unanswered call.
DurationThe length of the call in seconds.
Remote Number
This field varies based on Type. In an origination case it will hold the ANI of the caller. In a termination type it will be the full connected number. In most cases will be 10­-11 digits.
Dialed Number This is the dialed number for the call. May be 2-­10 digits in length.
CallIdThis is the NetSapiens Call­Id for this call.
Orig IPThis is the IP of the Origination (receiving) side of the call.
Term IPThis is the IP of the Termination (sending) side of the call.
Release Cause
This will hold the NetSapiens Release code. May contain a error or a clean release code.

Example: Origination (Inbound)

FieldExample
Call TypeOrigination
Domainniftywidgets
User
1000
BTN
2223334444
Time Start
2014­02­15 23:22:10
Time Answer2014­02­15 23:22:17
Duration
25
Remote Number
5556667777
Dialed number
2223334444
CallID
20140215232--f6779bbfd2bc4
Orig IP
162.217.10.21
Term IP
1.1.1.1
Release Cause
Orig: Bye

Example: Termination (Outbound)

FieldExample
Call TypeTermination
Domainniftywidgets
User1000
BTN222333444
Time Start
2014­02­15 23:22:10
Time Answer
2014­02­15 23:22:17
Duration25
Remote Number5556667777
Dialed Number5556667777
CallID
20140215232-­f6779bb44wg7
Orig IP1.1.1.1
Term IP162.217.10.21
Release Cause
Term: Bye