CDR and CAM Configuration
The SIP Soft Switch creates a Call Detail Record (CDR) for every call Ivanti Voice generates or receives and can use HTTP to send CDR data to third party billing systems like Call Accounting Mate (CAM). Ivanti Voice stores CDRs in comma separated value (CSV) format files in the C:\Program Files\Ivanti, Inc.\IP Communications Management\Cdr directory. The default name for the CSV file is cdr.csv.
Each CDR contains the following fields:
•Time - The date and time the call began.
•ANI (Automatic Number Identification) - The ID of the caller, also known as the “calling number.”
•DNIS (Dialed Number Identification Service) - The original number the caller dialed.
•Origination Number - The actual number from which the call originated. This can be different from the ANI for calls originating behind a PBX, as the ANI of such calls may be a main switchboard number instead of the actual calling extension.
•Destination Number - The number to which the call is actually connected. This can be different from the DNIS if the prefix of the originally dialed number was modified, or if the call was forwarded to a different number.
•Calling Trunk - The trunk or gateway that received the inbound call. This field is blank for calls originating internally. The value for this field is taken from the SIP Soft Switch configuration.
•Called Trunk - The trunk or gateway to which the call was sent. This field is blank if the call destination is internal.
•Total Time - The total duration of the call, starting from when Ivanti Voice detected the origination attempt and ending when the caller hung up or was disconnected.
•Connected Time - The time the call spent in the connected state (i.e., the total time minus the time the call was ringing).
•Disposition - The result of the call attempt, which contains the last received SIP response code for the initial INVITE. The codes are:
•100 or 180 = Abandoned calls
•200 = Answered calls
•486 = Destination busy
•Other 4xx - 6xx codes = Other failure reasons defined in SIP standards (this field is empty if the call attempt did not receive a response)
•Call ID - The unique ID of the call. Ivanti Voice constructs this ID using the SIP Call ID with local and remote tags.
Note the following:
•The billable point for a SIP call begins as soon as the SIP call connects.
•Ivanti Voice treats early media as a call in the ringing state and not as connected time (early media is a message such as all circuits busy that a caller might hear before a call connects to its destination, and before the billable event).
•CDRs do not show hold and retrieve operations. Ivanti Voice counts the time a call spends on hold as connected time.
•Ivanti Voice records each single step blind transfer as two separate calls. For example, if user A calls user B and user B blind transfers the call to user C, Ivanti Voice creates two CDRs: one CDR for the call from A to B, and another CDR for the call from A to C.
•Ivanti Voice records each consult transfer as three calls. For example, if user A calls user B and user B consult transfers the call to user C, Ivanti Voice creates three CDRs: one for the call from A to B, a second for the call from B to C, and a third for the call from A to C.
•Ivanti Voice records each 3-way conference call as two calls. For example, if user A calls user B and user B conferences user C into the call, Ivanti Voice creates two CDRs: one for the call from A to B and a second for the call from B to C. The CDRs do not differentiate if a call was part of a conference call between the parties, or if it was a consultation call from B to C and A was waiting on hold.
To Configure the Ivanti Voice CDR Functionality:
1.On the Management Portal menu window, click System Configuration > SIP Soft Switch > Settings > CDR tab. The Call Detail Recording page opens.
2.Configure or verify settings for the following fields:
•Send CDR Event to Call Accounting Mate (CAM) - Select Enable if you want Ivanti Voice to send CDR data to CAM.
•CAM Server IP Address - The IP address of the CAM server. This field is only active if you set the Send CDR event to Call Accounting Mate (CAM) field to Enable.
•CAM Server Port - The server port of the CAM server. This field is only active if you set the Send CDR event to Call Accounting Mate (CAM) field to Enable.
•CAM Server Timeout - The number of seconds Ivanti Voice keeps the connection with the CAM server open if no activity occurs. This field is only active if you set the Send CDR event to Call Accounting Mate (CAM) field to Enable.
•Write CDR in Comma Separated File (CSV) - Select Enable if you want Ivanti Voice to write CDR data to a CSV file.
•CSV file - The name of the CSV file to which Ivanti Voice writes CDR data. The default file is Program Files\Ivanti, Inc.\IP Communications Management\Cdr\cdr.csv.
•CSV file size(Mb) - Maximum size of CDR file, after which it gets rolled over. The SIP Soft Switch will keep 11 latest CDR CSV files.
•Write CDR in SQLite local database - Enables the storing of the CDR in the sqlite3 in-file database. The file for the database has the same location and name, except the extension is .db.
3.Click the Update button to apply your changes.