Mike,
Finally, with the help of many, I could do accounting using SER+IC-RADIUs. The thing was just setting setflag(1) at the very beginning, just after the route{. I still do not understand why I'm getting to Acct-Start records, but, well ... accounting is working. But not completely well. Because, when I receive the Acct-Stop message, my billing system expects the Acct-Time-Session Attribute with the total time used during the session. As no Acct-Session-Time is received, no billing can be done. Anybody knows how to send that Attribute to RADIUS. thanx.
Regards,
Lucas
It's impossible to do with SER because it's stateless proxy, you need b2bua for this functionality.
Ok, so you mean that if I want to do some billing with SER I need to implement b2bua?. Please, how do I implement b2bua with SER ???.
I believe (as an active VoIP+RADIUS admin) that SER should implement some basic time-accounting. It is not that difficult to do it and it'll help many many Admins. It could, for example (and I think it'll definetively work), estimate the Acct-Session-Time by substracting the time at wich SER receives the BYE message from the time at wich SER received the 200 OK message. So then SER should build the Acct-Session-Time attribute with that value, and SER would send this attribute to RADIUS, and so help the billing systems, as the one I own.
Just an Idea.
Regards,
Lucas