[Kamailio-Users] openser freeradius connectivity error

Laszlo laszlo at voipfreak.net
Wed Nov 18 09:12:55 CET 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20091118/ce4f2f7b/attachment.htm>


More information about the sr-users mailing list