[OpenSER-Users] [CDRTool] How to get the "In" and "Out" columns?

Iñaki Baz Castillo ibc at aliax.net
Wed Feb 13 19:44:17 CET 2008


El Miércoles, 13 de Febrero de 2008, Iñaki Baz Castillo escribió:
> El Miércoles, 13 de Febrero de 2008, Andy Smith escribió:
> > Hi Iñaki,
> >
> >   For me this is functioning fine, I have just enabled the database
> > accoutning in mediaproxy.ini and it worked as soon as I got mediaproxy
> > working correctly...
>
> So you see "In" or/and "Out"... ANd do you mean that this info is provided
> by MediaProxy instead of be deduced by CDRTool in some way?

Hummm, the only info provided by MediaProxy (at least when logging it via 
radius) is the following:

               AcctSessionTime = AcctSessionTime + IF(ConnectInfo_stop IS 
                        NULL, %{Acct-Session-Time}, 0), \
                AcctStopTime = DATE_ADD(AcctStartTime, INTERVAL  
                         AcctSessionTime SECOND), \
                AcctInputOctets = AcctInputOctets + %{Acct-Input-Octets}, \
                AcctOutputOctets = AcctOutputOctets + %{Acct-Output-Octets}, \
                SipUserAgents = '%{Sip-User-Agents}', \
                SipCodecs = '%{Media-Codecs}', \
                SipApplicationType = '%{Sip-Applications}', \
                MediaInfo = '%{Media-Info}', \
                Normalized = '0' \

I can't see there any info related to "In" or "Out".

Anyway, what are these "In" and "Out" supposed to mean??

Thanks.


-- 
Iñaki Baz Castillo




More information about the sr-users mailing list