My problem is that the function below is not returning that the call is from local:<br><br>   function isCallerLocal() {<br>        if (in_array($this-&gt;aNumberDomain,array_keys($this-&gt;CDRS-&gt;localDomains))) {<br>            $this-&gt;CallerIsLocal=true;<br>
        }<br>    }<br><br>Even if  $this-&gt;aNumberDomain has the good local domain from table opensips.domain.<br><br>I need help!!!<br><br><br><div class="gmail_quote">On Wed, Feb 24, 2010 at 3:32 PM, Pedersen R. <span dir="ltr">&lt;<a href="mailto:peersen@gmail.com">peersen@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;">Which part of cdrtool script has to update the column cost of quota_usage ??<br>The table quota_usage is unchanged.<br>
<br><img goomoji="364" style="margin: 0pt 0.2ex; vertical-align: middle;" src="cid:364@goomoji.gmail"> Till now, I don&#39;t have quota working<br>
<br>Any idea?<div><div></div><div class="h5"><br><br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div>
<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" target="_blank">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" 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>
</font></blockquote></div><br><br clear="all"><br></div></div><font color="#888888">-- <br>Peers<br>
</font></blockquote><br></div><br><br clear="all"><br></div></div><font color="#888888">-- <br>Peers<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Peers<br>