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





_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to