<div dir="ltr">Rodrigo, <br><br>did you check if this file is being included by your main dictionary file ? ( /etc/radiusclient-ng/dictionary ) (on client and on the server)<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2013/10/7 Rodrigo Ferreira <span dir="ltr"><<a href="mailto:rsferreira08@gmail.com" target="_blank">rsferreira08@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi guys,<div><br></div><div>I'm stucked trying to get my freeradius working with my OpenSIPs. I'm getting this error from my OpenSIPs.</div><div><br></div><div><div>Oct 7 12:00:00 opensips /sbin/opensips[11265]: rc_avpair_new: unknown attribute 0</div>
<div>Oct 7 12:00:00 opensips /sbin/opensips[11265]: ERROR:aaa_radius:rad_avp_add: failure</div><div>Oct 7 12:00:00 opensips /sbin/opensips[11265]: ERROR:acc:acc_aaa_request: failed to add Sip-Response-Code, 2</div><div>
<br></div><div><div dir="ltr"><div>I saw a few topics that tells me to check my radiusclient dictionary, but I did that several times, and its ok, both freeradius and radiusclient use the same dictionary.</div><div><br></div>
<div><div>root@opensips:/etc/radiusclient-ng# cat /etc/freeradius/dictionary.opensips</div><div>#</div><div># SIP RADIUS attributes</div><div>#</div><div># Schulzrinne indicates attributes according to</div><div># draft-schulzrinne-sipping-radius-accounting-00</div>
<div>#</div><div># Proprietary indicates an attribute that hasn't</div><div># been standardized</div><div>#</div><div>#</div><div># NOTE: All standard (IANA registered) attributes are</div><div># defined in the default dictionary of the</div>
<div># radiusclient-ng library.</div><div>#</div><div><br></div><div>### Take standard attributes from the radiusclient-ng dictionaries ###</div><div><br></div><div>#$INCLUDE /etc/radiusclient-ng/dictionary</div>
<div><br></div><div>### SIP Attributes ###</div><div>ATTRIBUTE Sip-Method 101 integer # Schulzrinne, acc</div><div>ATTRIBUTE Sip-Response-Code 102 integer # Schulzrinne, acc</div><div>
ATTRIBUTE Sip-Cseq 103 string # Schulzrinne, acc</div><div>ATTRIBUTE Sip-To-Tag 104 string # Schulzrinne, acc</div><div>ATTRIBUTE Sip-From-Tag 105 string # Schulzrinne, acc</div>
<div>ATTRIBUTE Sip-Branch-ID 106 string</div><div>ATTRIBUTE Sip-Translated-Request-URI 107 string # Proprietary, acc</div><div>ATTRIBUTE Sip-Uri-User 208 string # Proprietary, auth_radius</div>
<div>ATTRIBUTE Sip-Group 211 string # Proprietary, group_radius</div><div>ATTRIBUTE Sip-Rpid 213 string # Proprietary, auth_radius</div><div>ATTRIBUTE Billing-Party 218 string</div>
<div>ATTRIBUTE SIP-AVP 225 string # Proprietary, avp_radius</div><div><br></div><div>### Sip-Method Values ###</div><div>VALUE Sip-Method Undefined 0</div><div>VALUE Sip-Method Invite 1</div>
<div>VALUE Sip-Method Cancel 2</div><div>VALUE Sip-Method Ack 4</div><div>VALUE Sip-Method Bye 8</div><div>VALUE Sip-Method Info 16</div><div>VALUE Sip-Method Options 32</div>
<div>VALUE Sip-Method Update 64</div><div>VALUE Sip-Method Register 128</div><div>VALUE Sip-Method Message 256</div><div>VALUE Sip-Method Subscribe 512</div><div>
VALUE Sip-Method Notify 1024</div>
<div>VALUE Sip-Method Prack 2048</div><div>VALUE Sip-Method Refer 4096</div><div>VALUE Sip-Method Publish 8192</div><div>VALUE Sip-Method Other 16384</div>
<div><br></div><div>### Sip-Response-Code Values ###</div><div>VALUE Sip-Response-Code Undefined 0</div><div>VALUE Sip-Response-Code Invite 1</div><div>VALUE Sip-Response-Code Cancel 2</div><div>VALUE Sip-Response-Code Ack 4</div>
<div>VALUE Sip-Response-Code Bye 8</div><div>VALUE Sip-Response-Code Info 16</div><div>VALUE Sip-Response-Code Options 32</div><div>VALUE Sip-Response-Code Update 64</div><div>VALUE Sip-Response-Code Register 128</div>
<div>VALUE Sip-Response-Code Message 256</div><div>VALUE Sip-Response-Code Subscribe 512</div><div>VALUE Sip-Response-Code Notify 1024</div><div>VALUE Sip-Response-Code Prack 2048</div><div>
VALUE Sip-Response-Code Refer 4096</div><div>VALUE Sip-Response-Code Publish 8192</div><div>VALUE Sip-Response-Code Other 16384</div><div><br></div><div>### Acct-Status-Type Values ###</div><div>
VALUE Acct-Status-Type Start 1 # RFC2866, acc</div><div>VALUE Acct-Status-Type Stop 2 # RFC2866, acc</div><div>VALUE Acct-Status-Type Failed 15 # RFC2866, acc</div>
<div><br></div><div>### Service-Type Values ###</div><div>VALUE Service-Type Call-Check 10 # RFC2865, uri_radius</div><div>VALUE Service-Type Group-Check 12 # Proprietary, group_radius</div>
<div>VALUE Service-Type Sip-Session 15 # Schulzrinne, acc, auth_radius</div><div>VALUE Service-Type SIP-Caller-AVPs 30 # Proprietary, avp_radius</div><div>VALUE Service-Type SIP-Callee-AVPs 31 # Proprietary, avp_radius</div>
<div><br></div><div>### Attributes added by AG Projects ###</div><div>ATTRIBUTE Source-IP 214 string</div><div>ATTRIBUTE Source-Port 215 string</div><div>ATTRIBUTE Canonical-URI 216 string</div>
<div>ATTRIBUTE Delay-Time 217 string</div><div>ATTRIBUTE Divert-Reason 219 string</div><div>ATTRIBUTE X-RTP-Stat 220 string</div><div>ATTRIBUTE From-Header 221 string</div>
<div>ATTRIBUTE User-Agent 222 string</div><div>ATTRIBUTE Contact 223 string</div><div>ATTRIBUTE Event 224 string</div><div>#ATTRIBUTE Event-Timestamp 230 string</div>
<div>ATTRIBUTE SIP-Proxy-IP 231 string</div><div>ATTRIBUTE ENUM-TLD 232 string</div></div><div><br></div><div><br></div><div>Any ideas?</div><div><br></div>Atenciosamente.<div>
Eng.° Rodrigo Ferreira</div>
<div>ITIL v3 Certified</div><div><br></div><div><a href="http://br.linkedin.com/pub/rodrigo-ferreira/31/757/901" target="_blank"><img height="19" width="96"></a><br>
</div></div></div>
</div></div>
<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></blockquote></div><br></div>