[Serusers] Accounting is only logging INVITE to my mysql database.

Atle Samuelsen clona at camaro.no
Mon Mar 1 23:03:39 CET 2004


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;
};




More information about the sr-users mailing list