[Help]:implementation of radius authentication

Hi,
i tried to implement radius authentication using radiusclient-ng and freeradius as radius server.both in client and server i configured correctly .but if i make a call i am getting the following errror message after ending that call.
cdr_radius.c:227 radius_log:Failed to record Radius CDR record!

Please help me to rectify this problem.

other than radius cdr.csv is working.

Hello,

I use Asterisk 1.4.22.2, radius-cleint-ng and FreeRadius-1.1.7

I want to know your configuration for authentication with radiusclient-ng and Asterisk and FreeRadius.

My accounting work correctly but authenticate no.

What i must do in file sip.conf for authenticate with freeradius and many change when i must do in freeradius.

Please, i am student and i work for my project until 15 december 2008.

Help me please because i dont know my bug.

thank you.

Because of the problem I explained earlier I switched to a different Asterisk client developed by “Portaone”.It is perl based,You can get more information on this by logging in to the following Link “http://www.voip-info.org/wiki/view/PortaOne+Radius+auth”.It is working fine for me,both authentication and accounting have been done,for this to work properly,u have to make some changes to the extensions.conf and have to add a Perl based script to the system startup.example extension.conf was given in that Link.

Because of the problem I explained earlier I switched to a different Asterisk client developed by “Portaone”.It is perl based,You can get more information on this by logging in to the following Link “http://www.voip-info.org/wiki/view/PortaOne+Radius+auth”.It is working fine for me,both authentication and accounting have been done,for this to work properly,u have to make some changes to the extensions.conf and have to add a Perl based script to the system startup.example extension.conf was given in that Link.

Because of the problem I explained earlier I switched to a different Asterisk client developed by “Portaone”.It is perl based,You can get more information on this by logging in to the following Link “http://www.voip-info.org/wiki/view/PortaOne+Radius+auth”.It is working fine for me,both authentication and accounting have been done,for this to work properly,u have to make some changes to the extensions.conf and have to add a Perl based script to the system startup.example extension.conf was given in that Link.

Hello,

Thank you for response.

I do the portaone authentification but he doesn’t work.

I get the installation and configuration for the link of voip. I tested with x-lite

and login failed. I think the asterisk not communicate with FreeRadius.

In sip.conf, I must defined the users sip not with secret? and in extensions.conf, I do the example for voip.

in Freeradius, i analyze the packet radius and i dont found any packet.

I suppose, he doesn’t communicate both.

What I can do for detecting the mistake because I can’t found the origin for problem.

Where I put the file ast-rad-acc.pl?

Cant send me an example of your configuration for this authentication or an example? Please

Thank you for help…I have a short time until my project. I Have 1 week for this problem.

thank you very much…

HI,
I try cdr_radius with freeradius before.I can stored the cdr file to freeradius server .
apart from checking full in /var/log/asterisk …
There may be error in messages log file …there is need to change some read/write mode for some file …check messages log file and radius.log file first …
It may tell you how to fix the problem …