YepBoss documentation

SMS billing

How YepBoss controls and bills SMS for the YepMsg gateway: ESMEs and connectors, decks keyed by MCC and MNC, per-part rating, termination and inbound charges.

YepBoss documentation

YepBoss documentation

  1. Overview
  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
    1. Objects
    2. Network codes
    3. Per-message decision
    4. Rating
    5. Inbound messages and termination
    6. Short codes and sender IDs
    7. Visibility
    8. In the back office
  12. Vendor bill reconciliation
  13. Reports, report builder and customer portal
  14. REST API and MCP access

Other products

SMS runs on the same accounts, decks, ledger and invoices as voice. YepMsg is the gateway: it executes, and YepBoss decides, records and bills, just as it does for the YepSBC. The gateway is always the HTTP client and nothing on the message path depends on YepBoss reaching it. SMS features are enabled by the licence.

Objects

VoiceSMSNotes
Ingress connectionESMEA customer's SMPP account: system ID and password it binds with, allowed addresses, session and rate limits, priority, sell deck, routing profile, sender policy
Egress connectionConnector (SMSC)A carrier bind the gateway sends messages through, owned by a vendor account and priced by a buy deck
Rate deckSMS rate deckPrices one message part, keyed by network code
Routing profileSMS routing profileLists connectors per network code
CDRMessage recordOne per message, with every delivery receipt

The bind password of an ESME is held only as a hash. YepBoss never stores or shows message text: the screens show who sent a message to whom, its parts, price and outcome.

An ESME may be bound from any address if no allowed range is set, and the back office marks that as a warning.

Network codes

SMS prices and routes by the destination's mobile network, as SMS rate cards do, and never by number prefix. A network code is the MCC (country, three digits) followed by the MNC (network, two or three digits). The MCC alone stands for every network of that country, and an empty code is the catch-all. A lookup falls from the network to the country to the catch-all.

To find a number's network YepBoss uses the ported-number list first, so a number that has moved is priced and routed on the network it is on now, then the destination catalogue, whose ranges can carry an MCC and MNC. Where neither says, only catch-all rows and rules apply.

An SMS deck upload expects MCC and MNC columns, or one network code column, plus the rate. Versions, effective dates, time bands, blocked rows, rate notices and the email exchange work as for voice. Increments, minimum, grace and connect fee do not apply.

Per-message decision

Before the gateway answers the customer's submit_sm, it asks YepBoss for a decision. YepBoss works through:

  1. the ESME and its account: enabled, active, within credit and any daily spend limit;
  2. block rules, including a scope for one ESME;
  3. the sender ID against the ESME's sender policy;
  4. the receiver's network, and the sell price for it;
  5. the connector, chosen by the SMS routing profile.

A refusal is returned to the customer as an SMPP status, and the reason is kept on the decision. SMS routing strategies are the same four as voice: least cost, priority, weighted and quality. Quality is the delivery ratio and receipt latency per connector and network over 24 hours, neutral on a small sample. The minimum-margin rule applies per part. The gateway takes one connector per message and retries on it alone, so the retry-code and attempt settings of voice do not apply.

Sender policy

PolicyBehaviour
Pass throughThe sender goes as submitted
ReplaceA fixed sender is always substituted
EnforceThe sender must be something the account holds: a number, a short code or an alphanumeric sender ID, or an entry on the ESME's own list. Otherwise the message is refused or the sender replaced
Local onlyOnly local numbers are checked, and names pass
InventoryAnything the account does not hold is replaced by one of its own numbers, chosen consistently per receiver so replies come back to the account

The SMS firewall verdict

When the gateway runs YepShield, it asks the firewall first and passes the verdict to YepBoss. The verdict is kept on the decision and on the message record, so staff and customers can see what the firewall did and, in the portal, appeal a decision. No component of YepBoss reads the message body.

Rating

amount = rate x parts        rounded half-up at the deck's precision

A part is one SMS on the wire: 160 GSM 7-bit characters or 70 UCS-2 characters, and 153 or 67 in a concatenated message. A message is charged once per part.

Each billable message gets a sell charge from the ESME's deck (or its fallback deck) and a buy charge from the connector's deck. Margin is sell minus buy.

When a message becomes billable

Each side has its own charge trigger.

TriggerThe message is billable when
Accepted (the default)The carrier accepted it
DeliveredThe final delivery receipt says delivered. A message without one is unbillable

The sell side is set on the ESME and the buy side on the connector. Messages that are refused are unbillable and still feed statistics.

Dead-ended messages

A dead-end is a message the gateway accepts and does not deliver, answering the customer with a delivered receipt. An ESME can be set to dead-end what block rules stop, so a customer never sees rejects. A dead-ended message has a sell charge and no buy charge.

Inbound messages and termination

A message from a handset to one of your numbers or short codes is delivered to the ESME of the holder. A message to a number with no owner is blocked and dropped, and the decision says so.

ChargeWho paysPriced by
Inbound deliveryThe customer that holds the number or short code, per message deliveredThe ESME's inbound deck, by the sender's network
TerminationThe carrier that hands you the message. The network that sends a message pays the network that terminates itThe connector's termination deck, by the network of your receiving number
Inbound costYou, to a carrier that charges for handing messages over, which is rare between interconnected networksThe connector's inbound buy deck, by the sender's network

Termination between operators is usually reciprocal, with the same rate per part both ways. Where it is, a carrier connector shows a charge in each direction on one bilateral account, and a billing run can issue one invoice for the net difference. Termination lines appear on the carrier's invoice as SMS termination to the receiver's destination. A side with no deck is unbillable.

Short codes and sender IDs

A short code is a number of three to eight digits that a customer holds on a carrier network to receive messages. The same register holds a customer's alphanumeric sender IDs, names of up to eleven letters and digits. A shared short code that several customers send from sits on the operator's own account with no owner, so inbound replies to it are dropped and recorded, and each customer lists the code on its ESME to be allowed to send from it.

Visibility

  • The live SMS screen and the messages list show every message with its parts, outcome, firewall verdict, receipts and charge.
  • Refused messages list each refusal with its SMPP status and the reason.
  • Connector delivery ratio and time to delivery are reported per day and network.
  • The report builder can group messages by customer, ESME, vendor, connector, network, country, direction, outcome, receipt error code, gateway, rating status or firewall verdict.
  • The customer portal has a Messages screen for any account with an ESME. It shows the customer's own messages and never the connector behind them.

In the back office

ESMEs, SMSCs and SMS gateways are under Connections. SMS decks and SMS routing profiles sit with their voice counterparts, with a filter by usage kind. A route tester for SMS shows the decision for a sender, a receiver and an ESME. The gateway panel shows bound sessions, connector states and queue depths, and a suspended ESME is unbound through the gateway's admin interface.

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