hmm... here are the settings that i am using that works perfectly for me: These files are required on opensips radiusclient-ng side:
*/etc/radiusclient-ng/dictionary*... $INCLUDE /etc/radiusclient-ng/dictionary.sip ... ATTRIBUTE User-Name 1 string ATTRIBUTE Password 2 string ATTRIBUTE CHAP-Password 3 string ... */etc/radiusclient-ng/dictionary.sip (This is the opensips dictionary)* ## $Id: dictionary.opensips 7139 2010-08-17 14:06:00Z razvancrainea $ ... ATTRIBUTE Sip-Uri-User 208 string # Proprietary, auth_radius ATTRIBUTE Sip-Group 211 string # Proprietary, group_radius ATTRIBUTE Sip-Rpid 213 string # Proprietary, auth_radius ATTRIBUTE SIP-AVP 225 string # Proprietary, avp_radius ATTRIBUTE Sip-Call-Duration 227 integer ATTRIBUTE Sip-Call-Setuptime 228 integer ... On freeradius end: */usr/local/etc/raddb* $INCLUDE /usr/local/share/freeradius/dictionary */usr/local/share/freeradius/dictionary*... $INCLUDE dictionary.sip ... */usr/local/share/freeradius/dictionary.sip* *(This is the opensips dictionary)* ## $Id: dictionary.opensips 7139 2010-08-17 14:06:00Z razvancrainea $ ... P.S. If you need these dictionary files just PM me and i will send them to you i think these are not required on the forum it will just clutter things if anything. Regards, Qasim On Mon, Mar 24, 2014 at 6:05 PM, John Quick <[email protected]>wrote: > I am already using the opensips dictionary. > It does not contain the Message-Authenticator attribute. > > When I do not use dictionary.rfc2869, I get this error every time the > radius_send_auth function is called: > rc_avpair_gen: received unknown attribute 80 of length 18: 0x.. > > When I include dictionary.rfc2869, I get this error on startup: > rc_read_dictionary: invalid type on line 13 of dictionary > /usr/local/etc/radiusclient-ng/dictionary.rfc2869 > > John > > > From: [email protected] [mailto:[email protected]] > Sent: 24 March 2014 11:57 > To: [email protected]; OpenSIPS users mailling list > Subject: Re: [OpenSIPS-Users] Problem using radius_send_auth > > Try using opensips dictionary. > Regards, > Qasim > > > On Mon, Mar 24, 2014 at 4:37 PM, John Quick <[email protected]> > wrote: > I'm using OpenSIPS version 1.8.2 with radiusclient-ng. > I need to be able to make custom radius authentication requests using > radius_send_auth (a function in the aaa_radius module). > > The first time I tried, it failed and reported an error that > Message-Authenticator was an unknown attribute. > I found the missing attribute in dictionary.rfc2869, but when I include > this > dictionary, OpenSIPS fails to start and reports an error that seems to > point > to the "octets" attribute type being unrecognised. > > Any help with this would be greatly appreciated. > > John Quick > Smartvox Limited > Web: www.smartvox.co.uk > > > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
