K
K
Konstantin V2015-12-19 05:23:41
Asterisk
Konstantin V, 2015-12-19 05:23:41

No CDR recording (CentOS 7.2.1511 + Asterisk 12.8.2 + FreePBX 12.0.76.2). What to do and who is to blame?

The installation was carried out according to this instruction:
Installing FreePBX 12 on CentOS7
localhost*CLI> module show like cdr
Module Description Use Count Status
app_cdr.so Tell Asterisk to not maintain a CDR for 0 Running
app_forkcdr.so Fork The CDR into 2 separate entities 0 Running
cdr_adaptive_odbc .so Adaptive ODBC CDR backend 0 Running
cdr_csv.so Comma Separated Values ​​CDR Backend 0 Not Running
cdr_custom.so Customizable Comma Separated Values ​​CDR 0 Running
cdr_manager.so Asterisk Manager Interface CDR Backend 0 Not Running
cdr_sqlite3_custom.so SQLite3 Custom CDR Module 0 Not Running
cdr_syslog.so Customizable syslog CDR Backend 0 Not Running
func_cdr.so Call Detail Record (CDR) dialplan functi 0 Running
9 modules loaded
localhost*CLI > cdr show status
Call Detail Record (CDR) settings
----------------------------------
Logging: Enabled
Mode: Simple
Log unanswered calls: No
Log congestion: No
* Registered Backends
-------------------
cdr-custom
Adaptive ODBC
Folder /var/log/asterisk/cdr-csv/ is pristinely empty
Until now, I haven't worked with telephony and linux. I reinstalled the system several times, infa about calls is not written ...

Answer the question

In order to leave comments, you need to log in

3 answer(s)
K
Konstantin V, 2015-12-20
@Kot_stantin

mysql-connector-odbc installed, attached.
localhost*CLI> odbc show all
ODBC DSN Settings
-----------------
Name: asteriskcdrdb
DSN: MySQL-asteriskcdrdb
Last connection attempt: 1970-01-01 10:00:00
Pooled : No
Connected: Yes
Error in logs: WARNING[3985] func_cdr.c: CDR requires a value (CDR(variable)=value)

L
Leks, 2015-12-19
@Leksnsk

For a start, take a look:

/etc/asterisk/cdr.conf
enable=yes

D
Dmitry Chervonobab, 2015-12-24
@maddimons

Actually, FreePBX should set everything up for you. All CDRs in the presence of FIBH are included in the database. You need to watch from the web muzzle, and not in daddies.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question