[Serusers] Accounting is only logging INVITE to my mysql database.
Jan Janak
jan at iptel.org
Tue Mar 2 10:27:48 CET 2004
Turn on record routing.
Jan.
On 01-03 23:03, Atle Samuelsen wrote:
>
> Hey guys.
>
> anybody had the problem that the acc.so module just logs the INVITE to
> the database? when I try to dial 0.. etc..
>
> - Atle
>
> #ACC stuff
>
> modparam("acc", "log_level", 3)
> modparam("acc", "log_flag", 12)
> modparam("acc", "log_missed_flag", 22)
>
> #ACC DB STUFF
>
> modparam("acc", "db_url", "mysql://ser:heslo@localhost/ser")
> modparam("acc", "db_flag", 1)
> modparam("acc", "db_missed_flag", 31)
>
> # ------------------------- request routing logic -------------------
>
> # main routing logic
>
> route{
>
> if (uri=~"sip:0[0-9][3.5]*") { # ... it is for the peer site
> strip(1);
> setflag(1);
> rewritehostport("192.168.11.5");
> t_relay();
> break;
> };
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
More information about the sr-users
mailing list