CDR's configuration

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
skb007
Posts: 152
Joined: Mon Oct 05, 2015 10:22 pm
Location: USA

CDR's configuration

Post by skb007 »

1. Brekeke Product Name and Version:BSS3.8

2. Java version:1.8

3. OS type and the version:RHEL7

4. UA (phone), gateway or other hardware/software involved:NA

5. Your problem:

We were configured to dump the CDR's using the jdbc and everything was working. We changed the settings to dump the CDR's into a flat file but out config is being ignored.

We restarted the BSS after the above change.

BSS is writing the CDR's at its default location in a daily file with default fields.

CDR Status show Inactive with last error null.

Here is the configuration at CDR-->Settings page

General Settings:
ALL : On
Queue: 0 (I want to know more about it, wiki does not provide any info on this.)
Time Zone : GMT
Time format: yyyy-MM-dd HH:mm:ss
Unit Time Of Length : millisecond
CDR Format:%{sid},%{callidin},%{callidout},%{rulename},%{refresher},%{hostname},%{routechoice},%{memory},
%{resultcode},%{resultphrase},%{codesip},%{codeq931},%{lastphase},%{disconnectby},
%{authname},%{srcuriin},%{srcuriout},%{dsturiin},%{dsturiout},%{srcnamein},%{srcnameout},%{dstnamein},%{dstnameout},%{srcdomainin},%{srcdomainout},%{dstdomainin},%{dstdomainout},%{srcdispin},%{srcdispout},%{srcipaddr},%{dstipaddr},%{srcipport},%{dstipport},%{srcif},%{dstif},%{srctransport},%{dsttransport},%{srcua},%{dstua},
%{timeinvite},%{timeconnect},%{timeend},%{lencall},%{lencallround},%{pdd}
Output Type: File

FILE SETTINGS:
Output Path : /logs/cdrs (/logs is a valid partition and /logs/cdrs is a valid folder with 777 permission)
Alternate Output Path: log/cdr
File Extension : cdr
Frequency:3600000 (we want hourly file)
Use Java Cache: No (I want to know more about it, wiki does not provide any info on this.)
Advanced : Blank
skb007
Posts: 152
Joined: Mon Oct 05, 2015 10:22 pm
Location: USA

Post by skb007 »

I would appreciate if someone can help to fix the problem.
skb007
Posts: 152
Joined: Mon Oct 05, 2015 10:22 pm
Location: USA

Post by skb007 »

It got resolved.
I tried to turn off the CDR feature and restarted the BSS nd then I turned on the CDR feature and restarted the BSS and it is writing the desired CDRs.
Mike
Posts: 733
Joined: Mon Mar 07, 2005 2:25 pm
Location: Sunny San Mateo
Contact:

Post by Mike »

> Use Java Cache: No (I want to know more about it, wiki does not provide any info on this.)

It determines whether Java's file writing buffer is used or not.
If it is Yes, a writing data will be buffered and so it can decrease a overhead of file access.
If it is No, a writing data will be written to the file immediately but overhead of file access will be increased.
skb007
Posts: 152
Joined: Mon Oct 05, 2015 10:22 pm
Location: USA

Post by skb007 »

Thanks for the response.

Approximately, how many CDR's does it cache if we use java cache?

What is the difference between java cache and Queue?
Mike
Posts: 733
Joined: Mon Mar 07, 2005 2:25 pm
Location: Sunny San Mateo
Contact:

Post by Mike »

> how many CDR's does it cache if we use java cache?

It depends on available memory and the size of CDR line.


> What is the difference between java cache and Queue?

The Queue is used before CDR is generated.

The Java cache is used before generated CDR line is written to the file.
If Output Type is Database, Java cache is not used.
Post Reply