YepBoss documentation

YepBoss documentation

How YepBoss routes, rates, controls credit and bills wholesale voice and SMS, and how its services and data flow fit together.

YepBoss documentation

YepBoss documentation

  1. Overview
    1. What YepBoss does
    2. Architecture at a glance
    3. Deployment
    4. Getting the specification
  2. Core concepts and glossary
  3. Routing
  4. Rate decks and effective dates
  5. Rating and margin
  6. Credit and fraud control
  7. Invoicing and billing cycles
  8. Payments, credit notes and disputes
  9. Multi-currency and FX gain and loss
  10. E-invoicing and the general ledger
  11. SMS billing
  12. Vendor bill reconciliation
  13. Reports, report builder and customer portal
  14. REST API and MCP access

Other products

YepBoss is the control plane and billing system for wholesale voice and SMS. The YepSBC session border controller and the YepMsg SMS gateway execute calls and messages. YepBoss decides how each one is routed, records what happened and turns it into charges, invoices and ledger entries. Every answered call is rated twice, against the customer's sell deck and the vendor's buy deck, so margin is known per call.

This documentation is for billing, operations and evaluation teams. It describes the behaviour of the product as built. For the commercial summary see the YepBoss product page.

What YepBoss does

AreaWhat it coversPage
ModelAccounts, customers and vendors, ingress and egress connections, products, entitiesCore concepts
RoutingProfiles, least-cost, priority, weighted and quality strategies, margin protection, portabilityRouting
PricesVersioned rate decks, effective dates, vendor sheets by email, customer rate noticesRate decks
RatingBilling increments, rounding, dual rating, margin per callRating and margin
ControlPrepaid and postpaid credit, mid-call cut-off, fraud rules, block rulesCredit and fraud control
BillingBilling runs, invoices, payments, credit notes, disputesInvoicing, Payments and disputes
FinanceForeign currency, FX gain and loss, UBL e-invoices, the general ledgerMulti-currency, E-invoicing and ledger
SMSDecks by network code, per-part rating, terminationSMS billing
PayablesVendor bills reconciled against your own buy chargesVendor bills
AccessReports, the customer portal, REST API, MCP serverReports and portal, API and MCP

Architecture at a glance

YepBoss is a set of small services around one PostgreSQL database and one Redis instance. Only the routing service sits on the call path. Everything else works from the records the SBC and the gateway send afterwards.

ComponentRole
Routing serviceAnswers the SBC's routing request for each call from an in-memory snapshot of policy. It makes no database query while a request is open. The design target is a 99th percentile under 30 ms.
ProvisioningGives each SBC node the list of ingress connections and egress peers it should accept and probe.
IngestReceives call events and call detail records from the SBC and message records and receipts from the gateway. Deliveries are idempotent, so a retry or a replay does not create a second record.
RatingPrices every finished call and message against the sell and buy decks, writes the charges and the ledger entries, and updates balances.
GuardOnce a second, prices calls in progress to keep each account's credit reservation. It also evaluates the fraud rules. It acts through the SBC's management interface.
Health monitor and notifierCheck the installation and its egress connections, and tell the chosen staff by email and in the back office.
Back office, portal and APIThe staff interface, the customer portal and the REST API, built on PHP 8.3 and Symfony 7.
MCP serverAn endpoint for AI assistants. Every key reads, and an Admin key also adds, assigns and routes numbers. See API and MCP.
Batch toolsRate-deck import, billing runs, FX import, reconciliation and ledger export, written in Perl and run on a schedule or on demand.

Data flow for one call

  1. The SBC receives an INVITE on a customer's ingress connection and asks the routing service for a decision.
  2. The routing service identifies the ingress connection and its account, normalises the numbers through the dial plan, applies block rules and the caller ID policy, checks credit, finds the sell price, then orders the candidate egress peers by the routing profile. It returns a plan: the peers to try, how to present the call, and what to do on failure. The decision is stored with the explanation of each step.
  3. The SBC executes the plan and streams call events. YepBoss keeps the live state, which is what the guard prices once a second.
  4. When the call ends the SBC posts one call detail record, with every attempt.
  5. The rating service picks the record up, prices the sell side from the customer's deck and the buy side from the deck of the egress peer that carried the call, and posts both to the ledger in one transaction.
  6. A billing run later gathers the uninvoiced charges of an account into an invoice.

Calls that were not answered are not charged but still feed answer ratio, delay and duration statistics, which the quality routing strategy reads.

Storage

Reference data (accounts, connections, decks, profiles) is normalised. Records that grow without limit (call detail, attempts, charges, events, decisions, ledger entries) are partitioned by time, so retention and maintenance work by partition. The SQL schema is the single source of truth. A change to a price, a connection or a profile bumps a policy revision, and the routing service reloads in the background and swaps the new snapshot in atomically. A change made to a draft deck version never disturbs routing.

What YepBoss reads

YepBoss rates the records of YepSBC and YepMsg natively. It can also import TelcoBridges ProSBC text call detail records as a legacy source, which lets a carrier bill history from a previous switch. Importers for other switch formats are added on request.

Deployment

The services ship as container images and run under Docker Compose for evaluation and development, or on Kubernetes. Staff and customer access use a web interface with role-based access: Admin, NOC, Billing and Customer.

Getting the specification

The full OpenAPI 3.1 specification of the REST API is provided to customers and evaluating teams on request. Use the contact form to ask for it, or for a demonstration.

Contact sales

Questions about YepBoss?

Ask an engineer about your deployment, or request the full interface specifications and a demonstration of YepBoss on a traffic profile like yours.

  1. We reply within one business day to arrange a time.
  2. A scoping call about your traffic, network and billing model.
  3. A demonstration on a traffic profile like yours, and a lab deployment if your engineers want one.

Prefer email? hello@yeptelcosoft.com

What would you like?
Interested in

We reply within one business day. We use your details only to respond to your request. Privacy notice