YepBoss documentation

Credit and fraud control

Prepaid and postpaid credit enforced at routing time, mid-call disconnect from a live reservation, and the fraud and block rule categories YepBoss supports.

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
    1. Credit control
    2. Fraud control
    3. Operating the guard
    4. In the back office
  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

Two controls protect a carrier's money while traffic flows. Credit control makes sure an account does not spend more than it has. Fraud control watches traffic patterns and reacts when they look abusive. Both run in the guard service, read the same live call state and act through the SBC's management interface.

Credit control

Available credit and the reservation

The reservation of an account is the running cost of all its answered calls that are still in progress. Once a second the guard prices each live call with the sell price, increments and connect fee the routing decision chose, exactly as the rating service will price the finished call, and sums the result per account.

AccountAvailable credit
PrepaidBalance minus the reservation
Postpaid with a credit limitCredit limit plus balance minus the reservation (a postpaid balance is negative while the customer owes)
Postpaid, limit zeroUnlimited. Credit control never refuses or ends calls for lack of credit

The routing service subtracts the reservation when it checks credit, so a new call is refused before the balance has actually been spent. Balances are published after each rated call and every few seconds. A payment or top-up counts towards available credit within about ten seconds.

What happens when credit runs out

The account's credit control setting decides.

SettingBehaviour
noneNothing. The balance may go as far below zero as traffic takes it
block newNew calls are refused with 403. Calls in progress continue. This is where new accounts start
hangupNew calls are refused and answered calls are ended through the SBC, newest first. If a node still reports the call shortly afterwards, the request is repeated

Prepaid accounts normally use hangup, so that a long call cannot take the balance below zero. Postpaid accounts normally use block new, since cutting a live call of a postpaid customer is a commercial decision.

Each live call carries a credit state, visible on the live call screens: ok, warning (at the current rate of spend the account will run out within a minute), exhausted and hangup sent.

Other limits

  • Daily spend limit. Caps what an account may be charged in a day, whatever its balance, for example for a new customer or a trial tier. A day runs midnight to midnight in the account's time zone and counts calls and messages. At the limit new calls are refused with 403 and new messages are refused as lacking credit. Live calls are cut under the hangup setting.
  • Concurrent calls per account. Counted across all of the account's ingress connections. At the cap the next call is refused with 503. Calls per second and concurrent calls on a single ingress connection are separate limits enforced on the SBC.
  • Maximum call duration. Set per ingress connection. Any answered call that lasts that long is ended, whatever the account's credit.
  • Low balance alerts. A prepaid account raises an alert when its balance falls to its configured threshold and another when it reaches zero, at most once an hour each.
  • Emergency calls. A call to an emergency number is never stopped by credit, limits, suspension, block rules or fraud rules, is free to the caller, and is never cut by the guard. Only the vendor's cost is booked.

Suspension for non-payment is a manual action. Staff can suspend an account, after which routing refuses its calls, but nothing suspends an account automatically for an overdue invoice.

Fraud control

Fraud rules watch recent call records, routing decisions and hourly statistics. The guard evaluates every enabled rule continuously and records a fraud event when one triggers.

Rule kinds

KindWhat it watches
Destination velocityAttempts by an account to one destination, country or destination kind inside a window
Risk prefix velocityAttempts to numbers under risk prefixes, optionally counting only higher risk levels
Spend velocitySell charges rated for an account inside a window
ASR collapseA customer's ingress connection with enough calls whose answer ratio has fallen below a floor
Night spikeTraffic on an ingress connection in the hours you declare as night, compared with its own recent average for that hour
Concurrent callsCalls in progress for an account
Short callsA customer's ingress connection whose answered calls have an unusually low average duration

Each rule has a scope (everyone, one account or one ingress connection), a severity, an action, a cooldown and its own parameters. The cooldown keeps a rule quiet for the same subject after it triggers, so one burst gives one event. Thresholds belong to the operator: they depend on the traffic profile, and a few starter rules ship in alert-only mode so that they can be adjusted before they are given a stronger action.

Actions

ActionEffect
alertRecords the event and raises the alert. Nothing else changes
block destinationAdds a temporary block rule for that account on the destination that triggered it
suspend ingress connectionDisables the ingress connection and asks every SBC node to block its single-address sources for a limited time
suspend accountSets the account to suspended, so its new calls are refused

Each event records the rule, the subject, what was measured and the action taken. NOC and Admin users acknowledge events, and an Admin user can undo an action.

Risk prefixes

A risk prefix marks a range known for abuse, such as premium-rate or revenue-share ranges, with a risk level and an action. Block makes routing refuse the call. Flag lets it proceed, marks the decision and lets risk prefix velocity rules count it. The longest matching prefix wins, so a more specific entry overrides a broader one. The list applies to every ingress connection and account.

Block rules

A block rule refuses calls before a route is looked for. It matches a called prefix, a calling prefix or a destination kind, for all traffic, one account or one ingress connection. Prefix rules may be allow entries that make an exception to a broader block: the longest match decides, and on equal length the narrower scope wins. Destination-kind rules are always blocks. A refused call receives 403 and reaches no vendor. Rules can carry an expiry. With SMS enabled, block rules also apply to messages.

Rate decks add a third place a destination can be refused, a price marked blocked, and fraud rules add automatic blocks with a reason.

Operating the guard

The dashboard shows whether the guard is running, when it last checked calls and evaluated rules, how many calls it monitors, and how many hangups and fraud events occurred today. A guard that has stopped is reported as stale or not running. Staff alerts go to the people an administrator has chosen, in the back office and by email, with bursts gathered into one message.

In the back office

Fraud and blocking has its own section with fraud events, fraud rules, block rules and risk prefixes. Each list has a tester that shows what the routing engine would do with a given number.

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