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.
--
Iñaki Baz Castillo
ibc(a)in.ilimit.es