[SR-Users] acc: can't get code for the Source-IP attribute
Rabary
teddy at gulfsat.mg
Wed May 30 14:52:32 CEST 2012
Le 30/05/2012 12:12, Rabary a écrit :
> Hi all,
>
> When I start kamailio, I have theses errors in syslog and kamailio
> failed to start:
> May 30 12:02:11 kamailio /usr/sbin/kamailio[5652]: INFO: usrloc
> [hslot.c:53]: locks array size 512
> May 30 12:02:11 kamailio /usr/sbin/kamailio[5652]: INFO: auth
> [auth_mod.c:312]: auth: qop set, but nonce-count (nc_enabled) support
> disabled
> May 30 12:02:11 kamailio /usr/sbin/kamailio[5652]: ERROR: acc_radius
> [acc_radius_mod.c:276]: acc: can't get code for the Source-IP attribute
> May 30 12:02:11 kamailio /usr/sbin/kamailio[5652]: ERROR: acc_radius
> [acc_radius_mod.c:289]: failed to init radius
> May 30 12:02:11 kamailio /usr/sbin/kamailio[5652]: ERROR: acc
> [acc_mod.c:758]: failed to initialize extra acc engine
> May 30 12:02:11 kamailio /usr/sbin/kamailio[5652]: ERROR: acc_radius
> [acc_radius_mod.c:154]: cannot register ACC RADIUS engine
> May 30 12:02:11 kamailio /usr/sbin/kamailio[5652]: ERROR: <core>
> [sr_module.c:932]: init_mod(): Error while initializing module
> acc_radius (/usr/lib/kamailio/modules_k/acc_radius.so)
>
> In radiusclient dictionary.sip, I have this:
> teddy at kamailio:~$ sudo grep -r -i source-ip /etc/radiusclient-ng/*
> /etc/radiusclient-ng/dictionary.sip:ATTRIBUTE
> Sip-Source-IP-Address 108 ipaddr
>
> And in dictionary file I include this dictionary.sip like this at the
> end of the file:
> $INCLUDE /etc/radiusclient-ng/dictionary.sip
>
> There are kamailio and libradiusclient-ng2 version installed:
> ii kamailio 3.2.3+squeeze1
> very fast and configurable SIP proxy
> ii kamailio-mysql-modules 3.2.3+squeeze1
> MySQL database connectivity module for Kamailio
> ii kamailio-radius-modules 3.2.3+squeeze1
> radius modules for Kamailio
> ii libradiusclient-ng-dev 0.5.6-1.1
> Enhanced RADIUS client library development files
> ii libradiusclient-ng2 0.5.6-1.1
> Enhanced RADIUS client library
>
> So I don't know where I'm doing wrong, can anyone tell me what am I
> missing ?
>
> Thanks.
>
solved, it was a problem of dictionary, sorry for the inconvenience.
--
Rabary Teddy
Inutile d'imprimer ce mail
More information about the sr-users
mailing list