Good Day All,
I am trying to get accrue AcctSessionTime of calls. I am using Openser+Asterisk but some time asterisk CDR are not accoutered, record missing + if some one call 15 min it will come 2 hrs in cdr.
Is Mediaproxy will be best choice to get trust able AcctSessionTime?
If Mediaproxy AcctSessionTime is trustable, i have to use ACC module of Openser or only dbaccounting configuration will be enough to store records direct from Mediaproxy into MySQL backend?
Thank You Abdul Latef
--------------------------------- Never miss a thing. Make Yahoo your homepage.
On Thursday 07 February 2008 00:44:27 Abdul wrote:
Is Mediaproxy will be best choice to get trust able AcctSessionTime?
If Mediaproxy AcctSessionTime is trustable, i have to use ACC module of Openser or only dbaccounting configuration will be enough to store records direct from Mediaproxy into MySQL backend?
You need OpenSer accountig (in this case better Radius than MySQL since it will use radius "radact" table). So OpenSer will fill the "radact" table with Start (INVITE) and Stop (BYE) events (flags of acc module and so).
The point here is that if a UAC crashes and RTP stops with no BYE then MediaProxy (if configured) will update the "radact" table (vía MySQL o Radius, configurable) and will make fix the accounting. This is because Mediaproxy knows when a call ends (when RTP ends).
Note that MediaProxy writes (via Radius o MySQL) to "radact" table, so OpenSer acc must use that table (that is not at all the similar to "acc" table). So if you don't want to use Radius you need to set many fields extra in MySQL acc.
Hope it helps.