Is caused by the following settings,and the log to not appear in time
loadmodule "dialog.so"
modparam("dialog", "db_mode", 2)
Is this a bug? I encountered this problem in version 2.4.7,db_mode only used
for database control,
or there is a problem with the document description?
[email protected]
From: Social Boh
Date: 2020-12-07 22:10
To: OpenSIPS users mailling list; [email protected]
Subject: Re: [OpenSIPS-Users] how to use cdr?
Hello,
do you see cdr log on your syslog file? En CentOS is /var/log/messages
If the answer is yes try this:
create the cdr file:
touch /var/log/opensips/opensips.cdr
restart rsyslog:
systemctl restart rsyslog
restart opensips:
systemctl restart opensips
If OpenSIPs run with opensips user:
chown -Rf opensips:opensips /var/log/opensips
Regards
---
I'm SoCIaL, MayBe
El 07/12/2020 a las 04:04, [email protected] escribió:
HI all !
i use opensips cdr as follows, but it have nothing in
/var/log/opensips/opensips.cdr
i can't find any errors in log
Can provides some possibilities for solving problems
loadmodule "acc.so"
/* what special events should be accounted ? */
modparam("acc", "early_media", 0)
modparam("acc", "report_cancels", 0)
/* by default we do not adjust the direct of the sequential requests.
if you enable this parameter, be sure to enable "append_fromtag"
in "rr" module */
modparam("acc", "detect_direction", 0)
modparam("acc", "log_level", 2)
modparam("acc", "log_facility", "LOG_LOCAL1")
if (is_method("INVITE")) {
do_accounting("log", "cdr|missed|failed");
}
if (is_method("BYE")) {
do_accounting("log","failed");
}
failure_route[missed_call] {
do_accounting("log","missed");
rtpengine_delete();
if (t_was_cancelled()) {
exit;
}
IN rsyslog.conf
local1.* /var/log/opensips/opensips.cdr
[email protected]
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users