Hi,
sorry for quite stupid and newbie questions, but I am out of ideas.
1. On one of my Debian 10 servers I am unable to stop logging kamailio
messages to /var/log/syslog. It is funny, because I have 3 more servers
where it works but on this one, it doesnt and no matter what I try it
still keeps sending logs to syslog (and to the file configured).
My related configs:
/etc/kamailio/kamailio.cfg
log_stderror=no
log_facility=LOG_LOCAL7
/etc/rsyslog.conf
local6.* /var/log/kamailio/cdr.log
local7.* /var/log/kamailio/kamailio.log
/etc/rsyslog.d/kamailio.conf
if $programname contains 'kamailio' then /var/log/kamailio/kamailio.log
& stop
/etc/systemd/system/multi-user.target.wants/kamailio.service
SyslogIdentifier=kamailio
2. It is probably related to 1. I am unable to get the CDRs logged to
anything else but /var/log/syslog. I tried database (nothing) and
setting cdr_facility and again nothing. It just keeps sending everything
to /var/log/syslog.
Related configs:
modparam("acc", "cdr_enable", 1)
modparam("acc", "cdrs_table", "acc_cdrs")
modparam("acc", "cdr_facility", "LOG_LOCAL6")
Example output in syslog file:
Sep 30 09:21:41 sip2 /usr/sbin/kamailio[1151]: NOTICE: {2 21 INVITE
ZPZI7Hqytw} acc [acc.c:279]: acc_log_request(): ACC: call missed:
timestamp=1601450501;method=INVITE;from_tag=1GH5hGQxN;to_tag=QwcYFet;call_id=ZPZI7Hqytw;code=486;reason=Busy
here;src_user=XXXXXXXXX;
Is there something trivial I am missing?
Thank you. Regards, Jan
Attachments:
- smime.p7s
(application/pkcs7-signature — 4.9 KB)