At 10:12 AM 1/29/2004, Live_Wire_Net_Matt_Hess wrote:
I'm trying hard to get a handle on configuring ser but I think I need a few hints..
I thought I was doing the accounting right but the acc table never receives any information.. In my reading I thought by using setflag(x) where x was the same number as the db_flag number stateful accounting records would be automatic.. is this wrong..?
That's the way it is supposed to work and I unfortunately don't see an obvious reason why it should not. The only thing is that setflag is before record-routing section, i.e., it will be processed only for initial requests (INVITE) but at least those should be appear in the acc table.
-jiri
Can someone clue me in as to what I'm doing wrong as I just can't get this.
Here's my config if it helps at all:
# ----------- global configuration parameters ------------------------ loadmodule "/usr/local/ser/lib/ser/modules/acc.so" modparam("acc", "db_url", "mysql://ser:heslo@localhost/ser")
record_route(); if (loose_route()) { t_relay(); break; };
# label all transactions for accounting setflag(1);