[OpenSIPS-Users] accounting BYE

Robin Vleij robin at swip.net
Fri Jul 17 22:42:50 CEST 2009


On Jul 17, 2009, at 12:19 PM, Jan D. wrote:

Hi,

> if(is_method("BYE"))
> {
> #setflag(25); # account successful transactions
> acc_db_request("200 OK", "acc");
> }


Why not set the flag that also accounts unsuccessful transactions in  
case of a BYE? Then it's just a matter of picking out the BYE that is  
last, when processing the CDR's?

/Robin

---
Robin Vleij
Swipnet







More information about the Users mailing list