[OpenSIPS-Users] CDR in Flat files
Michele Pinassi
michele.pinassi at unisi.it
Tue Jun 6 06:06:09 EDT 2017
Did you check your rsyslog (/etc/rsyslogd.conf) configuration ?
Michele
On 05/06/2017 10:52, Kirill Galinurov wrote:
> Hi ALL.
> I try to store cdr in flat files.
> My config is
> loadmodule "acc.so"
> modparam("acc", "detect_direction", 0)
> modparam("acc", "extra_fields", "log: src_ip; dst_ip")
> modparam("acc", "leg_fields", "log: caller; callee")
> modparam("acc", "log_facility", "LOG_DAEMON")
>
> if(is_method("INVITE")) {
> if (check_address("0","$si","$sp","any")){
> force_send_socket(udp:*Servizio Antispam attenzione!: i
> link numerici sono spesso insicuri!:* 172.20.20.30:5060
> <http://172.20.20.30:5060>);
> setflag(CALL_AST);
> create_dialog("B");
> do_accounting("log", "cdr");
> }
>
> in cosole debug I see
> ACC: call ended:
> created=1496654777;call_start_time=1496654780;duration=7;ms_duration=7393;setuptime=3;method=I
> NVITE;from_tag=SDipn2901-1544324631353641441C2115;to_tag=as51263d7c;call_id=SDipn2901-3f6bad0e2bf09ec16aeaedd37abb0661-v300g00030;code=
> 200;reason=OK;src_ip=;dst_ip=;caller=;callee=
>
> But no records in log file
>
--
Michele Pinassi
Responsabile Telefonia di Ateneo
Servizio Reti, Sistemi e Sicurezza Informatica - Università degli Studi di Siena
tel: 0577.(23)5000 - centralino at unisi.it
Per trovare una soluzione rapida ai tuoi problemi tecnici consulta le FAQ di Ateneo, http://www.faq.unisi.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170606/98175e3e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.opensips.org/pipermail/users/attachments/20170606/98175e3e/attachment.sig>
More information about the Users
mailing list