Hi Jeff,<div><br></div><div>Actually, you are getting that error because the brackets are not properly closed. You missed one &#39;)&#39; 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">&lt;<a href="mailto:alex@jajah.com">alex@jajah.com</a>&gt;</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&#39;re mixing 2 different functions from 2 different modules:<br>
<br>
aaa_radius::radius_send_acct() which takes parameters from modparam(&quot;aaa_radius&quot;,&quot;sets&quot;....<br>
and<br>
acc::acc_aaa_request() which takes parameters from modparam(&quot;acc&quot;, &quot;aaa_extra&quot;,<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&amp;D TL<br>
Jajah Inc.<br>
<div class="im">&gt; -----Original Message-----<br>
&gt; 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">&gt; <a href="mailto:bounces@lists.opensips.org">bounces@lists.opensips.org</a>] On Behalf Of Jeff Pyle<br>
&gt; Sent: Wednesday, October 28, 2009 12:05 AM<br>
&gt; To: OpenSIPS users mailling list<br>
</div><div><div></div><div class="h5">&gt; Subject: [OpenSIPS-Users] AAA sets with radius_send_acct()<br>
&gt;<br>
&gt; Hello,<br>
&gt;<br>
&gt; I am attempting to make use of radius_send_acct() inside local_route to<br>
&gt; account for BYEs generated by the dialog module.  I have a question<br>
&gt; about<br>
&gt; the set it references.<br>
&gt;<br>
&gt; The documentation does a good job explaining how to create a set.  It<br>
&gt; doesn&#39;t say whether radius_send_acct() uses the existing aaa_extra<br>
&gt; module<br>
&gt; parameter definitions.<br>
&gt;<br>
&gt; I already have the following defined:<br>
&gt;<br>
&gt; modparam(&quot;acc&quot;, &quot;aaa_extra&quot;, &quot;User-Name=$Au; \<br>
&gt;                               Calling-Station-Id=$fu; \<br>
&gt;                               Called-Station-Id=$tu; \<br>
&gt;                               Sip-Translated-Request-URI=$ru; \<br>
&gt;                               Sip-RPid=$avp(s:rpid); \<br>
&gt;                               Source-IP=$si; \<br>
&gt;                               Source-Port=$sp; \<br>
&gt;                               SIP-Proxy-IP=$Ri; \<br>
&gt;                               Canonical-URI=$avp(s:can_uri); \<br>
&gt;                               Billing-Party=$avp(s:billing_party); \<br>
&gt;                               Divert-Reason=$avp(s:divert_reason); \<br>
&gt;                               User-Agent=$hdr(user-agent); \<br>
&gt;                               Contact=$hdr(contact); \<br>
&gt;                               Event=$hdr(event); \<br>
&gt;                               ENUM-TLD=$avp(s:enum_tld)&quot;)<br>
&gt;<br>
&gt; Would I need to reference this all again for the new set to be used<br>
&gt; with<br>
&gt; radius_send_acct()?  Or, do I create a mostly empty set and all this<br>
&gt; aaa_extra will be there already?<br>
&gt;<br>
&gt;<br>
&gt; - Jeff<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
&gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;<br>
</div></div>&gt; This mail was received via Mail-SeCure System.<br>
&gt;<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>