Hello,

it seems that your radius dictionary file doesn't include the AVP spec for 'via' attribute set probably via modparams of the acc module.

Check the modparam for extra attributes together with the dictionary file content.

Cheers,
Daniel

On 20.02.20 21:32, volga629 wrote:

Hello Everyone,

Kamailio 5.3  acc_radius give this error.


kamailio -V
version: kamailio 5.3.2 (x86_64/linux) 09914d
flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS 1024, MAX_RECV_BUFFER_SIZE 262144, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: 09914d
compiled on 17:28:03 Feb 20 2020 with gcc 4.4.7


Any help thank you.

Feb 20 20:04:40 CentOS-610-64-minimal /usr/local/sbin/kamailio[375]: ERROR: acc_radius [acc_radius_mod.c:280]: init_acc_rad(): acc: can't get code for the via attribute
Feb 20 20:04:40 CentOS-610-64-minimal /usr/local/sbin/kamailio[375]: ERROR: acc_radius [acc_radius_mod.c:293]: acc_radius_init(): failed to init radius
Feb 20 20:04:40 CentOS-610-64-minimal /usr/local/sbin/kamailio[375]: ERROR: acc [acc_mod.c:636]: acc_init_engine(): failed to initialize extra acc engine
Feb 20 20:04:40 CentOS-610-64-minimal /usr/local/sbin/kamailio[375]: ERROR: acc_radius [acc_radius_mod.c:152]: mod_init(): cannot register ACC RADIUS engine


_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - March 9-11, 2020, Berlin - www.asipto.com
Kamailio World Conference - April 27-29, 2020, in Berlin -- www.kamailioworld.com