I tried configuring freeradius with Kamailio but Kamailio gives the error that it didn't find radiusclient-ng files. So I found a workaround for that
$ wget https://github.com/FreeRADIUS/freeradius-client/archive/release_1_1_7.tar.gz
$ tar -zxvf release_1_1_7.tar.gz
$ cd freeradius-client-release_1_1_7
$ ./configure
$ make
$ make install
$ cd /usr/local/include/
$ ln -s freeradius-client.h radiusclient-ng.h
$ cd /usr/local/lib/
$ ln -s libfreeradius-client.la libradiusclient-ng.la
$ ln -s libfreeradius-client.so.2.0.0 libradiusclient-ng.so.2.0.0
$ ln -s libfreeradius-client.so.2.0.0 libradiusclient-ng.so.2
$ ln -s libfreeradius-client.so.2.0.0 libradiusclient-ng.so
cp /home/kamailio/radiusclient-ng/etc/radiusclient-ng/dictionary dictionary
Enjoy ;)
No comments:
Post a Comment