[OpenSIPS-Users] Error when setting OpenSips with Radius

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Jul 29 19:16:42 CEST 2010


Hi,

be sure your dictionary (from radiusclient cfg) includes the 
dictionary.sip and dictionary.opensips - they are defining the missing 
RADIUS AVP.

Regards,
Bogdan

Tung Tran wrote:
>
> Hi all
>
> I am building the Opensips 1.6.2 to run with external Billing via 
> Radius (using radiusclient-ng), but I get this error when trying to 
> register. No radius message is sent to Radius server yet
>
> Jul 27 08:12:03 SVR60 /usr/local/sbin/opensips[19907]: rc_avpair_new: 
> unknown attribute 0
>
> Jul 27 08:12:03 SVR60 /usr/local/sbin/opensips[19907]: 
> ERROR:aaa_radius:rad_avp_add: failure
>
> Jul 27 08:12:03 SVR60 /usr/local/sbin/opensips[19907]: 
> ERROR:auth_aaa:aaa_authorize_sterman: unable to add User-Name attribute
>
> Here is my opensips.cfg
>
> loadmodule "auth.so"
>
> loadmodule "auth_db.so"
>
> loadmodule "aaa_radius.so"
>
> loadmodule "auth_aaa.so"
>
> modparam("auth_aaa", "aaa_url", 
> "radius:/usr/local/etc/radiusclient-ng/radiusclient.conf")
>
> ..
>
> if(!aaa_www_authorize(""))
>
> {
>
> xlog("L_INFO", "*-*-* False in Radius_www_authorize , challenging 
> M=$rm RURI=$ru F=$fu T=$tu IP=$si ID=$ci .. \n");
>
> www_challenge("", "1");
>
> exit;
>
> }
>
>>
> I am very appreciated if someone can point me a hint where is the problem
>
> Thanks in advance
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   


-- 
Bogdan-Andrei Iancu
OpenSIPS Bootcamp
20 - 24 September 2010, Frankfurt, Germany
www.voice-system.ro




More information about the Users mailing list