For now, <br>I add quota on opensips.subscriber table;<br>I just change in opensips.cfg this case 1 part:<br><br>        switch ($retcode) {<br>        case 2:<br>            # Call with no limit<br>                        xlog(&quot;L_INFO&quot;, &quot;Call control: no limit\n&quot;);<br>
        case 1:<br>            # Call with a limit under callcontrol management (either prepaid or postpaid)<br>                        xlog(&quot;L_INFO&quot;, &quot;Call control: limit under callcontrol management \n&quot;);<br>
                if (db_is_user_in(&quot;From&quot;,&quot;quota&quot;)) {<br>                        sl_send_reply(&quot;403&quot;, &quot;Call denied. Monthly Quota is spent.&quot;);<br>                        xlog(&quot;L_INFO&quot;,&quot;Quota atteint&quot;);<br>
                        exit;<br>                } else { <br>                    xlog(&quot;L_INFO&quot;,&quot;Quota pas encore atteint&quot;);<br>                }<br>            break;<br><br>But the opensips.grp table is still empty, same for cdrtool.quota_usage table.<br>
Why the quotaCheck.php cron is not doing his job?<br><br><br><div class="gmail_quote">On Tue, Feb 2, 2010 at 11:53 PM, osiris123d <span dir="ltr">&lt;<a href="mailto:duane.larson@gmail.com">duane.larson@gmail.com</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;"><br>
Haven&#39;t worked with Quota yet, but perhaps this will get you started down the<br>
right path<br>
<br>
Look at the &quot;bye_on_timeout_flag&quot; modparam in Dialog module<br>
<a href="http://www.opensips.org/html/docs/modules/devel/dialog.html#bye-on-timeout-flag-id" target="_blank">http://www.opensips.org/html/docs/modules/devel/dialog.html#bye-on-timeout-flag-id</a><br>
<br>
<br>
Heard about the &quot;bye_on_timeout_flag&quot; on this post<br>
<a href="http://lists.opensips.org/pipermail/users/2008-October/001116.html" target="_blank">http://lists.opensips.org/pipermail/users/2008-October/001116.html</a><br>
<font color="#888888">--<br>
View this message in context: <a href="http://n2.nabble.com/Quota-system-problem-tp4502804p4503572.html" target="_blank">http://n2.nabble.com/Quota-system-problem-tp4502804p4503572.html</a><br>
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.<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>
</font></blockquote></div><br><br clear="all"><br>-- <br>Peers<br>