beautypg.com

Cdr csv file, Figure 3: downloaded cdr file sample, Call to shows "s – Grandstream UCM6100 Series IP PBX Appliance CDR API Guide User Manual

Page 7

background image

UCM6100 Series CDR and REC API Guide

Page 6 of 17

CDR CSV FILE

The downloaded CDR .csv file has different format from the web UI CDR. Here are some descriptions.

Call From, Call To

"Call From": the caller ID.

"Call To": the callee ID.

If "Call From" shows empty, "Call To" shows "s" (see highlight part in the picture below) and the "Source

Channel" contains "DAHDI", this means the call is from FXO/PSTN line. For FXO/PSTN line, we only

know there is an incoming request when there is incoming call but we don't know the number being called.

So we are using "s" to match it where "s" means "start".

Figure 3: Downloaded CDR File Sample

– Call To Shows "s"

Context

There are different context values that might show up in the downloaded CDR file. The actual value can

vary case by case. Here are some sample values and their descriptions.

from-internal: internal extension makes outbound calls.

ext-did-XXXXX: inbound calls. It starts with "ext-did", and "XXXXX" content varies case by case, which

also relate to the order when the trunk is created.

ext-local: internal calls between local extensions.

Source Channel, Dest Channel

Sample 1:

Figure 4: Downloaded CDR File Sample - Source Channel and Dest Channel 1