Hi!
You can't do this in openser! It is just a SIP proxy. If neither of the
clients send a BYE, there won't be a in the acc table. Usually one of
the clients (or the GW) should send a BYE (enable accounting of failed
transactions).
regards
klaus
Michal Prorok wrote:
Hello,
How can I set timeout for BYE command when connection will be terminated
(reset computer eg.).
In acc table is only INVITE+ACK, but not BYE command.
Failure route is:
failure_route[1] {
if (t_check_status("487")) {
break;
};
if (isflagset(26) && t_check_status("486")) {
if (avp_pushto("$ruri", "s:fwdbusy")) {
avp_delete("s:fwdbusy");
resetflag(26);
route(6);
break;
};
};
if (isflagset(27) && t_check_status("408")) {
if (avp_pushto("$ruri", "s:fwdnoanswer")) {
avp_delete("s:fwdnoanswer");
resetflag(27);
route(6);
break;
};
};
Regards
Michal Prorok
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users