[Spce-user] Fraud Prevention

Martin Wong martin.wong at binaryelements.com.au
Thu May 2 04:24:33 EDT 2013


Hi Andreas, so I've updated ngcp and do a config apply. All is ok and I see
the new script there.

I have 0.10 for the account fraud daily limit with outgoing lock. However,
after running the /usr/sbin/ngcp-fraud-daily-lock, it is not locking the
account up.

Under account balance, I have $0.00 and also there is a $0.05 under "Spent
this billing interval"

Can you let me know how the account balance co-relate to the fraud limits?
How does the "Spent this billing interval" get calculated and also how do I
define an interval? Is it a month?

Sorry but if you can sort of help me understand how it works, it'll be much
appreciated.




On Thu, May 2, 2013 at 6:15 PM, Martin Wong <
martin.wong at binaryelements.com.au> wrote:

> Hi Andreas, my bad. The one I have is ngcp-fraud-auto-lock only. I will
> get the updates and let you know once I play around with things.
>
>
> On Thu, May 2, 2013 at 5:54 PM, Andreas Granig <agranig at sipwise.com>wrote:
>
>> Hi,
>>
>>
>> On 05/02/2013 09:35 AM, Martin Wong wrote:
>>
>>> Hi Andreas, no problems. I thought I was missing something...
>>>
>>> There is a /usr/sbin/ngcp-fraud-daily-__**lock script available though
>>>
>>
>> Hm... that's interesting. Can you please provide the output of "dpkg -S
>> /usr/sbin/ngcp-fraud-daily-**lock", and if it provides a package name
>> for that (probably "ngcp-ossbss-billing"?), provide the output of "dpkg -l
>> $packagename" (replace $packagename with the package you got in the
>> previous command).
>>
>>
>>  there is no
>>> /etc/ngcp-config/templates/__**etc/cron.d/ngcp-fraud-daily-__**lock.tt2
>>>
>>>
>>> Anyways, let me know once you get it into the repo and also how to get
>>> the script if you can.
>>>
>>
>> Well, I've pushed an update, but I'm a bit worried that you actually have
>> the /usr/sbin/ngcp-fraud-daily-**lock script already. Are you sure it's
>> not /usr/sbin/ngcp-fraud-auto-**lock? I checked on my 2.8 test
>> installation, and there the script was definitely missing (until I did an
>> "apt-get update && apt-get upgrade && ngcpcfg apply" a couple of minutes
>> ago, which is the way how to apply new patches).
>>
>> Andreas
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20130502/fa740b0f/attachment-0001.html>


More information about the Spce-user mailing list