Hi Alessandro!
Please do not reply to emails when creating a new thread. Use "new
email" and choose the proper subject. Otherwise the "thread view"
feature of some email clients don't work anymore.
Regarding your problem. May it be that the BYE is loose_routed and thus
does not hit the setflag()?
Try setflag(2) in loose_route block.
regards
klaus
buxalex(a)libero.it wrote:
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
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users