[Spce-user] Billing Plan fallback on missing fee
Oleg
spce at irg-x.net
Thu Feb 2 08:01:58 EST 2017
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).
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
More information about the Spce-user
mailing list