[OpenSIPS-Users] Getting Error When Configuring OpenSIPS + FreeRadius
Norman Brandinger
norm at goes.com
Fri Mar 5 17:11:16 CET 2010
Please post the current error that you're receiving so that someone on
the list might be able to point you in the correct direction.
Regards,
Norm
Ahmed Munir wrote:
> Hi,
>
> 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.
>
> Kindly assist me to resolve this problem because its quite too long
> that I'm this problem.
>
>
> Date: Thu, 04 Mar 2010 12:52:49 -0500
> From: Norman Brandinger <norm at goes.com <mailto:norm at goes.com>>
> Subject: Re: [OpenSIPS-Users] Getting Error When Configuring
> OpenSIPS
> + FreeRadius
> To: OpenSIPS users mailling list <users at lists.opensips.org
> <mailto:users at lists.opensips.org>>
> Message-ID: <4B8FF371.6000006 at goes.com
> <mailto:4B8FF371.6000006 at goes.com>>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> I've got the following (among other attributes) defined in a
> local.dictionary file:
>
> ATTRIBUTE Source-IP 214 string
>
>
> If it's added to opensips.dictionary, then it no longer needs to be in
> my local.dictionary.
>
> Regards,
> Norm
>
> Bogdan-Andrei Iancu wrote:
> > Hi Ahmed,
> >
> > Do you see in any RADIUS dictionary the Source-IP AVP ? if yes,
> please
> > post here its definition.
> >
> > Regards,
> > Bogdan
> >
> > Ahmed Munir wrote:
> >
> >> Hi,
> >>
> >> 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.
> >>
> >> Lines for dictionary.opensips are listed below;
> >>
> >> #### Attributes ###
> >>
> >> 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-Method 101 integer
> >>
> >> ### Service-Type Values ###
> >> VALUE Service-Type Group-Check 12 # Proprietary,
> group_radius
> >> VALUE Service-Type Sip-Session 15
> >> VALUE Service-Type SIP-Caller-AVPs 30 # Proprietary,
> avp_radius
> >> VALUE Service-Type SIP-Callee-AVPs 31 # Proprietary,
> avp_radius
> >>
> >> ### Sip-Method Values ###
> >> VALUE Sip-Method Undefined 0
> >> VALUE Sip-Method Invite 1
> >> VALUE Sip-Method Cancel 2
> >> VALUE Sip-Method Ack 4
> >> VALUE Sip-Method Bye 8
> >> VALUE Sip-Method Info 16
> >> VALUE Sip-Method Options 32
> >> VALUE Sip-Method Update 64
> >> VALUE Sip-Method Register 128
> >> VALUE Sip-Method Message 256
> >> VALUE Sip-Method Subscribe 512
> >> VALUE Sip-Method Notify 1024
> >> VALUE Sip-Method Prack 2048
> >> VALUE Sip-Method Refer 4096
> >> VALUE Sip-Method Other 8192
> >>
> >>
> >> And my dictionary settings are listed below;
> >>
> >> dictionary(freeradius)
> >>
> >> $INCLUDE /opt/freeradius/share/freeradius/dictionary
> >> $INCLUDE /opt/freeradius/etc/raddb/dictionary.opensips
> >>
> >> dictionary(radiusclient)
> >>
> >> ##At the end of the line
> >> $INCLUDE /opt/freeradius/etc/raddb/dictionary.opensips
> >>
> >>
> >> Kindly tell me from which section I'm facing this problem.
> Waiting for
> >> your reply.
> >>
> >> Date: Fri, 26 Feb 2010 15:21:03 +0200
> >> From: Andrew Pogrebennyk <andrew.pogrebennyk at portaone.com
> <mailto:andrew.pogrebennyk at portaone.com>
> >> <mailto:andrew.pogrebennyk at portaone.com
> <mailto:andrew.pogrebennyk at portaone.com>>>
> >> Subject: Re: [OpenSIPS-Users] Getting Error When Configuring
> OpenSIPS
> >> + FreeRadius`
> >> To: OpenSIPS users mailling list <users at lists.opensips.org
> <mailto:users at lists.opensips.org>
> >> <mailto:users at lists.opensips.org
> <mailto:users at lists.opensips.org>>>
> >> Message-ID: <4B87CABF.9000209 at portaone.com
> <mailto:4B87CABF.9000209 at portaone.com>
> >> <mailto:4B87CABF.9000209 at portaone.com
> <mailto:4B87CABF.9000209 at portaone.com>>>
> >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> >>
> >> On 26.02.2010 14:33, Ahmed Munir wrote:
> >>
> >>> Feb 26 14:47:47 rose /usr/local/sbin/opensips[25988]:
> >>> ERROR:aaa_radius:rad_avp_add: failure
> >>> Feb 26 14:47:47 rose /usr/local/sbin/opensips[25988]:
> >>> ERROR:acc:acc_aaa_request: failed to add Source-IP, 13
> >>>
> >>>
> >>> And I also check table radacct in mysql database, no records are
> >>>
> >> inserted
> >>
> >>> into it.
> >>>
> >> I think this means an incorrect RADIUS dictionary. You should
> verify
> >> that the extra attributes you have defined are present there.
> >>
> >> --
> >> Sincerely,
> >> Andrew Pogrebennyk
> >>
> >>
> >> --
> >> Regards,
> >>
> >> Ahmed Munir
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> ------------------------------------------------------------------------
> >>
> >> _______________________________________________
> >> Users mailing list
> >> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
> >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >>
> >>
> >
> >
> >
>
>
>
>
> --
> Regards,
>
> Ahmed Munir
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list