Thanks it works now. but now it logs acct data in the file /var/log/freeradius/radacct/domain/detaildate...<div><br></div><div> Freeradius does not store in mysql database... what configuration should i do now to store data in mysql table radacct..</div>
<div><br></div><div>Thanks </div><div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote">On Wed, Nov 18, 2009 at 1:12 PM, Laszlo <span dir="ltr"><<a href="mailto:laszlo@voipfreak.net" target="_blank">laszlo@voipfreak.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br><br><div class="gmail_quote">2009/11/18 toqeer ali <span dir="ltr"><<a href="mailto:toqeer83@gmail.com" target="_blank">toqeer83@gmail.com</a>></span><div><div></div><div><br><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">
<div>Hi all,</div>
<div> </div>
<div> </div>
<div>I configured freeradius for accounting of openser. </div>
<div> </div>
<div>but when i make a call the call establishwa and gives this error for Freeradius.</div>
<div> </div>
<div>Nov 18 06:50:58 kamailio /sbin/openser[11590]: rc_ip_hostname: couldn't look up host by addr: 0A000005<br>Nov 18 06:50:58 kamailio /sbin/openser[11590]: rc_send_server: no reply from RADIUS server unknown:1813<br>
Nov 18 06:50:58 kamailio /sbin/openser[11590]: ERROR:acc:acc_rad_request: radius-ing failed <br>Nov 18 06:51:20 kamailio /sbin/openser[11593]: rc_ip_hostname: couldn't look up host by addr: 0A000005<br>Nov 18 06:51:20 kamailio /sbin/openser[11593]: rc_send_server: no reply from RADIUS server unknown:1813<br>
Nov 18 06:51:20 kamailio /sbin/openser[11593]: ERROR:acc:acc_rad_request: radius-ing failed <br><br clear="all">please help<br>-- <br>Toqeer Ali Syed<br><br>Red Hat Certified Engineer<br>mob: +92 321 9059916<br></div>
<br><br></blockquote></div></div><div><br>Check your configuration.<br> modparam("acc", "radius_config", "/path/to/whatever.conf")<br><br>Check whatever.conf's contents, you should have a rows like this:<br>
<br>authserver hostname<br>servers /path/to/servers<br><br>So check your /path/to/servers file for credenticals, like<br><br>hostname password<br><br>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<br>
<br><br>Set the same password in freeradius's conf (client.conf)<br><br>client kamailio_ip_goes_here {<br> secret = password<br> shortname = my_kamailio_box<br>}<br><br>Make sure the accounting port is open in your firewall.<br>
<br>-Laszlo<br></div></div>
<br>_______________________________________________<br>
Kamailio (OpenSER) - Users mailing list<br>
<a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a><br>
<a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br>
<a href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a><br></blockquote></div><br><br clear="all"><br>-- <br>Toqeer Ali Syed<br>
<br>Red Hat Certified Engineer<br>mob: +92 321 9059916<br>
</div>