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:[email protected]] 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:[email protected]] 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; }
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
