VOS3000 lowest profit rate limit
A route that costs more than you charge loses money on every minute. VOS3000 can skip it for you.
Updated · By the VOS3000 Web team
Quick answer: Lowest profit rate limit on a VOS3000 routing gateway stops calls being sent at a loss: VOS3000 compares the caller fee rate with the clearing fee rate per second, and if the difference is below the limit the gateway is not tried. Negative values are allowed. Sort by lowest rate per second then prefers the cheapest routes.
- Where
- Routing gateway, Additional settings
- Compares
- Caller and clearing fee rate, per second
- Below the limit
- The gateway is not tried
- Negative values
- Allowed
What it does
Lowest profit rate limit is in a routing gateway's Additional settings. For each call, VOS3000 takes the difference between the caller fee rate (what the customer pays) and the clearing fee rate (what this carrier costs), calculated per second. If the difference is lower than the limit, the gateway is not tried and VOS3000 moves on to the next one. Negative values are supported.
Two related settings sit beside it:
- Check rate: the gateway is tried only if the call has a clearing fee rate.
- Max minute rates: when the minute rate is above this value, the gateway is not tried.
Worked example
| Route | Customer rate | Carrier rate | Profit per second | Limit 0 |
|---|---|---|---|---|
| Carrier A | 0.0120 / min | 0.0108 / min | 0.00002 | Tried |
| Carrier B | 0.0120 / min | 0.0126 / min | -0.00001 | Not tried |
With the limit at 0, carrier B is skipped. Set it to -0.00001 on carrier B to keep it as a last resort at a small loss. If no routing gateway passes, the call fails for lack of a route; see calls failing.
On mapping gateways and phones
Mapping gateways and phones have their own Lowest profit rate limit and Max minute rates. On a mapping gateway the gateway is locked if profit falls below the value, and only the account's basic rate is used, not its packages. Free minutes and package rates therefore do not change the result.
Sort by lowest rate per second
The limit only removes loss-making routes. To prefer cheap ones, tick Sort by lowest rate per second on the routing gateways: VOS3000 then uses the rate per second when it sorts them. Where this step falls in the order is set by two system parameters:
| Parameter | Default | What it sets |
|---|---|---|
| SS_GATEWAY_FEE_RATE_ROUTE_SORT_CONFIG | Before line usage | Position of rate sorting among the routing steps. |
| SS_GATEWAY_FEE_RATE_ROUTE_BEFORE_ASR | Off | Whether rate sorting comes before ASR sorting. |
Rate sorting comes after prefix length, prefix priority and gateway priority, and gateways without Sort by lowest rate per second come before those with it. See routing order.
On a mapping gateway or phone, First routing strategy and Second routing strategy can be None, Asr or Lowest rate per second; when set, they apply before the normal order.
Desired profit
Navigation → Tools → Customer fee rate automatically create creates fee rates automatically. Its table lists Base fee rate, Supplier fee rate, Desired profit and Customer fee rate, with Compare files. Use it to build the selling rates; the limit protects you at call time when a carrier's price changes. See rates.
VOS3000 calculates call profit with SERVER_BILLING_PROFIT_CALCULATE, default <Call charges>Sub<Call expense>: profit is call charges minus call expense.
Questions about this topic
What does Lowest profit rate limit do in VOS3000?
It locks a routing gateway for a call when the profit is below the limit: if the caller fee rate minus the clearing fee rate, per second, is lower than the value, the gateway is not tried.
Can I allow a small loss on a backup route?
Yes. Negative values are supported, so a small negative limit lets a route lose up to that amount per second and still be tried.
Why are free minutes not counted?
On a mapping gateway the calculation uses only the account's basic rate, not its packages.
How do I send calls to the cheapest route first?
Turn on Sort by lowest rate per second on the routing gateways, or choose Lowest rate per second as the First routing strategy on the mapping gateway or phone.
Run VOS3000 without the server work
Pick a VOS3000 server hosted by us, or have us install VOS3000 on your own server. VOS3000 Web and the Android app come with it.
Keep reading
Add a routing gateway
Set up a vendor route: prefix, IP and port, priority and least-cost options.
Routing order and LCR
How VOS3000 sorts routing gateways: prefix, priority, ASR, lowest rate, and when it fails over.
Rate groups and rates
Create rate groups, add rates and bill customers per second or per minute.
Add a mapping gateway
Set up a customer gateway: types, IPs, line limits, prefixes and billing.