Reference14r2:Concept Call Detail Record CDR PBX: Difference between revisions

From innovaphone wiki
Jump to navigation Jump to search
 
Line 27: Line 27:
|-
|-
|valign=top nowrap=true|'''device'''
|valign=top nowrap=true|'''device'''
|The device (if applicable) which was used for this call
|The device (if applicable) which was used for this call.
|-
|-
|valign=top nowrap=true|'''cn'''
|valign=top nowrap=true|'''cn'''
Line 36: Line 36:
|-
|-
|valign=top nowrap=true|'''h323'''
|valign=top nowrap=true|'''h323'''
|The H.323 Id (Name) of the object
|The H.323 Id (Name) of the object.
|-
|-
|valign=top nowrap=true|'''obj-e164'''
|valign=top nowrap=true|'''obj-e164'''
Line 45: Line 45:
|-
|-
|valign=top nowrap=true|'''mobility-guid'''
|valign=top nowrap=true|'''mobility-guid'''
|Indicates a mobility call over the Mobility Object with this guid.
|Indicates a mobility call over the Mobility Object with same guid. The
|-
|-
|valign=top nowrap=true|'''mobility-cn'''
|valign=top nowrap=true|'''mobility-cn'''

Latest revision as of 16:28, 15 April 2025

If enabled the PBX generates Call Detail Records (CDR) for each call and each object, which means if a call is made from one user to another a CDR for an outgoing call is generated at the first user object and a CDR for an incoming call is generated at the other user object. The CDRs are generated at the end of the call and sent via the CDR0 and CDR1 interfaces. For a discussion of the delivery mechanisms, see the respective chapters in the gateway CDR page. XML is used for the content of the CDRs.

Content

Top-Level Tag <cdr>

Each CDR uses the top-level tag <cdr> to describe the object the CDR was created for. The following attributes are used with this tag:

id A unique GUID identifying this CDR.
guid The GUID identifying the object this call belongs to.
seq The sequence the CDR was generated by the PBX (resets to 0 when the PBX restarts).
sys The System Name (Gatekeeper Identifier) of the PBX.
pbx The Name of the PBX this CDR was generated on.
node The Node of the object for which this CDR was generated.
device The device (if applicable) which was used for this call.
cn The cn (Long Name) of the object.
e164 The normalized remote Number. If it's a local Endpoint, it is the Number of the Object. This number includes the node prefixes if the object is not defined in the root node.
h323 The H.323 Id (Name) of the object.
obj-e164 New in V14r2. To be defined.
obj-h323 New in V14r2. To be defined.
mobility-guid Indicates a mobility call over the Mobility Object with same guid. The
mobility-cn Indicates a mobility call over the Mobility Object with the same cn (Long Name).
mobility-h323 Indicates a mobility call over the Mobility Object with the same H.323 Id (Name).
call Unique call identifier. Used to relate other CDR(s) which the same call identifier in their event-tags.
fake The Send Number of the object
email The E-Mail of the object
dir Indicates the direction of the call.
  • from: A call originating from this object.
  • to: A call sent to this object.
  • cf: A call diverted by this object.
  • ct: A call transfered by this object.
utc The time when this call was started as UTC time. This is an integer with the standard ctime semantic.
local The local time the call was started.

The Tag <event>

For each state a call goes thru a tag <event> is added to the CDR. The following attributes are used with this tag:

msg A string identifying the message which caused the state change of the call
time The uptime of the gateway in seconds. This information can be used to calculate duration between events. (Eg. ringing time or speaking time)
type The Type of the other party of the call if available. A value of 'ext' indicates an external party.
e164 The number of the other party of the call if available. This number is a number as it can be dialed from this endpoint to call the other endpoint. This means it will include prefixes only if the other party is in a different node and it will include escapes if necessary.
root The number of the other party relative to the numbering root, if available.
h323 The H.323 Id (Name) of the other party of the call, if available
dn The displayed name of the other party of the call, if available. 'Display Name' used (if configured), otherwise 'Long Name' is used.
conf A GUID identifying the call (conferenceID). This GUID can be used to associated CDRs from outgoing calls to the CDRs of incoming calls even across different PBXs. The first event within a CDR always contains this attribute. The conferenceID may change during a call (e.g. because of a call transfer). In this case another conf attribute is present containing the new conferenceID.
call A call identifier to correlate the related CDR.
cause The cause code used when the call was cleared. The value is defined in Q.931. Common values are 16 - Normal Clearing, 17 - User Busy, 18 - No response.
more If more is set to true, there are other CDRs for the same call with a higher relevance. For example: A more relevant CDR is the one for the call-leg to the phone that accepted the call if multiple registrations exists. This might be used to suppress CDRs with more attribute in call lists.
clir If clir is set to true, the number has to be suppressed.

The Tag <to>

Used as tag inside <event>. This is used to indicate that by the operation indicated by the message (transfer, call forward) the party to which this user is connected to will change.

In case of a msg="lookup" the to tag show the result of the reverse lookup with e164 (number for the resolution) and dn (resolved display name for the remote number).

The Tag <ep>

Indicates the endpoint to which the call is actually connected on this endpoint. This is mainly used on trunk objects, in the <cdr> tag itself only the number is indicated which was already dialed when the call is sent out to the trunk. With overlap sending more digits may be sent. In alert-from, conn-from, rel-to and rel-from the final number sent is indicated.

The Tags <cf> <ct>

Indicate preceding call forward (cf) or transfer (ct) endpoints. The attributes e164, h323 and dn can be present.

The Tag <makecall> (available from v10sr10)

Indicates that an application initiated this call e.g. using the SOAP API. The attribute appl contains the name of the application.

The Tag <event>

Used as tag inside <event>. This is used to indicate the call flow.

Tag <user>

The tag <cdr> may contain a tag <user> for additional information about the object:

pseudo
If the Object is not a User, there is an attribute "pseudo", which contains the type. This type matches to the type in the LDAP config of the object, except for CDRs on the master connection there is the special value "master". Note that also an object declared as pseudo="executive" may be classified as as user-type object
<grp>
For each group a tag <grp> is contained in <user>

Object Types

Following Object Types could appear in the CDR records:

executive Executive
trunk Trunk Line
waiting Waiting Queue
gw Gateway
vm Voicemail
broadcast Call Broadcast
bc_conf Bc Conference
mobility Mobility
map Number Map
loc PBX
conference Conference
dtmf-ctrl DTMF Features
dirsearch Directory Search
multicast MCast Announce
qdial Quick dial

Available messages (values of msg)

setup-from A call originating from the object was initiated
setup-to A call to the object was initiated
info-from Refers to an INFO signalling message used for post-dialing
info-to Refers to an INFO signalling message used for post-dialing
lookup Shows the result of a reverse lookup
alert-from The endpoint for this object is alerting
alert-to The other party is alerting
conn-from The endpoint for this object has connected the call
conn-to The other party has connected the call
transfer-from The endpoint for this call has transfered the call.
transfer-to The other party has transfered the call.
transferred Another call on the same object (user) has been transferred with this call. A transfer-from will be shown on this other call. The call itself will disappear form the phone as a result of the transfer.
transfer-remote The call was transferred outside the PBX.
connected Added after a transfer, if the other call leg was already connected.
cf-from The endpoint for this object has forwarded the call.
cf-to The other party has forwarded the call.
forwarded Another call on the same object has been forwarded with this call. A cf-from will be shown on this other call.
reject-from The endpoint for this call has rejected the call.
rel-from The endpoint for this object has released the call
rel-to The other party has released the call

Billing

To generate billing information for a given user (object), the outgoing calls the user is responsible for must be filtered, the destination to which the user is to be billed must be found and the connected time for these calls must be calculated. All this information can be obtained from the CDRs generated for the given user.

  • to find the calls the user is responsible for, filter for CDRs with dir "from", "cf" or "ct".
  • the first event with type "conn-to", "transfer-to" or "cf-to" indicates the destination to which the user is to billed for this call
  • the connected time is to be calculated from the first event with type "conn-to" to the first event with type "disc-to", "disc-from", "rel-to" or "rel-from"
  • the type "ext" event is set in the "conn-to", "conn-from", "setup-to" or "setup-from" messages if no number (connected or calling) was received or if the number had a ISDN numbering plan identification different to "Private". This means for an outgoing external call on Trunk CDR "ext" is set on the "conn-from" event and on the User CDR "ext" is set on the "conn-to" event. For an incoming call on the Trunk CDR "ext" is set on the "setup-from" event and on the User CDR "ext" is set on the "setup-to" event.

Sample Records

Basic Call

A(201) calls B(202)

Object A CDR

<cdr id="07b659a016e5670175240090334209f2" guid="782104b809e56701904d0090334209f2" seq="0" sys="voipserver.online" pbx="master" node="root" device="a" cn="A" e164="201" h323="a" obj-h323="a" obj-e164="201" call="4749959f16e567012754009033300cdb" dir="from" utc="1743066784" local="1743070384" reporting="0">
	<user/>
	<event msg="setup-from" time="10" e164="202" conf="d3eb299f16e567012654009033300cdb"/>
	<event msg="alert-to" time="10" e164="202" dn="B" h323="b" call="00894ba016e5670177240090334209f2"/>
	<event msg="conn-to" time="15" e164="202" dn="B" root="202" h323="b" call="00894ba016e5670177240090334209f2"/>
	<event msg="rel-to" time="25" e164="202" dn="B" h323="b"/>
</cdr>

Object B CDR

<cdr id="1f933ea016e5670178240090334209f2" guid="672ec4ce09e56701914d0090334209f2" seq="1" sys="voipserver.online" pbx="master" node="root" device="b" cn="B" e164="202" h323="b" obj-h323="b" obj-e164="202" call="00894ba016e5670177240090334209f2" dir="to" utc="1743066784" local="1743070384" reporting="0">
	<user/>
	<event msg="setup-to" time="10" e164="201" dn="A" h323="a" conf="d3eb299f16e567012654009033300cdb" call="4749959f16e567012754009033300cdb"/>
	<event msg="alert-from" time="10" e164="201" dn="A" root="201" h323="a" call="4749959f16e567012754009033300cdb"/>
	<event msg="conn-from" time="15" e164="201" dn="A" root="201" h323="a" call="4749959f16e567012754009033300cdb"/>
	<event msg="rel-from" time="25" e164="201" dn="A" root="201" h323="a"/>
</cdr>

A(201) calls B(202), B(202) rejects the call

Object A CDR

<cdr id="2917cf6217e567017d240090334209f2" guid="782104b809e56701904d0090334209f2" seq="2" sys="voipserver.online" pbx="master" node="root" device="a" cn="A" e164="201" h323="a" obj-h323="a" obj-e164="201" call="8190866117e567014854009033300cdb" dir="from" utc="1743066978" local="1743070578" reporting="0">
	<user/>
	<event msg="setup-from" time="30" e164="202" conf="cc37516117e567014754009033300cdb"/>
	<event msg="alert-to" time="30" e164="202" dn="B" h323="b" call="5103656217e567017f240090334209f2"/>
	<event msg="rel-to" time="35" e164="202" dn="B" h323="b" cause="17"/>
</cdr>

Object B CDR

<cdr id="bbedfb6217e5670180240090334209f2" guid="672ec4ce09e56701914d0090334209f2" seq="3" sys="voipserver.online" pbx="master" node="root" device="b" cn="B" e164="202" h323="b" obj-h323="b" obj-e164="202" call="5103656217e567017f240090334209f2" dir="to" utc="1743066978" local="1743070578" reporting="0">
	<user/>
	<event msg="setup-to" time="30" e164="201" dn="A" h323="a" conf="cc37516117e567014754009033300cdb" call="8190866117e567014854009033300cdb"/>
	<event msg="alert-from" time="30" e164="201" dn="A" root="201" h323="a" call="8190866117e567014854009033300cdb"/>
	<event msg="reject-from" time="35"/>
	<event msg="rel-from" time="35" e164="201" dn="A" h323="a" cause="17"/>
</cdr>

Call Forward

A(201) calls B(202) cfu to C(203)

Object A CDR

<cdr id="600b633318e5670187240090334209f2" guid="782104b809e56701904d0090334209f2" seq="4" sys="voipserver.online" pbx="master" node="root" device="a" cn="A" e164="201" h323="a" obj-h323="a" obj-e164="201" call="2a7a933218e567015454009033300cdb" dir="from" utc="1743067187" local="1743070787" reporting="0">
	<user/>
	<event msg="setup-from" time="40" e164="202" conf="01ea2d3218e567015354009033300cdb"/>
	<event msg="cf-to" time="40" e164="202" dn="B" h323="b" call="1818103318e5670188240090334209f2">
		<to e164="203"/>
	</event>
	<event msg="alert-to" time="40" e164="203" dn="C" h323="c" call="366c733318e567018d240090334209f2"/>
	<event msg="conn-to" time="45" e164="203" dn="C" root="203" h323="c" call="366c733318e567018d240090334209f2"/>
	<event msg="rel-to" time="55" e164="203" dn="C" h323="c"/>
</cdr>

Object B CDRs

<cdr id="ca34bd3318e5670189240090334209f2" guid="672ec4ce09e56701914d0090334209f2" seq="5" sys="voipserver.online" pbx="master" node="root" cn="B" e164="202" h323="b" obj-h323="b" obj-e164="202" call="1818103318e5670188240090334209f2" dir="to" utc="1743067187" local="1743070787" reporting="0">
	<user/>
	<event msg="setup-to" time="40" e164="201" dn="A" h323="a" conf="01ea2d3218e567015354009033300cdb" call="2a7a933218e567015454009033300cdb"/>
	<event msg="cf-from" time="40" e164="201" dn="A" h323="a" call="2a7a933218e567015454009033300cdb">
		<to e164="203"/>
	</event>
	<event msg="alert-to" time="40" e164="203" dn="C" h323="c" call="366c733318e567018d240090334209f2"/>
	<event msg="conn-to" time="45" e164="203" dn="C" root="203" h323="c" call="366c733318e567018d240090334209f2"/>
	<event msg="rel-to" time="55" e164="203" dn="C" h323="c"/>
</cdr>
<cdr id="30d8173318e567018b240090334209f2" guid="672ec4ce09e56701914d0090334209f2" seq="6" sys="voipserver.online" pbx="master" node="root" cn="B" e164="202" h323="b" obj-h323="b" obj-e164="202" call="5b866a3318e567018a240090334209f2" dir="from" utc="1743067187" local="1743070787" reporting="0">
	<user/>
	<event msg="setup-from" time="40" e164="203" conf="01ea2d3218e567015354009033300cdb"/>
	<event msg="forwarded" time="40" e164="203" call="2a7a933218e567015454009033300cdb"/>
	<event msg="alert-to" time="40" e164="203" dn="C" h323="c" call="366c733318e567018d240090334209f2"/>
	<event msg="conn-to" time="45" e164="203" dn="C" root="203" h323="c" call="366c733318e567018d240090334209f2"/>
	<event msg="rel-to" time="55" e164="203" dn="C" h323="c"/>
</cdr>

Object C CDR

<cdr id="3e10d03318e567018e240090334209f2" guid="061bbae109e56701924d0090334209f2" seq="7" sys="voipserver.online" pbx="master" node="root" device="c" cn="C" e164="203" h323="c" obj-h323="c" obj-e164="203" call="366c733318e567018d240090334209f2" dir="to" utc="1743067187" local="1743070787" reporting="0">
	<user/>
	<event msg="setup-to" time="40" e164="201" dn="A" h323="a" conf="01ea2d3218e567015354009033300cdb" call="2a7a933218e567015454009033300cdb">
		<cf e164="202" h323="b" dn="B"/>
	</event>
	<event msg="alert-from" time="40" e164="201" dn="A" root="201" h323="a" call="2a7a933218e567015454009033300cdb"/>
	<event msg="conn-from" time="45" e164="201" dn="A" root="201" h323="a" call="2a7a933218e567015454009033300cdb"/>
	<event msg="rel-from" time="55" e164="201" dn="A" root="201" h323="a"/>
</cdr>

A(201) calls B(202) cfnr to C(203)

Object A CDR

<cdr id="4ec7129319e5670195240090334209f2" guid="782104b809e56701904d0090334209f2" seq="8" sys="voipserver.online" pbx="master" node="root" device="a" cn="A" e164="201" h323="a" obj-h323="a" obj-e164="201" call="2078f69219e567017454009033300cdb" dir="from" utc="1743067539" local="1743071139" reporting="0">
	<user/>
	<event msg="setup-from" time="60" e164="202" conf="b99cd19219e567017354009033300cdb"/>
	<event msg="alert-to" time="60" e164="202" dn="B" h323="b" call="aef1fa9319e5670197240090334209f2"/>
	<event msg="cf-to" time="75" e164="202" dn="B" h323="b" call="aef1fa9319e5670197240090334209f2">
		<to e164="203"/>
	</event>
	<event msg="alert-to" time="75" e164="203" dn="C" h323="c" call="2f576ba319e567019c240090334209f2"/>
	<event msg="conn-to" time="80" e164="203" dn="C" root="203" h323="c" call="2f576ba319e567019c240090334209f2"/>
	<event msg="rel-to" time="90" e164="203" dn="C" h323="c"/>
</cdr>

Object B CDRs

<cdr id="0522e49319e5670198240090334209f2" guid="672ec4ce09e56701914d0090334209f2" seq="9" sys="voipserver.online" pbx="master" node="root" device="b" cn="B" e164="202" h323="b" obj-h323="b" obj-e164="202" call="aef1fa9319e5670197240090334209f2" dir="to" utc="1743067539" local="1743071139" reporting="0">
	<user/>
	<event msg="setup-to" time="60" e164="201" dn="A" h323="a" conf="b99cd19219e567017354009033300cdb" call="2078f69219e567017454009033300cdb"/>
	<event msg="alert-from" time="60" e164="201" dn="A" root="201" h323="a" call="2078f69219e567017454009033300cdb"/>
	<event msg="cf-from" time="75" e164="201" dn="A" root="201" h323="a" call="2078f69219e567017454009033300cdb">
		<to e164="203"/>
	</event>
	<event msg="alert-to" time="75" e164="203" dn="C" h323="c" call="2f576ba319e567019c240090334209f2"/>
	<event msg="conn-to" time="80" e164="203" dn="C" root="203" h323="c" call="2f576ba319e567019c240090334209f2"/>
	<event msg="rel-to" time="90" e164="203" dn="C" h323="c"/>
</cdr>
<cdr id="1a4129a319e567019a240090334209f2" guid="672ec4ce09e56701914d0090334209f2" seq="10" sys="voipserver.online" pbx="master" node="root" cn="B" e164="202" h323="b" obj-h323="b" obj-e164="202" call="21bbbea319e5670199240090334209f2" dir="from" utc="1743067555" local="1743071155" reporting="0">
	<user/>
	<event msg="setup-from" time="75" e164="203" conf="b99cd19219e567017354009033300cdb"/>
	<event msg="forwarded" time="75" e164="203" call="2078f69219e567017454009033300cdb"/>
	<event msg="alert-to" time="75" e164="203" dn="C" h323="c" call="2f576ba319e567019c240090334209f2"/>
	<event msg="conn-to" time="80" e164="203" dn="C" root="203" h323="c" call="2f576ba319e567019c240090334209f2"/>
	<event msg="rel-to" time="90" e164="203" dn="C" h323="c"/>
</cdr>

Object C CDR

<cdr id="2bbe43a319e567019d240090334209f2" guid="061bbae109e56701924d0090334209f2" seq="11" sys="voipserver.online" pbx="master" node="root" device="c" cn="C" e164="203" h323="c" obj-h323="c" obj-e164="203" call="2f576ba319e567019c240090334209f2" dir="to" utc="1743067555" local="1743071155" reporting="0">
	<user/>
	<event msg="setup-to" time="75" e164="201" dn="A" h323="a" conf="b99cd19219e567017354009033300cdb" call="2078f69219e567017454009033300cdb">
		<cf e164="202" h323="b" dn="B"/>
	</event>
	<event msg="alert-from" time="75" e164="201" dn="A" root="201" h323="a" call="2078f69219e567017454009033300cdb"/>
	<event msg="conn-from" time="80" e164="201" dn="A" root="201" h323="a" call="2078f69219e567017454009033300cdb"/>
	<event msg="rel-from" time="90" e164="201" dn="A" root="201" h323="a"/>
</cdr>

Call Transfer

A(201) calls B(202) blind transfer without consultation to C(203)

Object A CDR

<cdr id="c6944dd32ae56701682a0090334209f2" guid="782104b809e56701904d0090334209f2" seq="12" sys="voipserver.online" pbx="master" node="root" device="a" cn="A" e164="201" h323="a" obj-h323="a" obj-e164="201" call="56c1c3d32ae567015c57009033300cdb" dir="from" utc="1743071955" local="1743075555" reporting="0">
	<user/>
	<event msg="setup-from" time="100" e164="202" conf="166a6dd32ae567015b57009033300cdb"/>
	<event msg="alert-to" time="100" e164="202" dn="B" h323="b" call="4c7d8fd32ae567016a2a0090334209f2"/>
	<event msg="conn-to" time="105" e164="202" dn="B" root="202" h323="b" call="4c7d8fd32ae567016a2a0090334209f2"/>
	<event msg="transfer-to" time="110" e164="202" dn="B" root="202" h323="b" call="4c7d8fd32ae567016a2a0090334209f2">
		<to e164="203"/>
	</event>
	<event msg="alert-to" time="110" e164="203" dn="C" h323="c" call="ec582ce02ae56701742a0090334209f2"/>
	<event msg="conn-to" time="115" e164="203" dn="C" root="203" h323="c" call="ec582ce02ae56701742a0090334209f2"/>
	<event msg="rel-to" time="125" e164="203" dn="C" h323="c"/>
</cdr>

Object B CDRs

<cdr id="b38ad2d32ae567016b2a0090334209f2" guid="672ec4ce09e56701914d0090334209f2" seq="13" sys="voipserver.online" pbx="master" node="root" device="b" cn="B" e164="202" h323="b" obj-h323="b" obj-e164="202" call="4c7d8fd32ae567016a2a0090334209f2" dir="to" utc="1743071955" local="1743075555" reporting="0">
	<user/>
	<event msg="setup-to" time="100" e164="201" dn="A" h323="a" conf="166a6dd32ae567015b57009033300cdb" call="56c1c3d32ae567015c57009033300cdb"/>
	<event msg="alert-from" time="100" e164="201" dn="A" root="201" h323="a" call="56c1c3d32ae567015c57009033300cdb"/>
	<event msg="conn-from" time="105" e164="201" dn="A" root="201" h323="a" call="56c1c3d32ae567015c57009033300cdb"/>
	<event msg="transfer-from" time="110" e164="201" dn="A" h323="a" call="56c1c3d32ae567015c57009033300cdb">
		<to e164="203" dn="C" h323="c"/>
		<event msg="setup-from" time="110" e164="203" dn="C" h323="c"/>
	</event>
	<event msg="conn-to" time="115" e164="203" dn="C" root="203" h323="c" call="ec582ce02ae56701742a0090334209f2"/>
	<event msg="rel-to" time="125" e164="203" dn="C" h323="c"/>
</cdr>
<cdr id="5eee09e02ae56701722a0090334209f2" guid="672ec4ce09e56701914d0090334209f2" seq="15" sys="voipserver.online" pbx="master" node="root" cn="B" e164="202" h323="b" obj-h323="b" obj-e164="202" call="1529f9e02ae56701712a0090334209f2" dir="from" utc="1743071968" local="1743075568" reporting="0">
	<user/>
	<event msg="setup-from" time="110" e164="203" conf="166a6dd32ae567015b57009033300cdb"/>
	<event msg="transfered" time="110" e164="203"/>
	<event msg="alert-to" time="110" e164="203" dn="C" h323="c" call="ec582ce02ae56701742a0090334209f2"/>
	<event msg="conn-to" time="115" e164="203" dn="C" root="203" h323="c" call="ec582ce02ae56701742a0090334209f2"/>
	<event msg="rel-to" time="125" e164="203" dn="C" h323="c"/>
</cdr>

Object C CDR

<cdr id="b04450e02ae56701752a0090334209f2" guid="061bbae109e56701924d0090334209f2" seq="16" sys="voipserver.online" pbx="master" node="root" device="c" cn="C" e164="203" h323="c" obj-h323="c" obj-e164="203" call="ec582ce02ae56701742a0090334209f2" dir="to" utc="1743071968" local="1743075568" reporting="0">
	<user/>
	<event msg="setup-to" time="110" e164="201" dn="A" h323="a" conf="166a6dd32ae567015b57009033300cdb" call="56c1c3d32ae567015c57009033300cdb">
		<ct e164="202" h323="b"/>
	</event>
	<event msg="alert-from" time="110" e164="201" dn="A" root="201" h323="a" call="56c1c3d32ae567015c57009033300cdb"/>
	<event msg="conn-from" time="115" e164="201" dn="A" root="201" h323="a" call="56c1c3d32ae567015c57009033300cdb"/>
	<event msg="rel-from" time="125" e164="201" dn="A" root="201" h323="a"/>
</cdr>

A(201) calls B(202) blind transfer with consultation to C(203)

Object A CDR

<cdr id="d2feaade2be567019f2a0090334209f2" guid="782104b809e56701904d0090334209f2" seq="17" sys="voipserver.online" pbx="master" node="root" device="a" cn="A" e164="201" h323="a" obj-h323="a" obj-e164="201" call="c7292bde2be56701a957009033300cdb" dir="from" utc="1743072222" local="1743075822" reporting="0">
	<user/>
	<event msg="setup-from" time="200" e164="202" conf="ef1632de2be56701a857009033300cdb"/>
	<event msg="alert-to" time="200" e164="202" dn="B" h323="b" call="0077cdde2be56701a12a0090334209f2"/>
	<event msg="conn-to" time="205" e164="202" dn="B" root="202" h323="b" call="0077cdde2be56701a12a0090334209f2"/>
	<event msg="transfer-to" time="220" e164="202" dn="B" root="202" h323="b" call="0077cdde2be56701a12a0090334209f2">
		<to e164="203" dn="C" h323="c"/>
	</event>
	<event msg="conn-to" time="225" e164="203" dn="C" root="203" h323="c" call="1c7ac8eb2be56701cb2a0090334209f2"/>
	<event msg="rel-to" time="235" e164="203" dn="C" h323="c"/>
</cdr>

Object B CDRs

<cdr id="4b2ff1de2be56701a22a0090334209f2" guid="672ec4ce09e56701914d0090334209f2" seq="18" sys="voipserver.online" pbx="master" node="root" device="b" cn="B" e164="202" h323="b" obj-h323="b" obj-e164="202" call="0077cdde2be56701a12a0090334209f2" dir="to" utc="1743072222" local="1743075822" reporting="0">
	<user/>
	<event msg="setup-to" time="200" e164="201" dn="A" h323="a" conf="ef1632de2be56701a857009033300cdb" call="c7292bde2be56701a957009033300cdb"/>
	<event msg="alert-from" time="200" e164="201" dn="A" root="201" h323="a" call="c7292bde2be56701a957009033300cdb"/>
	<event msg="conn-from" time="205" e164="201" dn="A" root="201" h323="a" call="c7292bde2be56701a957009033300cdb"/>
	<event msg="transfer-from" time="220" e164="201" dn="A" h323="a" call="c7292bde2be56701a957009033300cdb">
		<to e164="203" dn="C" h323="c"/>
		<event msg="setup-from" time="210" conf="709531e72be56701b3f00090332fff88"/>
		<event msg="info-from" time="212" e164="2"/>
		<event msg="info-from" time="214" e164="20"/>
		<event msg="info-from" time="215" e164="203"/>
		<event msg="alert-to" time="215" e164="203" dn="C" h323="c" call="1c7ac8eb2be56701cb2a0090334209f2"/>
	</event>
	<event msg="conn-from" time="225" e164="201" dn="A" h323="a">
		<to e164="203" dn="C" h323="c" call="1c7ac8eb2be56701cb2a0090334209f2"/>
	</event>
	<event msg="rel-from" time="235" e164="201" dn="A" root="201" h323="a"/>
</cdr>
<cdr id="b85041e82be56701a62a0090334209f2" guid="672ec4ce09e56701914d0090334209f2" seq="20" sys="voipserver.online" pbx="master" node="root" device="b" cn="B" e164="202" h323="b" obj-h323="b" obj-e164="202" call="b2b9d5e72be56701b4f00090332fff88" dir="from" utc="1743072232" local="1743075832" reporting="0">
	<user/>
	<event msg="setup-from" time="210" conf="709531e72be56701b3f00090332fff88"/>
	<event msg="info-from" time="212" e164="2"/>
	<event msg="info-from" time="214" e164="20"/>
	<event msg="info-from" time="215" e164="203"/>
	<event msg="alert-to" time="215" e164="203" dn="C" h323="c" call="1c7ac8eb2be56701cb2a0090334209f2"/>
	<event msg="transfered" time="220" e164="203" dn="C" h323="c"/>
	<event msg="conn-to" time="225" e164="203" dn="C" root="203" h323="c" call="1c7ac8eb2be56701cb2a0090334209f2"/>
	<event msg="rel-to" time="235" e164="203" dn="C" h323="c"/>
</cdr>

Object C CDR

<cdr id="f0cbeeeb2be56701cc2a0090334209f2" guid="061bbae109e56701924d0090334209f2" seq="21" sys="voipserver.online" pbx="master" node="root" device="c" cn="C" e164="203" h323="c" obj-h323="c" obj-e164="203" call="1c7ac8eb2be56701cb2a0090334209f2" dir="to" utc="1743072235" local="1743075835" reporting="0">
	<user/>
	<event msg="setup-to" time="215" e164="202" dn="B" h323="b" conf="709531e72be56701b3f00090332fff88" call="b2b9d5e72be56701b4f00090332fff88"/>
	<event msg="alert-from" time="215" e164="202" dn="B" root="202" h323="b" call="b2b9d5e72be56701b4f00090332fff88"/>
	<event msg="transfer-to" time="220" e164="202" dn="B" root="201" h323="b" conf="ef1632de2be56701a857009033300cdb">
		<to e164="201" dn="A" h323="a"/>
	</event>
	<event msg="conn-from" time="225" e164="201" dn="A" root="201" h323="a" call="c7292bde2be56701a957009033300cdb"/>
	<event msg="rel-from" time="235" e164="201" dn="A" root="201" h323="a"/>
</cdr>

A(201) calls B(202) transfer with consultation to C(203)

Object A CDR

<cdr id="58ddf2102de56701d22a0090334209f2" guid="782104b809e56701904d0090334209f2" seq="22" sys="voipserver.online" pbx="master" node="root" device="a" cn="A" e164="201" h323="a" obj-h323="a" obj-e164="201" call="d18f06102de56701f757009033300cdb" dir="from" utc="1743072528" local="1743076128" reporting="0">
	<user/>
	<event msg="setup-from" time="300" e164="202" conf="b44c4c102de56701f657009033300cdb"/>
	<event msg="alert-to" time="300" e164="202" dn="B" h323="b" call="061ba0102de56701d42a0090334209f2"/>
	<event msg="conn-to" time="305" e164="202" dn="B" root="202" h323="b" call="061ba0102de56701d42a0090334209f2"/>
	<event msg="transfer-to" time="320" e164="202" dn="B" root="203" h323="b" call="061ba0102de56701d42a0090334209f2">
		<to e164="203" dn="C" h323="c" call="70be041c2de56701fe2a0090334209f2"/>
	</event>
	<event msg="connected" time="320" e164="203" dn="C" root="203" h323="c" call="70be041c2de56701fe2a0090334209f2"/>
	<event msg="rel-to" time="330" e164="203" dn="C" h323="c"/>
</cdr>

Object B CDRs

<cdr id="7a554e102de56701d52a0090334209f2" guid="672ec4ce09e56701914d0090334209f2" seq="23" sys="voipserver.online" pbx="master" node="root" device="b" cn="B" e164="202" h323="b" obj-h323="b" obj-e164="202" call="061ba0102de56701d42a0090334209f2" dir="to" utc="1743072528" local="1743076128" reporting="0">
	<user/>
	<event msg="setup-to" time="300" e164="201" dn="A" h323="a" conf="b44c4c102de56701f657009033300cdb" call="d18f06102de56701f757009033300cdb"/>
	<event msg="alert-from" time="300" e164="201" dn="A" root="201" h323="a" call="d18f06102de56701f757009033300cdb"/>
	<event msg="conn-from" time="305" e164="201" dn="A" root="201" h323="a" call="d18f06102de56701f757009033300cdb"/>
	<event msg="transfer-from" time="320" e164="201" dn="A" h323="a" call="d18f06102de56701f757009033300cdb">
		<to e164="203" dn="C" h323="c" call="70be041c2de56701fe2a0090334209f2"/>
		<event msg="setup-from" time="310" conf="df74d3192de56701def00090332fff88"/>
		<event msg="info-from" time="311" e164="2"/>
		<event msg="info-from" time="312" e164="20"/>
		<event msg="info-from" time="313" e164="203"/>
		<event msg="alert-to" time="313" e164="203" dn="C" h323="c" call="70be041c2de56701fe2a0090334209f2"/>
		<event msg="conn-to" time="315" e164="203" dn="C" root="203" h323="c" call="70be041c2de56701fe2a0090334209f2"/>
	</event>
	<event msg="connected" time="320" e164="201" dn="A" root="201" h323="a" call="d18f06102de56701f757009033300cdb"/>
	<event msg="rel-from" time="330" e164="201" dn="A" root="201" h323="a"/>
</cdr>
<cdr id="6d54d91a2de56701d92a0090334209f2" guid="672ec4ce09e56701914d0090334209f2" seq="25" sys="voipserver.online" pbx="master" node="root" device="b" cn="B" e164="202" h323="b" obj-h323="b" obj-e164="202" call="325c02192de56701dff00090332fff88" dir="from" utc="1743072538" local="1743076138" reporting="0">
	<user/>
	<event msg="setup-from" time="310" conf="df74d3192de56701def00090332fff88"/>
	<event msg="info-from" time="311" e164="2"/>
	<event msg="info-from" time="312" e164="20"/>
	<event msg="info-from" time="313" e164="203"/>
	<event msg="alert-to" time="313" e164="203" dn="C" h323="c" call="70be041c2de56701fe2a0090334209f2"/>
	<event msg="conn-to" time="315" e164="203" dn="C" root="203" h323="c" call="70be041c2de56701fe2a0090334209f2"/>
	<event msg="transfered" time="320" e164="203" dn="C" h323="c" conf="b44c4c102de56701f657009033300cdb" call="70be041c2de56701fe2a0090334209f2">
		<to e164="201" dn="A" h323="a" call="d18f06102de56701f757009033300cdb"/>
	</event>
	<event msg="rel-to" time="330" e164="203" dn="C" h323="c"/>
</cdr>

Object C CDR

<cdr id="6c3cc61c2de56701ff2a0090334209f2" guid="061bbae109e56701924d0090334209f2" seq="26" sys="voipserver.online" pbx="master" node="root" device="c" cn="C" e164="203" h323="c" obj-h323="c" obj-e164="203" call="70be041c2de56701fe2a0090334209f2" dir="to" utc="1743072540" local="1743076140" reporting="0">
	<user/>
	<event msg="setup-to" time="310" e164="202" dn="B" h323="b" conf="df74d3192de56701def00090332fff88" call="325c02192de56701dff00090332fff88"/>
	<event msg="alert-from" time="313" e164="202" dn="B" root="202" h323="b" call="325c02192de56701dff00090332fff88"/>
	<event msg="conn-from" time="315" e164="202" dn="B" root="202" h323="b" call="325c02192de56701dff00090332fff88"/>
	<event msg="transfer-to" time="320" e164="202" dn="B" root="201" h323="b" conf="b44c4c102de56701f657009033300cdb" call="325c02192de56701dff00090332fff88">
		<to e164="201" dn="A" h323="a" call="d18f06102de56701f757009033300cdb"/>
	</event>
	<event msg="connected" time="320" e164="201" dn="A" root="201" h323="a" call="d18f06102de56701f757009033300cdb"/>
	<event msg="rel-from" time="330" e164="201" dn="A" root="201" h323="a"/>
</cdr>

CDR Buffering

CDRs are sent through the CDRx interfaces which have an internal buffering capacity of 300kB. PBX CDRs can get quite large. The CDR sample with the transfer with consultation above is already around 4.6kB.
Check also the Article Can CDRs get lost ?

CDR Debugging

The CDRs created by the PBX can be displayed for test-purposes in a Web-Browser.
In this case the CDR0-interface must not be configured (Gateway/CDR0); the CDR-Generation must be enabled (PBX/Config/General/Generate CDRs).

This test-mode can be enabled by:

http://x.x.x.x/!config change CDR0 /test-cdr
http://x.x.x.x/!config activate

After making the desired call, the CDR0-buffer can be displayed using the URL:

http://x.x.x.x/CDR0/mod_cmd.xml?cmd=test-cdr

Please note that this test-mode must not be used in production environments, only in test systems.
This test-mode can also be used for the (visible) CDR1-interface and/or the invisible CDR-interfaces CDR2, CDR3, or CDR4 (check the config). Just replace the number in the instructions above to configure and/or access these CDR-interfaces.