[OpenSIPS-Users] AAA sets with radius_send_acct()

Irina Stanescu ironmissy at gmail.com
Wed Oct 28 11:49:49 CET 2009


Hi Jeff,

Actually, you are getting that error because the brackets are not properly
closed. You missed one ')' for sets1.
I see nothing wrong other than that.

The radius_send_acct function makes acc_aaa_request used with aaa_extra some
how redundant.

Regards,
Irina Stanescu


On Wed, Oct 28, 2009 at 10:24 AM, Alex Massover <alex at jajah.com> wrote:

> Hi!
>
> You're mixing 2 different functions from 2 different modules:
>
> aaa_radius::radius_send_acct() which takes parameters from
> modparam("aaa_radius","sets"....
> and
> acc::acc_aaa_request() which takes parameters from modparam("acc",
> "aaa_extra",
>
> Probably you need to use acc_aaa_request() (and not radius_send_acct())
> inside a local route and it will take a parameters from aaa_extra.
>
> --
> Best Regards,
> Alex Massover
> VoIP R&D TL
> Jajah Inc.
> > -----Original Message-----
> > From: users-bounces at lists.opensips.org [mailto:users-
> > bounces at lists.opensips.org] On Behalf Of Jeff Pyle
> > Sent: Wednesday, October 28, 2009 12:05 AM
> > To: OpenSIPS users mailling list
> > Subject: [OpenSIPS-Users] AAA sets with radius_send_acct()
> >
> > Hello,
> >
> > I am attempting to make use of radius_send_acct() inside local_route to
> > account for BYEs generated by the dialog module.  I have a question
> > about
> > the set it references.
> >
> > The documentation does a good job explaining how to create a set.  It
> > doesn't say whether radius_send_acct() uses the existing aaa_extra
> > module
> > parameter definitions.
> >
> > I already have the following defined:
> >
> > modparam("acc", "aaa_extra", "User-Name=$Au; \
> >                               Calling-Station-Id=$fu; \
> >                               Called-Station-Id=$tu; \
> >                               Sip-Translated-Request-URI=$ru; \
> >                               Sip-RPid=$avp(s:rpid); \
> >                               Source-IP=$si; \
> >                               Source-Port=$sp; \
> >                               SIP-Proxy-IP=$Ri; \
> >                               Canonical-URI=$avp(s:can_uri); \
> >                               Billing-Party=$avp(s:billing_party); \
> >                               Divert-Reason=$avp(s:divert_reason); \
> >                               User-Agent=$hdr(user-agent); \
> >                               Contact=$hdr(contact); \
> >                               Event=$hdr(event); \
> >                               ENUM-TLD=$avp(s:enum_tld)")
> >
> > Would I need to reference this all again for the new set to be used
> > with
> > radius_send_acct()?  Or, do I create a mostly empty set and all this
> > aaa_extra will be there already?
> >
> >
> > - Jeff
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
> > This mail was received via Mail-SeCure System.
> >
>
>
> This mail was sent via Mail-SeCure System.
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20091028/ecf6fdfd/attachment.htm 


More information about the Users mailing list