[OpenSIPS-Users] Radius CDR Acct-Status-Type on failed calls

John Quick john.quick at smartvox.co.uk
Tue Aug 13 12:12:10 CEST 2013

Using modules aaa_radius and acc in version 1.9.1 of OpenSIPS, I want to
report CDR's to a radius server.
I am using Wireshark to check the actual Radius messages being sent.

If the call is answered, then the Radius messages are good:
Start of the call (200 Ok response to INVITE), "Start" message with
End of the call (200 Ok response to BYE), a "Stop" message with

However, if the call fails (e.g. INVITE response "486 Busy here") the value
of Acct-Status-Type is zero.
We require reporting of failed calls, but the Radius server cannot interpret
the message because of this zero value.

Is it possible to somehow force the value of Acct-Status-Type to 2 (Stop) on
failed call reporting?
The aaa_missed_flag is set. The failed_transaction_flag just makes it write
the message twice.

John Quick
Smartvox Limited
Web: www.smartvox.co.uk

More information about the Users mailing list