[Spce-user] Can a reseller break rate-o-mat with a faulty rate sheet?

Barry Flanagan barry at flanagan.ie
Fri Apr 17 04:38:11 EDT 2015


On 16 April 2015 at 16:41, Alexander Topolanek <alexander at schrego.com>
wrote:

> I noticed it is really easy to create a rate sheet with a missing zone,
> and it might be hard explain a reseller the problem.
> Leaving unratable calls unrated may lead to a loss of money if they're
> undetected.
>
> Personally I would favour a solution where a call is only possible to a
> destination with a billing zone.
>


I'd like this as well. Ideally, if I cannot bill it, I don't want to
connect it, regardless of whether a route exists. I have raised a ticket in
the past about this (we use SP Pro) as well as the fact that rate-o-mat
stops on missing rate but did not get anywhere. I think it requires a
fairly fundamental rethink of how this is handled in Kamailio, sems and
rate-o-mat.

With Prepaid on SP Pro if you call a number where a rate doesn't exist the
call won't connect. It returns a 500 error - could be a cleaner error but
at least it does not connect the call. This would make me think that having
an option to not connect a call where no rate exists would be possible in
sems.

-Barry



>
>
>
> kind regards
> Alexander
>
>
> Am 16.04.2015 um 17:14 schrieb Alex Lutay:
>
>> Dear Raúl, All!
>>
>> Thank you all for the feedback here!
>>
>> I agree that "postponing" broken CDRs is proper way to move.
>> While we are busy with other tasks, can you please prepare pull requests
>> to the following repositories:
>>
>> https://github.com/sipwise/rate-o-mat
>> https://github.com/sipwise/cdr-exporter
>> https://github.com/sipwise/ngcp-panel
>> (also, we should keep in mind invoicing)
>>
>> We can discuss all the details in spce-dev@ mailing list!
>>
>> P.S. you can use ticket number MT#10489 for further references
>> to internal task for rate-o-mat improvements, like:
>>
>>> - set rating_status to failed if no fee is found
>>>
>> Thank you in advance!
>>
>> On 16/04/15 16:20, Raúl Alexis Betancor Santana wrote:
>>
>>> Easy fix ... just use the 'unrated' field ... or for what it was there ??
>>>
>>> If unrated=true ... then pending CDR to rate
>>>
>>
> --
> Alexander Topolanek
> System engineer
>
> SCHREGO Communications Ltd
> Wirerstrasse 6 / 1.Stock
> 4820 Bad Ischl
> Austria
> E-Mail: alexander at schrego.com
> Phone: +43.6132.3080.87
>
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://lists.sipwise.com/listinfo/spce-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20150417/1031e5df/attachment-0001.html>


More information about the Spce-user mailing list