[Devel] radius acc reports timeout failure twice

Juha Heinanen jh at tutpro.com
Mon May 22 20:57:15 CEST 2006


Bogdan-Andrei Iancu writes:

 > Also note there are 2 type of accounting records:
 >     missed calls
 >     transaction account (if failed is enabled).
 > 
 > So, if you have a failed called and logging failed transactions is 
 > enabled, you get both types of records. 

i have nothing in openser.cfg about failed_transaction_flag and
according to acc module README, its default value is 0 (no flag).  

i only call acc_rad_request explicitly in case user is not found.

i do have both radius and radius_missed_flag set when i call t_relay().
is that the reason for two Acct-Status-Type = Failed
accounting/SIP-Response-Code = 408 accounting requests when i call
t_relay() and don't answer the phone?

i understood from acc module README that missed calls would not be
accounted without radius_missed_flag being set and successful calls
would not be accounted without radius flag being set.  because i don't
know before t_relay if a call will fail, i have no option but to set
them both and then get two accounting requests if call fails?

-- juha



More information about the Devel mailing list