[Kamailio-Users] openser freeradius connectivity error

toqeer ali toqeer83 at gmail.com
Wed Nov 18 12:05:51 CET 2009


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..

Thanks



On Wed, Nov 18, 2009 at 1:12 PM, Laszlo <laszlo at voipfreak.net> wrote:

> Hi,
>
> 2009/11/18 toqeer ali <toqeer83 at 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 at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>



-- 
Toqeer Ali Syed

Red Hat Certified Engineer
mob:     +92 321 9059916
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/users/attachments/20091118/76a14286/attachment.htm>


More information about the Users mailing list