Hello to everybody,
I am running openser with the module ACC and I get the db correctly updated (table ACC)
for the method INVITE and ACK; But I cannot retrieve the method BYE, I am sure I have made
mistake in openser.cfg, anybody can give me any help? below my openser.cfg:
#-----------------------------------
# ACC parameters
#-----------------------------------
modparam("acc", "db_url",
"mysql://openser:openser@localhost/openser")
modparam("acc", "failed_transaction_flag", 4)
modparam("acc", "report_cancels", 1)
modparam("acc", "db_flag", 2)
modparam("acc", "db_missed_flag",3 )
....
if (method=="BYE") {
setflag(2);
t_relay();
return;
};
if (method=="INVITE") {
setflag(2);
record_route();
};
lookup("aliases");
if (!uri==myself) {
append_hf("P-hint: outbound alias\r\n");
route(1);
};
thank you very much
Alessandro