<div dir="ltr"><div><div><div>hmm... here are the settings that i am using that works perfectly for me:<br><br></div><div>These files are required on opensips radiusclient-ng side:<br><br></div><b>/etc/radiusclient-ng/dictionary<br>
</b>...<br>$INCLUDE /etc/radiusclient-ng/dictionary.sip<br>...<br>ATTRIBUTE User-Name 1 string<br>ATTRIBUTE Password 2 string<br>ATTRIBUTE CHAP-Password 3 string<br>
...<br><br></div><b>/etc/radiusclient-ng/dictionary.sip (This is the opensips dictionary)<br></b><br></div>## $Id: dictionary.opensips 7139 2010-08-17 14:06:00Z razvancrainea $<b><br></b><div>...<br>ATTRIBUTE Sip-Uri-User 208 string # Proprietary, auth_radius<br>
ATTRIBUTE Sip-Group 211 string # Proprietary, group_radius<br>ATTRIBUTE Sip-Rpid 213 string # Proprietary, auth_radius<br>ATTRIBUTE SIP-AVP 225 string # Proprietary, avp_radius<br>
ATTRIBUTE Sip-Call-Duration 227 integer<br>ATTRIBUTE Sip-Call-Setuptime 228 integer<br>...<br><br><br></div><div>On freeradius end:<br></div><div><b>/usr/local/etc/raddb<br></b><br>$INCLUDE /usr/local/share/freeradius/dictionary<b><br>
</b></div><div><br><b><br>/usr/local/share/freeradius/dictionary<br></b>...<br>$INCLUDE dictionary.sip<br>...<br><br><b>/usr/local/share/freeradius/dictionary.sip</b> <b>(This is the opensips dictionary)</b><br><br>## $Id: dictionary.opensips 7139 2010-08-17 14:06:00Z razvancrainea $<br>
</div><div class="gmail_extra">...<br><br></div><div class="gmail_extra">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.<br>
<br>Regards,<br>Qasim<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 24, 2014 at 6:05 PM, John Quick <span dir="ltr"><<a href="mailto:john.quick@smartvox.co.uk" target="_blank">john.quick@smartvox.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I am already using the opensips dictionary.<br>
It does not contain the Message-Authenticator attribute.<br>
<br>
When I do not use dictionary.rfc2869, I get this error every time the<br>
radius_send_auth function is called:<br>
rc_avpair_gen: received unknown attribute 80 of length 18: 0x..<br>
<br>
When I include dictionary.rfc2869, I get this error on startup:<br>
rc_read_dictionary: invalid type on line 13 of dictionary<br>
/usr/local/etc/radiusclient-ng/dictionary.rfc2869<br>
<br>
John<br>
<br>
<br>
From: <a href="mailto:qasimakhan@gmail.com">qasimakhan@gmail.com</a> [mailto:<a href="mailto:qasimakhan@gmail.com">qasimakhan@gmail.com</a>]<br>
Sent: 24 March 2014 11:57<br>
To: <a href="mailto:john.quick@smartvox.co.uk">john.quick@smartvox.co.uk</a>; OpenSIPS users mailling list<br>
Subject: Re: [OpenSIPS-Users] Problem using radius_send_auth<br>
<div class=""><div class="h5"><br>
Try using opensips dictionary.<br>
Regards,<br>
Qasim<br>
<br>
<br>
On Mon, Mar 24, 2014 at 4:37 PM, John Quick <<a href="mailto:john.quick@smartvox.co.uk">john.quick@smartvox.co.uk</a>><br>
wrote:<br>
I'm using OpenSIPS version 1.8.2 with radiusclient-ng.<br>
I need to be able to make custom radius authentication requests using<br>
radius_send_auth (a function in the aaa_radius module).<br>
<br>
The first time I tried, it failed and reported an error that<br>
Message-Authenticator was an unknown attribute.<br>
I found the missing attribute in dictionary.rfc2869, but when I include this<br>
dictionary, OpenSIPS fails to start and reports an error that seems to point<br>
to the "octets" attribute type being unrecognised.<br>
<br>
Any help with this would be greatly appreciated.<br>
<br>
John Quick<br>
Smartvox Limited<br>
Web: <a href="http://www.smartvox.co.uk" target="_blank">www.smartvox.co.uk</a><br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
<br>
<br>
</div></div></blockquote></div><br></div></div>