Hi,
Thanks it works now. but now it logs acct data in the file /var/log/freeradius/radacct/domain/detaildate...Freeradius does not store in mysql database... what configuration should i do now to store data in mysql table radacct..ThanksOn Wed, Nov 18, 2009 at 1:12 PM, Laszlo <laszlo@voipfreak.net> wrote:
_______________________________________________Hi,2009/11/18 toqeer ali <toqeer83@gmail.com>Hi all,I configured freeradius for accounting of openser.but when i make a call the call establishwa and gives this error for Freeradius.Nov 18 06:50:58 kamailio /sbin/openser[11590]: rc_ip_hostname: couldn't look up host by addr: 0A000005
Nov 18 06:50:58 kamailio /sbin/openser[11590]: rc_send_server: no reply from RADIUS server unknown:1813
Nov 18 06:50:58 kamailio /sbin/openser[11590]: ERROR:acc:acc_rad_request: radius-ing failed
Nov 18 06:51:20 kamailio /sbin/openser[11593]: rc_ip_hostname: couldn't look up host by addr: 0A000005
Nov 18 06:51:20 kamailio /sbin/openser[11593]: rc_send_server: no reply from RADIUS server unknown:1813
Nov 18 06:51:20 kamailio /sbin/openser[11593]: ERROR:acc:acc_rad_request: radius-ing failed
please help
--
Toqeer Ali Syed
Red Hat Certified Engineer
mob: +92 321 9059916
Check your configuration.
modparam("acc", "radius_config", "/path/to/whatever.conf")
Check whatever.conf's contents, you should have a rows like this:
authserver hostname
servers /path/to/servers
So check your /path/to/servers file for credenticals, like
hostname password
If freeradius is installed on the same box, then you can use localhost as hostname, otherwise you can use freeradius's server remote IP as hostname
Set the same password in freeradius's conf (client.conf)
client kamailio_ip_goes_here {
secret = password
shortname = my_kamailio_box
}
Make sure the accounting port is open in your firewall.
-Laszlo
Kamailio (OpenSER) - Users mailing list
Users@lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users