Operation

Tariffs

A tariff is a price list keyed by prefix. It is the piece that puts money on every call: what you charge, what it costs you, and above all whether the call connects. You will find them under Users › Tariffs.

The two types

TypeWhat it isWhere it is assigned
User (Sell)What you charge your customer.On the customer's Origination Point, field Sell Tariff. Each OP can have its own.
Provider (Buy)What the carrier charges you.On the provider's Termination Point, field Buy Tariff.

The Tariffs screen keeps them apart with the User Tariffs and Provider Tariffs tabs. Every tariff has a name, a currency, a description and a rate count.

The tariff is what connects the call

This is the principle that saves the most troubleshooting time:

Routing carries, the tariff connects. If a destination is not in the tariff, the call does not go through even when the dial peer routes it perfectly to the carrier. The switch never guesses a price.

What follows from that:

  • With no sell price for the destination, the customer cannot call there.
  • With no buy price on the Termination Point, that carrier is not a candidate and the call is rejected with NEXIA_NO_PROVIDER_RATE.
  • A prefix reaches exactly as far as you load it. A tariff carrying 57 connects all of Colombia; one carrying only 573 connects Colombian mobile only.
  • Everything matches by longest prefix, so a specific 573 beats a general 57 even when both are loaded.

Creating a tariff

  1. In Users › Tariffs, click + Add New Tariff.
  2. Name: something self-explanatory — Retail Colombia, CarrierX buy.
  3. Type: User (Sell) or Provider (Buy).
  4. Currency and Description.

Once saved, the row's EDIT button changes its details, and the name takes you to its rates — where the real work happens.

The fields of a rate

FieldWhat it does
PrefixThe code the price applies to: 573, 57604, 1415.
DestinationThe readable name: Colombia Mobile. This is what shows up in reports and CDRs.
Rate/minPrice per minute.
Conn. FeeFlat charge on an answered call, on top of the per-minute rate.
Min Dur.Minimum billable duration, in seconds.
IncrementHow many seconds each step rounds up to after the minimum.
EffectiveWhen this price starts to apply.
StatusActive or BLOCKED.

Reading 60/60, 1/1 and 6/6

The usual notation is minimum/increment, which in NEXIA are the Min Dur. and Increment fields:

BillingMin Dur.IncrementA 75 s call bills as
60/606060120 s (2 minutes)
1/11175 s
6/66678 s

Blocking a destination

The blocked flag is the right way to close a destination: the row stays in the tariff, visible, marked BLOCKED in red, and the call does not go through.

Blocking is not a negative price. In NEXIA blocking is a flag, not an odd number. If your carrier's deck marks closed destinations with a negative price — a common convention — the importer understands it and converts it to the flag for you.

Loading prices from a file

Inside a tariff, the Import button opens the importer. Drag the file in, or pick it with browse.

  • Formats: CSV, TXT, XLS and XLSX. Comma or semicolon separators both work.
  • Columns: prefix, destination_name, rate, connection_fee, min_duration, increment. The Template button downloads a ready-made base file with examples.
  • Preview: before anything is written, the importer shows the first rows already parsed plus how many valid rates it found. Only Confirm import saves.
  • Effective date & time (optional): left blank, the prices apply from now. Set a past date to backdate the deck — which is what you need to re-rate traffic that has already been carried.

When it finishes you get a summary like 1,284 new · 96 updated · 40,112 unchanged. Importing the same deck twice duplicates nothing: existing prefixes are updated and unchanged ones are left alone.

Example file

prefix,destination_name,rate,connection_fee,min_duration,increment
57,Colombia,0.0180,0,60,60
573,Colombia Mobile,0.0215,0,1,1
5760,Colombia Fixed,0.0090,0,60,60
1,USA,0.0045,0,6,6

Manual entry, editing and export

  • + Add Rate adds a single price: pick a Country, then a Destination — both come from the destination catalogue — and fill in prefix, rate, connection fee, minimum and increment.
  • EDIT on any row edits it in place, without leaving the listing.
  • The search box filters by prefix or destination, and the alphabetical index jumps straight to a letter.
  • Download CSV exports the whole tariff with the importer's own columns: edit it outside and upload it back.
  • Delete All empties the tariff. That is for rebuilding a deck from scratch, not for adjustments.

Rate check

Above the listing there is a RATE CHECK field. Type a real number, hit Check, and it tells you which price applies by longest prefix match: the winning prefix, the destination name, the rate, the connection fee, the minimum and the increment — or that it is blocked, or that no rate covers that number.

It is the fastest way to answer "why are we charging this customer that?" and to sanity check a freshly imported deck before anyone calls.

The catalogue source

One of your tariffs can be the source of the destination catalogue. On the tariff's row, SET AS SOURCE marks it and gives it the CATALOG SOURCE badge.

From then on, every import into that tariff feeds the catalogue: prefixes are filed under their destination by longest match, and anything that does not resolve or that conflicts waits for your decision in Routing › Destinations › Discrepancies, where you apply or dismiss it.

Only one tariff can be the source. Pick the most complete and most trustworthy deck you have — usually your main carrier's. The full mechanism is described in Destination catalogue.

Best practices

  • Load the buy tariff on every Termination Point. Without it that carrier does not compete: there can be no price-based LCR and no margin protection if the switch does not know what the route costs you. A TP with no tariff is a TP that never carries.
  • One tariff per commercial relationship, not one giant shared list: every carrier sends its own deck with its own structure and billing cycles.
  • Always look at the preview before confirming. A deck with the price column shifted is a billing problem, not a technical one.
  • Use Effective date for announced price changes instead of uploading the new deck by hand on the day.
  • Block with the flag, do not delete the row: a deleted destination vanishes from reports, a blocked one stays documented.
  • Verify with Rate check after every large import: three numbers from three different countries are enough to catch a badly mapped deck.
© 2026 NEXIA Networks · This wiki grows with every install: if something was missing, tell us and we add it.
On this page