[OpenSIPS-Users] Quota system problem

Pedersen R. peersen at gmail.com
Thu Feb 25 14:53:59 CET 2010


My problem is that the function below is not returning that the call is from
local:

   function isCallerLocal() {
        if
(in_array($this->aNumberDomain,array_keys($this->CDRS->localDomains))) {
            $this->CallerIsLocal=true;
        }
    }

Even if  $this->aNumberDomain has the good local domain from table
opensips.domain.

I need help!!!


On Wed, Feb 24, 2010 at 3:32 PM, Pedersen R. <peersen at gmail.com> wrote:

> Which part of cdrtool script has to update the column cost of quota_usage
> ??
> The table quota_usage is unchanged.
>
> [?] Till now, I don't have quota working
>
> Any idea?
>
>
>
> On Tue, Feb 2, 2010 at 11:53 PM, osiris123d <duane.larson at gmail.com>wrote:
>>
>>>
>>> Haven't worked with Quota yet, but perhaps this will get you started down
>>> the
>>> right path
>>>
>>> Look at the "bye_on_timeout_flag" modparam in Dialog module
>>>
>>> http://www.opensips.org/html/docs/modules/devel/dialog.html#bye-on-timeout-flag-id
>>>
>>>
>>> Heard about the "bye_on_timeout_flag" on this post
>>> http://lists.opensips.org/pipermail/users/2008-October/001116.html
>>> --
>>> View this message in context:
>>> http://n2.nabble.com/Quota-system-problem-tp4502804p4503572.html
>>> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>
>>
>>
>> --
>> Peers
>>
>
>
>
>
> --
> Peers
>



-- 
Peers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100225/91f9fc9b/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 97 bytes
Desc: not available
Url : http://lists.opensips.org/pipermail/users/attachments/20100225/91f9fc9b/attachment.gif 


More information about the Users mailing list