Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
CDR's configuration
Author Message
skb007
Brekeke Guru


Joined: 05 Oct 2015
Posts: 152
Location: USA

PostPosted: Wed May 01, 2019 12:23 pm    Post subject: CDR's configuration Reply with quote

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
Back to top
View user's profile
skb007
Brekeke Guru


Joined: 05 Oct 2015
Posts: 152
Location: USA

PostPosted: Thu May 02, 2019 1:17 pm    Post subject: Reply with quote

I would appreciate if someone can help to fix the problem.
Back to top
View user's profile
skb007
Brekeke Guru


Joined: 05 Oct 2015
Posts: 152
Location: USA

PostPosted: Thu May 02, 2019 3:20 pm    Post subject: Reply with quote

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.
Back to top
View user's profile
Mike
Support Team


Joined: 07 Mar 2005
Posts: 731
Location: Sunny San Mateo

PostPosted: Fri May 03, 2019 12:19 pm    Post subject: Reply with quote

> 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.
Back to top
View user's profile Visit poster's website
skb007
Brekeke Guru


Joined: 05 Oct 2015
Posts: 152
Location: USA

PostPosted: Fri May 03, 2019 12:35 pm    Post subject: Reply with quote

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?
Back to top
View user's profile
Mike
Support Team


Joined: 07 Mar 2005
Posts: 731
Location: Sunny San Mateo

PostPosted: Fri May 03, 2019 4:09 pm    Post subject: Reply with quote

> 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.
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1