[OpenSIPS-Users] AAA sets with radius_send_acct()
Jeff Pyle
jpyle at fidelityvoice.com
Thu Oct 29 03:05:35 CET 2009
Yes, yes I was. acc_aaa_request() did the trick. Thanks.
- Jeff
On 10/28/09 4: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
More information about the Users
mailing list