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:
| Control | Scope |
|---|---|
| Static access control list | Source address ranges |
| Packet rate limit | Per source IP, applied before parsing |
| Calls per second | Per source IP, per trunk and global |
| Concurrent calls | Per trunk and global |
| Pending transaction limit | Bounds half-open state |
| Message, header and body size limits | Malformed and oversized SIP |
| Method filtering | Which SIP methods are accepted |
| Dynamic blocking | Temporary 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
| Transport | Notes |
|---|---|
| UDP, TCP | Plain SIP |
| TLS | Certificate and key reloaded on configuration reload; optional verification of client certificates; verified outbound connections |
| WebSocket and secure WebSocket | RFC 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.