Hi, I solved the issue. I loaded twice "radius_config"
modparam("aaa_radius", "radius_config", "/etc/opensips_aaa_radius/radius/radiusclient.conf") first time with good radiusclient.conf and second time with bad one.(I didn't saw because of my nouse, you know, every time Now, i finished prepaid(with bye_on_timeout_flag and timeout_avp and radius_send_auth) with "call plan with minutes included" combined with price per destination and special rates for subscriber. Thanks, Dani Bogdan-Andrei Iancu wrote: > Hi Dani, > > do you see in the system log any errors from the radius library ? > > Regards, > Bogdan > > Dani Popa wrote: >> Hi, >> I get next error when i try to use aaa_radius >> >> >> Jan 13 13:01:44 [10886] ERROR:aaa_radius:send_auth_func: radius >> authentication message failed with ERROR >> >> The opensips start normally with no error. >> >> In script config i have: >> >> modparam("aaa_radius", "radius_config", >> "/etc/opensips_aaa_radius/radius/radiusclient.conf") >> modparam("aaa_radius", "sets", "set1 = (User-Name = $avp(i:85), >> Password=$avp(i:84))") >> modparam("aaa_radius", "sets", "set2 = (Session-Timeout = >> $var(duration) )") >> >> and >> >> radius_send_auth("set1","set2"); >> >> opensips version: >> >> version: opensips 1.6.4-tls (i386/linux) >> flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, USE_SCTP, DISABLE_NAGLE, >> USE_MCAST, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, >> FAST_LOCK-ADAPTIVE_WAIT >> ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, >> MAX_URI_SIZE 1024, BUF_SIZE 65535 >> poll method support: poll, epoll_lt, epoll_et, sigio_rt, select. >> svnrevision: unknown >> @(#) $Id: main.c 7530 2010-12-13 19:07:53Z bogdan_iancu $ >> main.c compiled on 12:06:04 Jan 13 2011 with gcc 4.4.4 >> >> >> When i start opensips, everything looks fine for me: >> >> Jan 13 13:24:49 sip /home/test/sbin/opensips[10979]: >> DBG:core:find_mod_export: found <aaa_bind_api> in module aaa_radius >> [/home/test/lib/opensips/modules/] >> Jan 13 13:24:49 sip /home/test/sbin/opensips[10979]: >> DBG:core:aaa_prot_bind: using aaa bind api for aaa_radius >> Jan 13 13:24:49 sip /home/test/sbin/opensips[10979]: DBG:core:init_mod: >> initializing module aaa_radius >> Jan 13 13:24:49 sip /home/test/sbin/opensips[10979]: >> DBG:aaa_radius:mod_init: aaa_radius module was initiated >> >> Jan 13 13:24:49 sip /home/test/sbin/opensips[10979]: >> DBG:aaa_radius:destroy: set1 >> Jan 13 13:24:49 sip /home/test/sbin/opensips[10979]: >> DBG:aaa_radius:destroy: set2 >> >> >> Sameone can give me a hint ? >> >> Thanks, >> Dani >> >> _______________________________________________ >> Users mailing list >> Users@lists.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >> > > _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users