Hi,<div><br></div><div>Thanks for your reply, I've copied dictionary.opensips to /etc/freeradius directory and added few lines in it after that when I make the call I'm getting this same error as mentioned in my previous mail earlier, I even copied the dictionary.freeradius to /etc/clientradius_ng directory as well.</div>
<div><br></div><div>Lines for dictionary.opensips are listed below;</div><div><br></div><div><div>#### Attributes ###</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 SIP-AVP 225 string # Proprietary, avp_radius</div><div>ATTRIBUTE Sip-Method 101 integer</div>
<div><br></div><div>### Service-Type Values ###</div><div>VALUE Service-Type Group-Check 12 # Proprietary, group_radius</div><div>VALUE Service-Type Sip-Session 15</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>### 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 Other 8192</div><div><br></div></div><div><br></div><div>And my dictionary settings are listed below;</div>
<div><br></div><div>dictionary(freeradius)</div><div><br></div><div><div>$INCLUDE /opt/freeradius/share/freeradius/dictionary</div><div>$INCLUDE /opt/freeradius/etc/raddb/dictionary.opensips</div><div><br></div>
</div><div>dictionary(radiusclient)</div><div><br></div><div>##At the end of the line</div><div>$INCLUDE /opt/freeradius/etc/raddb/dictionary.opensips</div><div><div><br></div><div><br></div><div>Kindly tell me from which section I'm facing this problem. Waiting for your reply.</div>
<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Date: Fri, 26 Feb 2010 15:21:03 +0200<br>
From: Andrew Pogrebennyk <<a href="mailto:andrew.pogrebennyk@portaone.com">andrew.pogrebennyk@portaone.com</a>><br>
Subject: Re: [OpenSIPS-Users] Getting Error When Configuring OpenSIPS<br>
+ FreeRadius`<br>
To: OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>><br>
Message-ID: <<a href="mailto:4B87CABF.9000209@portaone.com">4B87CABF.9000209@portaone.com</a>><br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
On 26.02.2010 14:33, Ahmed Munir wrote:<br>
> Feb 26 14:47:47 rose /usr/local/sbin/opensips[25988]:<br>
> ERROR:aaa_radius:rad_avp_add: failure<br>
> Feb 26 14:47:47 rose /usr/local/sbin/opensips[25988]:<br>
> ERROR:acc:acc_aaa_request: failed to add Source-IP, 13<br>
><br>
><br>
> And I also check table radacct in mysql database, no records are inserted<br>
> into it.<br>
<br>
I think this means an incorrect RADIUS dictionary. You should verify<br>
that the extra attributes you have defined are present there.<br>
<br>
--<br>
Sincerely,<br>
Andrew Pogrebennyk<br>
<br><br></blockquote></div>-- <br>Regards,<br><br>Ahmed Munir<br><br><br>
</div>