[OpenSIPS-Users] accounting BYE

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Jul 20 16:57:19 CEST 2009

Hi Jan,

By default, the acc module records only successful transaction (2xx 
replied). To account failed transactions (like Bye which are not 
replied), you need to set the failed_transaction_flag. See:

Regarding the records for multiple BYEs, it should not be an issue - 
take the one with the smallest timestamp - see how the OpenSIPS Control 
Panel generates CDRs from the acc records: 


Jan D. wrote:
> If I use the flag (in my case flag 25) and the other site does not respond
> the BYE is not accounted. So I tried to use the acc_db_request. This works
> also without the O.K., but is a BYE is sent twice or more I end up with a
> lot of BYE's in my database.
> I tried setting a flag, bflag after the acc_db_request but this did not
> help.
> Is there a way to account a BYE without an O.K. only one time?
> Jan

More information about the Users mailing list