<div>Hi, </div><div><br></div><div>Thanks for replying, Norman I've added the line in dictionary.opensips i.e. ATTRIBUTE       Source-IP              214     string, and start freeradius service and make a call and still getting same error as I mentioned on my previous mail.</div>
<div><br></div><div>Kindly assist me to resolve this problem because its quite too long that I'm this problem.</div><div><br></div><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div class="h5"><div class="gmail_quote">Date: Thu, 04 Mar 2010 12:52:49 -0500<br>
From: Norman Brandinger <<a href="mailto:norm@goes.com" target="_blank">norm@goes.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" target="_blank">users@lists.opensips.org</a>><br>
Message-ID: <<a href="mailto:4B8FF371.6000006@goes.com" target="_blank">4B8FF371.6000006@goes.com</a>><br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
I've got the following (among other attributes) defined in a<br>
local.dictionary file:<br>
<br>
ATTRIBUTE       Source-IP              214     string<br>
<br>
<br>
If it's added to opensips.dictionary, then it no longer needs to be in<br>
my local.dictionary.<br>
<br>
Regards,<br>
Norm<br>
<br>
Bogdan-Andrei Iancu wrote:<br>
> Hi Ahmed,<br>
><br>
> Do you see in any RADIUS dictionary the Source-IP AVP ? if yes, please<br>
> post here its definition.<br>
><br>
> Regards,<br>
> Bogdan<br>
><br>
> Ahmed Munir wrote:<br>
><br>
>> Hi,<br>
>><br>
>> Thanks for your reply, I've copied dictionary.opensips to<br>
>> /etc/freeradius directory and added few lines in it after that when I<br>
>> make the call I'm getting this same error as mentioned in my previous<br>
>> mail earlier, I even copied the dictionary.freeradius to<br>
>> /etc/clientradius_ng directory as well.<br>
>><br>
>> Lines for dictionary.opensips are listed below;<br>
>><br>
>> #### Attributes ###<br>
>><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-Method           101  integer<br>
>><br>
>> ### Service-Type Values ###<br>
>> VALUE Service-Type       Group-Check      12   # Proprietary, group_radius<br>
>> VALUE Service-Type       Sip-Session      15<br>
>> VALUE Service-Type       SIP-Caller-AVPs  30   # Proprietary, avp_radius<br>
>> VALUE Service-Type       SIP-Callee-AVPs  31   # Proprietary, avp_radius<br>
>><br>
>> ### Sip-Method Values ###<br>
>> VALUE Sip-Method         Undefined      0<br>
>> VALUE Sip-Method         Invite         1<br>
>> VALUE Sip-Method         Cancel         2<br>
>> VALUE Sip-Method         Ack            4<br>
>> VALUE Sip-Method         Bye            8<br>
>> VALUE Sip-Method         Info           16<br>
>> VALUE Sip-Method         Options        32<br>
>> VALUE Sip-Method         Update         64<br>
>> VALUE Sip-Method         Register       128<br>
>> VALUE Sip-Method         Message        256<br>
>> VALUE Sip-Method         Subscribe      512<br>
>> VALUE Sip-Method         Notify         1024<br>
>> VALUE Sip-Method         Prack          2048<br>
>> VALUE Sip-Method         Refer          4096<br>
>> VALUE Sip-Method         Other          8192<br>
>><br>
>><br>
>> And my dictionary settings are listed below;<br>
>><br>
>> dictionary(freeradius)<br>
>><br>
>> $INCLUDE        /opt/freeradius/share/freeradius/dictionary<br>
>> $INCLUDE        /opt/freeradius/etc/raddb/dictionary.opensips<br>
>><br>
>> dictionary(radiusclient)<br>
>><br>
>> ##At the end of the line<br>
>> $INCLUDE  /opt/freeradius/etc/raddb/dictionary.opensips<br>
>><br>
>><br>
>> Kindly tell me from which section I'm facing this problem. Waiting for<br>
>> your reply.<br>
>><br>
>> Date: Fri, 26 Feb 2010 15:21:03 +0200<br>
>> From: Andrew Pogrebennyk <<a href="mailto:andrew.pogrebennyk@portaone.com" target="_blank">andrew.pogrebennyk@portaone.com</a><br>
>> <mailto:<a href="mailto:andrew.pogrebennyk@portaone.com" target="_blank">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" target="_blank">users@lists.opensips.org</a><br>
>> <mailto:<a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>>><br>
>> Message-ID: <<a href="mailto:4B87CABF.9000209@portaone.com" target="_blank">4B87CABF.9000209@portaone.com</a><br>
>> <mailto:<a href="mailto:4B87CABF.9000209@portaone.com" target="_blank">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>
>><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<br>
>>><br>
>> inserted<br>
>><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>
>> --<br>
>> Regards,<br>
>><br>
>> Ahmed Munir<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> ------------------------------------------------------------------------<br>
>><br>
>> _______________________________________________<br>
>> Users mailing list<br>
>> <a href="mailto:Users@lists.opensips.org" target="_blank">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>
><br>
><br>
<br>
<br><br></div></div></div></blockquote></div><br>-- <br>Regards,<br><br>Ahmed Munir<br><br><br>