[Users] more on accounting

tele tele at plexia.com
Mon Jul 3 09:44:40 CEST 2006


Hi Bogdan,

I've updated to last CVS-head version. but in the log i can't see debug 
messages.
maybe there is an error in my accounting configuration. pls have a look:

modparam("acc", "log_level", 2)
modparam("acc", "log_fmt", "cdfimorstup")
modparam("acc", "report_ack", 0)
modparam("acc", "detect_direction", 1)
modparam("acc", "radius_flag", 3)
modparam("acc", "radius_missed_flag", 5)
modparam("acc", "radius_config", 
"/usr/local/etc/radiusclient-ng/radiusclient_auth.conf")
modparam("acc", "radius_extra", "h323-setup-time=$avp(setup_time); 
h323-connect-time=$avp(connect_time); 
h323-disconnect-time=$avp(disconnect_time); 
h323-remote-address=$avp(remote_address)")

and before loose_route() i have:

if (is_method("BYE"))
{
        setflag(3);
        setflag(5);
};

is it correct?

Bogdan-Andrei Iancu wrote:

> Hi,
>
> as I saw in the log, the FROM restoring in BYE works properly, so 
> RR/Route processing is fine. Are you sure you enabled the accounting 
> for BYE?
>
> just in case, I added some more debug messages about this on cvs - 
> please update and see the output. You should get:
>    DBUG:acc:acc_onreq: UPSTREAM req detected -> flaging it
> and
>    DBUG:acc:fmt2strar: UPSTREAM flag set -> swap F/T






More information about the sr-users mailing list