Hi all,
i have ser-0.9.6 and serweb (0.9.6), with mysql support and SQL
accounting enabled (DEFS+=-DSQL_ACC). Unfortunately i am not able to
configure missed calls correctely (not being displayed in serweb and
no entry in mysql).
mysql> select * from missed_calls;
Empty set (0.01 sec)
what's wrong with my config?
thx a lot...
my config looks like:
[...]
loadmodule "/usr/local/lib/ser/modules/tm.so"
loadmodule "/usr/local/lib/ser/modules/acc.so"
modparam("auth_db|acc|uri_db|usrloc", "db_url",
"mysql://ser:heslo@localhost/ser")
modparam("acc", "log_missed_flag", 3 )
modparam("acc", "db_missed_flag", 3)
modparam("acc", "db_flag", 1)
modparam("acc", "log_level", 1)
route{
[....]
if (!lookup("location")) {
if ((method=="INVITE" || method=="ACK") &&
t_newtran() ) {
t_reply("404", "Not Found");
acc_log_request("404 Not Found");
acc_db_request("404 missed call",
"missed_calls");
break;
};
sl_send_reply("404", "User Not Found");
break;
}else {
setflag(3);
t_relay();
break;
};
Show replies by date