This page defines the objects and words used throughout the documentation. The same words appear on the staff screens, in the customer portal (with one exception noted below) and in the API.
Accounts
An account is a company you do business with. Its kind says which side of the business it is.
| Kind | Meaning |
|---|---|
| Customer | Sends you traffic and pays you for it |
| Vendor | Carries your traffic and charges you for it |
| Bilateral | Both. It carries a receivable balance and a payable balance, and a billing run can issue one invoice for the net difference |
An account holds the commercial terms: currency, prepaid or postpaid billing, credit limit, billing cycle (weekly, biweekly, semi-monthly or monthly), payment terms in days (Net 7, Net 15, Net 30), the dispute window, the rate-notice period, tax rate and time zone. It also holds the credit control setting, a daily spend limit and a cap on concurrent calls. See Credit and fraud control.
An account has two balances:
- Balance (receivable) is the sum of the account's receivable ledger entries. Positive means the customer has credit. Negative means the customer owes you.
- Vendor balance (payable) is what you owe a vendor.
Ingress and egress connections
Every call enters on one ingress connection and leaves on one egress connection. Logs, the SBC and technical tools call them trunk and peer. The staff screens use ingress and egress.
An ingress connection is a customer's sending identity. It is identified by the source addresses its calls come from and never by port, and no two ingress connections may share a source address. It carries:
- limits on calls per second and concurrent calls;
- a dial plan that rewrites what the customer sends into full international numbers;
- a sell deck, and optionally a fallback sell deck for numbers the first deck does not price;
- a routing profile;
- a caller ID policy: pass through, enforce allowed prefixes, or replace;
- a duration rounding mode and optional number portability lookup.
An egress connection is a vendor gateway you send calls to. It carries the address, the way the vendor wants numbers written, a buy deck, health probing, capacity, and a duration rounding mode. The egress identifier is how the rating service finds the vendor and its buy deck for a call that has finished. An egress with no buy deck is never used, because the cost of a call through it cannot be known.
An egress connection can also be the delivery egress of numbers you hold. See Routing.
Rate decks
A rate deck is a price list in one currency, with one price per destination prefix. A sell deck holds what customers pay. A buy deck holds what a vendor charges. Decks never change in place: every new price file becomes a numbered version with an effective date. See Rate decks.
A deck also has a usage kind, voice or SMS. A voice deck prices minutes. An SMS deck prices one message part and is keyed by mobile network code. See SMS billing.
In the customer portal a rate deck is called a price list.
Destinations and dial plans
A destination (also called a breakout) is a named group of number ranges with a country and a kind such as fixed, mobile or emergency. The destination catalogue classifies calls for blocking, reports and quality statistics.
A dial plan is an ordered list of rewrites: strip a technical prefix, turn 00 into +, turn a national number into E.164 using the connection's country code. One plan can be the default for ingress connections that have none of their own. YepBoss routes and prices on E.164 digits.
Routing profiles
A routing profile decides which egress connections carry each destination, in which order, and with what minimum margin. Each ingress connection has one. SMS has its own profiles that list connectors by network code.
Calls and charges
- A CDR is the call detail record the SBC posts at the end of a call, with every attempt.
- A disposition says how a call ended: answered, busy, no answer, rejected, unallocated, failed or cancelled. Only answered calls are charged.
- A decision is the routing service's answer for one call, kept with the steps that led to it.
- Rating is the calculation of the sell charge and the buy charge for a finished call. A record's rating status is pending, rated, unbillable or error.
- Margin is the sell charge plus any inbound charge, minus the buy charge.
Numbers
Numbers are the DIDs you hold. Each has a status: available, reserved, assigned, active or released. A number that is assigned or active and has a delivery egress sends its calls there instead of consulting the routing profile. Every change of status, holder or delivery egress is written to a history that cannot be edited. Tags label numbers for search and grouping, and an account can carry tags that decide which stock its customer may take through the API.
Entities and products
An entity is a legal issuer inside one installation, with its own customers, prices, invoice numbering, sender address, invoice design and books. The carrier is the first entity. A retail product run by another company of the same group is a further entity. It buys from the carrier through a parent account, which is invoiced like any other customer. Customers of that product are retail accounts. They have no connection of their own, and their calls arrive on the parent account's ingress connection tagged with the retail account's reference. A call then carries two charges that trace back to the same record: the carrier's sell charge to the parent account, and the entity's retail charge to its customer.
A product is something an entity sells next to usage: a recurring item such as a channel, or a one-time item such as a setup. Prices are dated, and an account may have its own price in place of the list price. Recurring fees are charged monthly in advance, with proration of mid-month changes. Staff users are not yet bound to one entity: every staff user works across entities, and the header offers a switcher.
Roles
| Role | Typical use |
|---|---|
| Admin | Configures and changes everything |
| NOC | Operations: live calls, investigations, fraud events |
| Billing | Reads connections, decks and accounts; runs billing, records payments, handles disputes |
| Customer | Portal user bound to one account, read-only |
Quality indicators
| Indicator | Definition |
|---|---|
| ASR | Answered calls as a share of attempts |
| NER | Calls that reached the called party's network (answered, busy, no answer, unallocated, rejected) as a share of attempts |
| ACD | Answered seconds divided by answered calls |
| PDD | Post-dial delay: from the start of the call to the first sign of progress |
These are computed from the attempts in each call detail record, not from live events, which can be lossy.