Hi all,
I have a issue here on a old OpenSER 1.3 system. We have some clients
that respond to a BYE message with a 481 resulting in a missing radius
accounting record. I have added some code to the failure route to force
accounting even if a 481 response in received:
if (t_check_status("481") && $rm == "BYE")
{
xlog("L_INFO", "INFO: [FAILURE] 481 response detected!! Forcing
accounting! - SRC=$si:$sp R=$ru ID=$ci FU=$fu M=$rm S=$rs\n");
acc_rad_request("BYE with 481 response");
}
Now OpenSER sends a accounting record, but this has the attribute
Acct-Status-Type set to Failed. This gives a problem with our accounting
service and i would like to change it to a normal Stop record.
Is there a way to change this and force OpenSER/Kamailio to send a Stop
record instead of a Failed record?
Thanks,
Jan
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users