Greetings all;<br><br>I'm having a devil of a time getting CDR logging functioning. I've gone over the ACC documentation six ways from Sunday, and I've googled like crazy trying to find a sample configuration that might've been logged somewhere, but I'm not finding anything. Either that, or I'm as daft as a brush.<br>
<br>I've got OpenSIPS logging console details to log_local7, which I'm redirecting using rsyslog to /var/log/opensips.log. I'm now trying to get CDRs generated and recorded _to disk_ to /var/log/opensips.cdr via log_local6. I've got rsyslog correctly configured for pushing local6 to the aforementioned file, and rsylogd has created the file, but call after call, no details get filtered into it.<br>
<br>I've got the following (obviously I'm omitting huge chunks of config, but this should be the "relevant" stuff):<br><br>loadmodule("dialog.so")<br>loadmodule("acc.so")<br><br>modparam("acc", "log_facility", "log_local6")<br>
modparam("acc", "cdr_flag", 1)<br><br>if (method=="INVITE") {<br> setflag(1);<br> route(1);<br> }<br><br>Yadda, yadda.<br><br>From the documentation, as far as I can tell this should be everything required to generate the CDRs and push to syslog via local6.*... but I'm not seeing squatola. There's nothing logged to /var/log/opensips.log that would suggest there's any kind of error.<br>
<br>What am I missing here, folks?<br><br>Thanks, as always;<br><br> - Jock<br>