[OpenSIPS-Users] Opensips 1.10.1 and radius problem
dpa
denis7979 at mail.ru
Fri Jun 6 12:00:15 CEST 2014
Unfortunately it doesn`t help.
I tried the patch (make command I gave from "module/aaa_radius" directory).
A test call shows
"Jun 6 13:57:42 opensips-mirror /usr/local/opensipsdev/sbin/opensips[4297]:
ERROR:aaa_radius:send_auth_func: radius authentication message failed with
ERROR
Jun 6 13:57:42 opensips-mirror /usr/local/opensipsdev/sbin/opensips[4297]:
Case -1 in radius route detected"
From: Bogdan-Andrei Iancu [mailto:bogdan at opensips.org]
Sent: Friday, June 06, 2014 1:21 PM
To: dpa; 'OpenSIPS users mailling list'
Subject: Re: [OpenSIPS-Users] Opensips 1.10.1 and radius problem
Hi,
The libradius returns the error via the rc_auth() function. I notices a bit
of an inconsistency in the handling of the retcode of rc_auth() - old stuff
:).
You say you see a REJECT and the RADIUS level, right ?
Could you please try the attached patch and see if the failures are properly
reported to the script.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 06.06.2014 11:27, dpa wrote:
Hello Bogdan
What I can see in logs during test call
"ERROR:aaa_radius:send_auth_func: radius authentication message failed with
ERROR"
From: Bogdan-Andrei Iancu [mailto:bogdan at opensips.org]
Sent: Thursday, June 05, 2014 6:20 PM
To: dpa; 'OpenSIPS users mailling list'
Subject: Re: [OpenSIPS-Users] Opensips 1.10.1 and radius problem
Hi,
-1 ret code means some internal error - check the opensips logs for any
error.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 03.06.2014 07:01, dpa wrote:
Hello Bogdan
Sorry for long answer.
I changed opensips.cfg just a little
..
radius_send_auth("set1","set2");
switch($rc){
case -2:
xlog ("Case -2 in radius route detected");
break;
case -1:
xlog ("Case -1 in radius route detected");
break;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140606/cc456fb1/attachment.htm>
More information about the Users
mailing list