YepSBC documentation

Trunks, peers and security

How YepSBC identifies traffic sources, protects the signalling plane, secures transport with TLS, hides topology and monitors carrier peers.

YepSBC documentation

YepSBC documentation

  1. Overview
  2. The decision API
  3. Trunks, peers and security
  4. Media
  5. High availability and failover
  6. CDRs and SIP traces
  7. Operations and monitoring
  8. Deployment requirements

Other products

YepSBC protects the signalling plane independently of the decision service. A source is identified before any routing request is made, so unknown or abusive traffic never reaches your service.

Trunks

A trunk is a customer or carrier identity defined by the source addresses it may send from. Trunks come from the control plane through provisioning, with a local list as bootstrap and fallback. The SBC matches a source address against the trunk list in memory and puts the trunk identifier on the route request, the events and the CDR.

Each trunk can carry its own call-rate and concurrent-call limits. What a source is allowed to do beyond that, such as which destinations it may reach, is a routing decision and belongs to your decision service.

A source that matches no trunk is handled by the unknown-source policy, which rejects the call by default and can be set to allow. Keep the default in production.

Admission control

All of these controls work without the decision service:

ControlScope
Static access control listSource address ranges
Packet rate limitPer source IP, applied before parsing
Calls per secondPer source IP, per trunk and global
Concurrent callsPer trunk and global
Pending transaction limitBounds half-open state
Message, header and body size limitsMalformed and oversized SIP
Method filteringWhich SIP methods are accepted
Dynamic blockingTemporary block of sources that repeatedly violate a limit

Operators set the thresholds for their traffic. Blocked sources and counters are visible through the management API, and an operator can block or unblock an address by hand, for example in response to a fraud alert. Calls rejected at admission produce no CDR and no event. They are counted in metrics by reason.

Topology hiding

The SBC is a back-to-back user agent. The egress leg is a new call with its own Call-ID, tags, Via and Contact, so the internal addresses and identifiers of one side are not visible to the other. Header operations in the plan can remove or replace further headers, and the SBC refuses plans that touch the headers a dialog depends on.

Transport security

TransportNotes
UDP, TCPPlain SIP
TLSCertificate and key reloaded on configuration reload; optional verification of client certificates; verified outbound connections
WebSocket and secure WebSocketRFC 7118, for browsers and softphones; the sip subprotocol is required

TLS 1.2 is the minimum and 1.3 can be required. A listener can advertise a DNS name in Via, Contact and From instead of the service address, which some peers verify against the certificate. Outbound TLS connections validate the peer certificate against the address dialled, or against a configured server name.

A WebSocket client is reachable only over the connection it opened. The SBC never dials WebSocket peers.

Identity and headers

The plan sets the calling and called identities and applies header operations. The SBC does not decide whether an identity is legitimate. That policy sits in the decision service, which sees the ingress trunk, the original headers and the number and can reject, replace or annotate.

Peer monitoring

The SBC probes carrier peers with SIP OPTIONS and reports each peer's state with hysteresis: a peer goes down only after a configured number of consecutive failures and comes back only after a configured number of successes, so a single lost probe does not flap the state. Peers are defined locally or through provisioning. Each peer reports a state (unknown, up, degraded, down or disabled), round-trip time and probe counters through the management API and Prometheus.

The SBC reports health. What a degraded or down peer means for routing is a decision for your service, which can read the state and remove the peer from its plans.

Management API protection

The management API requires a bearer token, with the exception of the health and metrics endpoints that load balancers and Prometheus read. Bind it to a control network. Every state-changing request, authentication failure, reload, role change and provisioning update is written to an audit log. See Operations.

Contact sales

Questions about YepSBC?

Ask an engineer about your deployment, or request the full interface specifications and a demonstration of YepSBC 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