Re: [OpenSIPS-Users] Opensips 1.10.1 and radius problem

2014-06-06 Thread Bogdan-Andrei Iancu
297]: Case -1 in radius route detected" *From:*Bogdan-Andrei Iancu [mailto:bog...@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

Re: [OpenSIPS-Users] Opensips 1.10.1 and radius problem

2014-06-06 Thread dpa
PM To: dpa; 'OpenSIPS users mailling list' Subject: Re: [OpenSIPS-Users] Opensips 1.10.1 and radius problem Strange... Could you directly add in your modules/aaa_radius/aaa_radius.c file, after line 331 which is: res = rc_auth(rh, SIP_PORT, send, &recv, mess); and extra

Re: [OpenSIPS-Users] Opensips 1.10.1 and radius problem

2014-06-06 Thread Bogdan-Andrei Iancu
ancu [mailto:bog...@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 i

Re: [OpenSIPS-Users] Opensips 1.10.1 and radius problem

2014-06-06 Thread dpa
ntication message failed with ERROR" From: Bogdan-Andrei Iancu [mailto:bog...@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 inte

Re: [OpenSIPS-Users] Opensips 1.10.1 and radius problem

2014-06-06 Thread dpa
Hello Bogdan Yes, I see reject. I will try the patch and let you know about the result From: Bogdan-Andrei Iancu [mailto:bog...@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 radi

Re: [OpenSIPS-Users] Opensips 1.10.1 and radius problem

2014-06-06 Thread Bogdan-Andrei Iancu
ERROR" *From:*Bogdan-Andrei Iancu [mailto:bog...@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

Re: [OpenSIPS-Users] Opensips 1.10.1 and radius problem

2014-06-06 Thread dpa
st' 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 Bogda

Re: [OpenSIPS-Users] Opensips 1.10.1 and radius problem

2014-06-05 Thread Bogdan-Andrei Iancu
:* OpenSIPS users mailling list; Denis Putyato *Subject:* Re: [OpenSIPS-Users] Opensips 1.10.1 and radius problem Hi, On each "case", please an "xlog" to print something from the script - in this way you can double check which way your script went. Or, you can use the script_

Re: [OpenSIPS-Users] Opensips 1.10.1 and radius problem

2014-06-02 Thread dpa
From: Bogdan-Andrei Iancu [mailto:bog...@opensips.org] Sent: Thursday, May 29, 2014 11:26 AM To: OpenSIPS users mailling list; Denis Putyato Subject: Re: [OpenSIPS-Users] Opensips 1.10.1 and radius problem Hi, On each "case", please an "xlog" to print something from the s

Re: [OpenSIPS-Users] Opensips 1.10.1 and radius problem

2014-05-29 Thread Bogdan-Andrei Iancu
Hi, On each "case", please an "xlog" to print something from the script - in this way you can double check which way your script went. Or, you can use the script_trace() function to do that . See: http://www.opensips.org/Documentation/Script-CoreFunctions-1-11#toc42 Regards, Bogdan-Andrei Ia

[OpenSIPS-Users] Opensips 1.10.1 and radius problem

2014-05-28 Thread dpa
Hello! I have such configuration in opensips.cfg :. radius_send_auth("set1","set2"); switch($rc){ case -2: exec_msg("echo '$avp(500) $rU $time(%c) rejected' >> /opensips/alarmradius.txt"); break; case -1: exec_msg("echo '$avp(500) $rU $time(%c)