[Serusers] no accounting records
"Sebastian Kühner"
SebastianKuehner at gmx.de
Fri Apr 29 18:43:05 CEST 2005
Hello,
Did I understand that correctly, that the acc Module writes the records to
the database?
If I make a debug call of ser, the accounting informations do appear:
ACC: transaction answered:
call_id=75250C44-BE31-4C6A-BFA8-54BFF372D690 at 192.168.1.51, totag=n/a,
from="14"<sip:14 at 192.168.1.223>;tag=156499061054,
i-uri=sip:900122 at 192.168.1.223, method=CANCEL, o-uri=sip:15 at 192.168.1.223,
fromtag=156499061054, code=200, to=<sip:900122 at 192.168.1.223>, uid=n/a,
userpart=900122
But how can I put this to my database?
Thanks!
> Hello,
>
> I have following lines in my ser.cfg-File:
>
> loadmodule "/usr/local/lib/ser/modules/acc.so"
> # ------------- accounting parameters
>
> modparam("acc", "log_missed_flag", 3)
> modparam("acc", "log_level", 1)
> modparam("acc", "log_flag", 1)
> modparam("acc", "db_url", "mysql://ser:heslo@192.168.1.223/ser")
> modparam("acc", "report_cancels", 1)
> modparam("acc", "log_fmt", "cdfimorstup")
>
>
> ...and although I put "setflag(1)" at this position:
>
> # ------------- routing logic
> route {
>
> setflag(1);
>
>
> There are no accounting records in my data base (ser->acc).
>
> Has anyone an idea what could be wrong?
>
> Thanks!
>
> Sebastian
>
>
>
> --
> +++ GMX - die erste Adresse für Mail, Message, More +++
>
> 10 GB Mailbox, 100 FreeSMS http://www.gmx.net/de/go/topmail
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
--
+++ Sparen beginnt mit GMX DSL: http://www.gmx.net/de/go/dsl
More information about the sr-users
mailing list