[Spce-user] NGCP-FRAUD Protection doesn't work in 4.3.1

Matthias Hohl matthias.hohl at telematica.at
Tue May 3 09:54:44 EDT 2016


Hello again :)

1.) When do you believe this fix is coming?
Cause again another customer reached is daily limit and there was no lock :/

Customer # 227 has been locked due to exceeding the configured
credit balance threshold (73.49 >= 50.00) in the billing profile settings.

It is currently a bit risky not to lock automatically :/

2.) Yah using GUI is good, but then you have to manually set the value back on next month :/ not so workflow friendly.

thanks

-----Ursprüngliche Nachricht-----
Von: Kirill Solomko [mailto:ksolomko at sipwise.com] 
Gesendet: Dienstag, 3. Mai 2016 15:33
An: Matthias Hohl <matthias.hohl at telematica.at>
Cc: Spce-user at lists.sipwise.com
Betreff: Re: [Spce-user] NGCP-FRAUD Protection doesn't work in 4.3.1


> On 03 May 2016, at 15:26, Matthias Hohl <matthias.hohl at telematica.at> wrote:
> 
> Hello,
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: Kirill Solomko [mailto:ksolomko at sipwise.com]
> Gesendet: Dienstag, 3. Mai 2016 13:23
> An: Matthias Hohl <matthias.hohl at telematica.at>
> Cc: Spce-user at lists.sipwise.com
> Betreff: Re: [Spce-user] NGCP-FRAUD Protection doesn't work in 4.3.1
> 
> Hi Matthias,
> 
>> On 02 May 2016, at 18:31, Matthias Hohl <matthias.hohl at telematica.at> wrote:
>> 
>> Hello Kirill,
>> 
>> 1.) the problem with the amount was just at one customer, another one, which was notified from billing profile monthly limit, was set correct.
>> 2.) yah I know it is in cents not in EUR. Thanks for the advice how to change it.
>> 3.) on last day I had the problem, that a customer exceeded the monthly limit and I got the notifications but no lock... the setting is set right. is this still included in the bugfix?
>> Yes, that was because you had mixed inheritance (part of the limits were billing profile and part customer based).
> 
> No definitely not. The limit was ONLY at the billing profile and NO setting on customer based. It was not one of my test subscriber, it was a totally different one. I got no lock. So something is wrong with the locking module.

I think we are talking about the same. As I have mentioned earlier the upcoming “mixed inheritance” fix will address that. 

> 
>> 5.) so is it then possible to just set the limit in customer settings and the mail address will be used from billing profile setting? Like it works currently for the daily limit?
>> Yes, if a customer fraud preference is unset/empty, inheritance to a related billing profile will take place. Currently it determines it only based on customer fraud interval limit.
> 
>> 6.) if you update the script, it is maybe also possible to include a checkbox for "lock limit just for current month", and next month there is standard lock level? Would be nice feature, to top up the limit for the current month only.
>> 
>> We do not add new features in already released versions, only fixes.
>> I honestly see no reason in that as such limitation may very well go out of control, as if you set this month for a certain lock level but next month you forget to re-enable it if you were about to occasionally.
>> An example: normal practice for mobile operators is to lock you out (for your own good) if you are over a certain sane daily/monthly usage threshold and send a text message or an email in our case.
>> You call your operator and ask them to manually unlock you, or if you are really that talkative request them to manually disable/shift the threshold.
>> I truly appreciate that idea but that feature will less likely be implemented however we will keep that in mind and perhaps morph it into something alike.
> 
> Yah thats definitly what i wanted to say. the possibility to unlock a customer for the current billing period. Your example is exactly what I mean. If customer is over threshold, the operator can manually unlock for this period to a higher threshold level. If month is over, the old normal threshold level is back active.
> 
> 

You should either use GUI for that and/or the API interface. No need for anything extra to accomplish the scenario.

> Kind regards,
> Kirill
> 
>> -----Ursprüngliche Nachricht-----
>> Von: Kirill Solomko [mailto:ksolomko at sipwise.com]
>> Gesendet: Montag, 2. Mai 2016 16:31
>> An: Matthias Hohl <matthias.hohl at telematica.at>
>> Cc: Spce-user at lists.sipwise.com
>> Betreff: Re: [Spce-user] NGCP-FRAUD Protection doesn't work in 4.3.1
>> 
>> Hi Matthias,
>> 
>> I could not reproduce your scenario.
>> 
>> I have 30 cdrs for customer 5, for 2016-04-22 with 150 cents in sum().
>> 
>> mysql> select count(id), source_account_id,
>> mysql> date(from_unixtime(start_time)) from cdr group by 2,3;
>> +-----------+-------------------+---------------------------------+
>> | count(id) | source_account_id | date(from_unixtime(start_time)) |
>> +-----------+-------------------+---------------------------------+
>> |        10 |                 5 | 2016-04-21                      |
>> |        30 |                 5 | 2016-04-22                      |
>> |        10 |                41 | 2016-04-15                      |
>> |        10 |                41 | 2016-04-22                      |
>> 
>> Now the costs:
>> 
>> select sum(source_customer_cost), source_account_id,
>> date(from_unixtime(start_time)) from cdr group by 2,3;
>> +---------------------------+-------------------+---------------------------------+
>> | sum(source_customer_cost) | source_account_id |
>> | date(from_unixtime(start_time)) |
>> +---------------------------+-------------------+---------------------------------+
>> |                 50.000000 |                 5 | 2016-04-21                      |
>> |                150.000000 |                 5 | 2016-04-22                      |
>> |                 50.000000 |                41 | 2016-04-15                      |
>> |                 50.000000 |                41 | 2016-04-22
>> 
>> And customer_id 5 was triggered with the amount of 150 (cents). And the warning I received:
>> 
>> ———————
>> Customer # 5 is currently exceeding the configured credit balance threshold (1.50 >= 0.20) in the customer settings, but has not been locked due to configuration.
>> 
>> Affected subscribers:
>>>> ———————
>> 
>> Please keep in mind that you enter values in cents (150 = 150 cents) where in the email you see them divided by 100.
>> You can however adjust your template and define it there as “1.50 EUR >= 0.20 EUR”.
>> 
>> Also please bear in mind that in the billing profiles there is a checkbox “use reseller rates”, which means that if it is checked then the reseller defined fees will be used in the calculation (source_reseller_cost instead of source_customer_cost).
>> 
>> As for the new template value [% interval %] it will be available with next package update nearest days and also addressed “inheritance” minor fix when the “limit” value is not set in the customer fraud preferences but the other values are.
>> 
>> Kind regards,
>> Kirill
>> 
>>> On 01 May 2016, at 18:06, Matthias Hohl <matthias.hohl at telematica.at> wrote:
>>> 
>>> Hello Kirill,
>>> 
>>> Any news about the Fraud Check update..?
>>> 
>>> Thanks
>>> 
>>> Von meinem iPhone gesendet
>>> 
>>>> Am 26.04.2016 um 20:41 schrieb Matthias Hohl <matthias.hohl at telematica.at>:
>>>> 
>>>> Hi kirill,
>>>> 
>>>> Oh okay. Good to know :)
>>>> 
>>>> Then I will wait.
>>>> 
>>>> Any update about the "lock" problem?
>>>> 
>>>> Thanks for your time.
>>>> 
>>>> 
>>>> -----Ursprüngliche Nachricht-----
>>>> Von: Kirill Solomko [mailto:ksolomko at sipwise.com]
>>>> Gesendet: Dienstag, 26. April 2016 19:34
>>>> An: Matthias Hohl <matthias.hohl at telematica.at>
>>>> Cc: Spce-user at lists.sipwise.com
>>>> Betreff: Re: [Spce-user] NGCP-FRAUD Protection doesn't work in 
>>>> 4.3.1
>>>> 
>>>> Hi Matthias,
>>>> 
>>>> It is not available yet, it is going to be available as a package 
>>>> update nearest days.
>>>> 
>>>> Kind regards,
>>>> Kirill
>>>> 
>>>>>> On 26 Apr 2016, at 09:34, Matthias Hohl 
>>>>>> <matthias.hohl at telematica.at>
>>>>> wrote:
>>>>> 
>>>>> Hello,
>>>>> 
>>>>> i inserted [% interval %] in the mail template but it doesn't work.
>>>>> I can't see the "daily" or "monthly" information in the notification mail.
>>>> 
>>>>> 
>>>>> TEMPLATE:
>>>>> Customer # [% customer_id %] has been locked due to exceeding the 
>>>>> configured credit balance threshold ([% interval_cost %] >= [% 
>>>>> interval_limit %]) in the [% type %] [% interval %] settings.
>>>>> 
>>>>> MAIL:
>>>>> Customer # 6 has been locked due to exceeding the configured 
>>>>> credit balance threshold (178.59 >= 20.00) in the customer  settings.
>>>>> 
>>>>> 
>>>>> 
>>>>> -----Ursprüngliche Nachricht-----
>>>>> Von: Kirill Solomko [mailto:ksolomko at sipwise.com]
>>>>> Gesendet: Montag, 25. April 2016 23:40
>>>>> An: Matthias Hohl <matthias.hohl at telematica.at>
>>>>> Cc: Spce-user at lists.sipwise.com
>>>>> Betreff: Re: [Spce-user] NGCP-FRAUD Protection doesn't work in
>>>>> 4.3.1
>>>>> 
>>>>> Hi Matthias,
>>>>> 
>>>>> Inline replies as following:
>>>>> 
>>>>>>> On 25 Apr 2016, at 19:05, Matthias Hohl 
>>>>>>> <matthias.hohl at telematica.at>
>>>>>> wrote:
>>>>>> 
>>>>>> 3. Bug:
>>>>>> 
>>>>>> I also see that in the notifcation mail doesn't split between "daily" 
>>>>>> or
>>>>> "monthly" limit exceeded.
>>>>> 
>>>>> The variable will be exposed to the email templates as [% interval 
>>>>> %]
>>>>> 
>>>>> Kind regards,
>>>>> Kirill
>>>> 
>>>> _______________________________________________
>>>> Spce-user mailing list
>>>> Spce-user at lists.sipwise.com
>>>> https://lists.sipwise.com/listinfo/spce-user
>> 
> 




More information about the Spce-user mailing list