[asterisk-users] Asterisk Radius CDR
asterisk at Offermans.Rompen.nl
Mon Sep 26 05:09:34 CDT 2016
On Fri, Sep 23, 2016 at 04:12:42PM -0400, Ahmed Munir wrote:
> I've recently setup Asterisk with Radius CDR by following the document:
> The issue currently I'm facing is after turning on the debug getting
> message: cdr_radius.c:208 radius_log: Unable to create RADIUS record. CDR
> not recorded!
> I've checked and grant access 666 to radiusclient config files: servers &
> dictionary.digium and 777 to '/var/run/radius.seq'. I've noticed that
> /var/run/radius.seq is not getting updated.
> Further added, in asterisk CLI while running command: cdr show status
> getting results below;
> Call Detail Record (CDR) settings
> Logging: Enabled
> Mode: Simple
> Log unanswered calls: No
> Log congestion: No
> * Registered Backends
> Adaptive ODBC
> Please advise if I may missed any steps.
> Ahmed Munir Chohan
I cannot advice you about steps you might have missed, probably none. To my
experience, the documentation is not sufficient.
I can tell you that freeradius can be run in debug mode: radiusd -X Do this
and have a close look to the output.
If you cannot find any attempt to connect to the freeradius server you need
to have a close look to the asterisk log files as well. Figure out what is
going wrong. There should be some clue.
I don't understand the grant access settings. Figure out the user which is
running asterisk and set the setting appropriately! I remember that I
needed the following access setting:
-rw-r----- 1 root asterisk /usr/local/etc/radiusclient-ng/servers
So read access for asterisk to the servers file. This was not documented at
all, but somehow logical, if you figured it out.
Met vriendelijke groeten,
With kind regards,
Mit freundlichen Gruessen,
De jrus wah,
Powered by ....
\/ \ ^
More information about the asterisk-users