[Spce-user] Billing Plan fallback on missing fee

Oleg spce at irg-x.net
Thu Feb 2 09:53:04 EST 2017


Thanks for Your comment. Indeed, I too have to update 10 or 30 Billing 
Plans every time my upstream providers change rates. It's somewhat 
cumbersome to maintain and repeat same fees across all the billing plans 
all the time.

Your idea with CGRates sounds interesting. Any pointers for integration 
between sipwise and cgrates?

Thanks.

Oleg.

On 2017-02-02 14:48, Barry Flanagan wrote:
> On 2 February 2017 at 13:01, Oleg <spce at irg-x.net> wrote:
> 
>> Hello,
>> 
>> Just wandering if there is a way to tell SPCE to fallback to an
>> alternative billing_plan if rate-o-mat does not find a Fee in the
>> current plan (on Customer's billing plan missing Fee, apply
>> Reseller' billing plan fee for the given destination, if present).
> 
> No, not possible at the moment. Pity. It would be great if you could
> assign a "fallthrough" rate card to a customer. So, you could have
> your standard rate card as base, and then for customer A you can  have
> a rate card with just a few (say UK) rates. A call from this customer
> would first check their rate card and if not found, check the
> fallthrough one.
> 
> This would mean that instead of having to maintain full separate rate
> cards for every customer where there is a slight difference, you just
> maintain the standard rates and then the smaller individual rate cards
> per customer.
> 
> This and the lack of multiple Free Time "buckets" are my biggest
> gripes with SP (I am on Pro).
> 
> We are actually investigating cgrates as an alternative rating engine
> (we don't use the invoicing built in to SP)
> 
> -Barry Flanagan
> 
>> Example.
>> 
>> - 'DefaultResellerBillingPlan' contains all the destinations
>> - 'ClientsOfferPlan' contains one destination Fee only (ex.: 5%
>> discount calculated for fees to US
>> '^1,on_peak_init_rate,on_peak_init_interval,...')
>> 
>> A user with 'ClientsOfferPlan' assigned is billed through
>> DefaultResekkerBillingPlan for all the destination (therein
>> present), except for one Fee ('^1'), which is billed through
>> 'ClientsOfferPlan'.
>> 
>> In other words, I'd like sipwise to rate (and include in Invoice)
>> 'accounting.cdr.source_reseller_cost' (if > 0) when
>> accounting.cdr.source_customer_cost=0.
>> 
>> Is this possible?
>> 
>> Thank You
>> 
>> Oleg
>> _______________________________________________
>> Spce-user mailing list
>> Spce-user at lists.sipwise.com
>> https://lists.sipwise.com/listinfo/spce-user [1]
> 
> 
> 
> Links:
> ------
> [1] https://lists.sipwise.com/listinfo/spce-user




More information about the Spce-user mailing list