can you give an example on how to do it?<br><br>really sorry but Im new in this <br><br>thanks<br><br><div class="gmail_quote">On Tue, Dec 7, 2010 at 6:36 PM, Bogdan-Andrei Iancu <span dir="ltr">&lt;<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi Vic,<br>
<br>
if you read the RADIUS Accounting RFC, you see that acc has nothing to do with credit or time duration checks.  Actually, with RADIUS, you need to use an Auth/Access Request to get information about how long the call should be allowed.<br>

<br>
Typically, with RADIUS, there is no cost involved. The proxy does an Access Request to the RADIUS server (when the call is received) to see for how long the call should be allowed. Then the proxy will allow the call only for that maximum period and it will generate the START and STOP accounting events to the RADIUS server.<br>

<br>
Regards,<br>
Bogdan<br>
<br>
Vic Jolin wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">
If I were to use freeradius for accounting, where should I put user list? and also I&#39;d like to check credit as well before calling.<br>
<br>
Thanks<br></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">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>
</blockquote>
<br>
<br>
-- <br>
Bogdan-Andrei Iancu<br>
OpenSIPS Bootcamp<br>
15 - 19 November 2010, Edison, New Jersey, USA<br>
<a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a><br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">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>
</blockquote></div><br>