Hi Jeff,<div><br></div><div>Actually, you are getting that error because the brackets are not properly closed. You missed one ')' for sets1.</div><div>I see nothing wrong other than that.</div><div><br></div><div>The radius_send_acct function makes acc_aaa_request used with aaa_extra some how redundant. </div>
<div><br></div><div>Regards, </div><div>Irina Stanescu</div><div><br><br><div class="gmail_quote">On Wed, Oct 28, 2009 at 10:24 AM, Alex Massover <span dir="ltr"><<a href="mailto:alex@jajah.com">alex@jajah.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi!<br>
<br>
You're mixing 2 different functions from 2 different modules:<br>
<br>
aaa_radius::radius_send_acct() which takes parameters from modparam("aaa_radius","sets"....<br>
and<br>
acc::acc_aaa_request() which takes parameters from modparam("acc", "aaa_extra",<br>
<br>
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.<br>
<br>
--<br>
Best Regards,<br>
Alex Massover<br>
VoIP R&D TL<br>
Jajah Inc.<br>
<div class="im">> -----Original Message-----<br>
> From: <a href="mailto:users-bounces@lists.opensips.org">users-bounces@lists.opensips.org</a> [mailto:<a href="mailto:users-">users-</a><br>
</div><div class="im">> <a href="mailto:bounces@lists.opensips.org">bounces@lists.opensips.org</a>] On Behalf Of Jeff Pyle<br>
> Sent: Wednesday, October 28, 2009 12:05 AM<br>
> To: OpenSIPS users mailling list<br>
</div><div><div></div><div class="h5">> Subject: [OpenSIPS-Users] AAA sets with radius_send_acct()<br>
><br>
> Hello,<br>
><br>
> I am attempting to make use of radius_send_acct() inside local_route to<br>
> account for BYEs generated by the dialog module. I have a question<br>
> about<br>
> the set it references.<br>
><br>
> The documentation does a good job explaining how to create a set. It<br>
> doesn't say whether radius_send_acct() uses the existing aaa_extra<br>
> module<br>
> parameter definitions.<br>
><br>
> I already have the following defined:<br>
><br>
> modparam("acc", "aaa_extra", "User-Name=$Au; \<br>
> Calling-Station-Id=$fu; \<br>
> Called-Station-Id=$tu; \<br>
> Sip-Translated-Request-URI=$ru; \<br>
> Sip-RPid=$avp(s:rpid); \<br>
> Source-IP=$si; \<br>
> Source-Port=$sp; \<br>
> SIP-Proxy-IP=$Ri; \<br>
> Canonical-URI=$avp(s:can_uri); \<br>
> Billing-Party=$avp(s:billing_party); \<br>
> Divert-Reason=$avp(s:divert_reason); \<br>
> User-Agent=$hdr(user-agent); \<br>
> Contact=$hdr(contact); \<br>
> Event=$hdr(event); \<br>
> ENUM-TLD=$avp(s:enum_tld)")<br>
><br>
> Would I need to reference this all again for the new set to be used<br>
> with<br>
> radius_send_acct()? Or, do I create a mostly empty set and all this<br>
> aaa_extra will be there already?<br>
><br>
><br>
> - Jeff<br>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org">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>
</div></div>> This mail was received via Mail-SeCure System.<br>
><br>
<br>
<br>
This mail was sent via Mail-SeCure System.<br>
<div><div></div><div class="h5"><br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">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>
</div></div></blockquote></div><br></div>