After solving my first issues, I'm now trying to setup db-accounting in SER. If
this works I will upgrade my configuration to work with FreeRADIUS.
So I added the acc module like this:
loadmodule "acc.so"
modparam("acc", "detect_direction", 1)
modparam("acc", "db_url", "postgres://openser:[email protected]/openser")
modparam("acc", "db_flag", 1)
modparam("acc", "db_missed_flag", 2)
modparam("acc", "db_extra", "from_uri=$fu; to_uri=$tu")
modparam("acc", "radius_config", "/etc/radiusclient-ng/radiusclient.conf")
modparam("acc", "log_flag", 1)
modparam("acc", "log_missed_flag", 2)
It doesn't matter if I set the detect_direction parameter to 0 or 1, the STOP
record always will have the uri of the guy hanging up the call.
Does the detect_direction only affect radius accounting or should I use other
pseudo variables for my db_extra configuration? Although... $fu and $tu are
looking very appropriate to me.
Thanks a lot!
Robert.
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users