SIP Trunking Security: Best Practices for Businesses
Last reviewed: 18 November 2026. Facts checked against current RFCs and official documentation.
A SIP trunk connects a business phone system to the telephone network over the internet, replacing ISDN or analogue lines. Because it carries every external call and is billed by usage, a poorly secured trunk is a direct route to fraud and eavesdropping. This article covers the main risks and the measures that address them.
How a SIP trunk is connected
The PBX (or a session border controller in front of it) exchanges SIP signalling and RTP audio with the provider’s servers. Trunks authenticate in one of two ways: the PBX registers to the provider with a username and password, or the provider accepts calls only from the business’s fixed IP addresses. Either way, anyone who can send calls into the trunk as you can run up charges in your name.
The main risks
- Toll fraud: attackers who break into a PBX, usually through a weak extension password, route calls to premium-rate or international numbers through the trunk.
- Stolen trunk credentials: if registration details leak, calls can be placed from anywhere as you.
- Eavesdropping: SIP and RTP sent without encryption can be captured and replayed by anyone on the path.
- Denial of service: floods of SIP traffic can overload the PBX or the internet link so that calls fail.
Best practices
- Protect the PBX first. Most trunk fraud starts with a compromised extension. Use long, random SIP passwords, block repeated failed registrations, and keep the PBX patched.
- Lock the trunk to your addresses. Where the provider supports it, accept and send trunk traffic only between your fixed IP addresses and theirs.
- Limit what can be dialled. Restrict international and premium-rate destinations in the dial plan, and ask the provider for spending limits, fraud alerts and the ability to block destinations on their side.
- Encrypt the trunk. Use TLS for SIP signalling (RFC 3261) and SRTP for media (RFC 3711) if your provider offers them. This protects calls between your PBX and the provider; it is not end-to-end encryption, because the provider must decrypt calls to connect them to the telephone network.
- Use a session border controller or SIP proxy for larger or more exposed systems, to hide the PBX from the internet, normalise SIP and rate-limit traffic.
- Monitor call records. Alerts on unusual destinations, call volumes outside working hours or sudden spending spikes catch fraud early.
For wider VoIP risks, see our articles on VoIP security threats and SIP proxies. If you connect browser or mobile softphones to a PBX through a hosted service, the same principles apply to that connection; as one example, the Siperb knowledge base (published by the team behind SoftPage) describes how its outbound trunk connections to a PBX are set up.
Related: Stop ‘Spam Likely’: STIR/SHAKEN for SIP calls; What is a SIP proxy; encrypted VoIP for business: TLS, SRTP and the law, Securing WebRTC Communications: End-to-End Encryption Best Practices.
Corrected 18 November 2026: the earlier version linked an advertising page with tracking parameters and several unrelated pages (including MI5), recommended end-to-end encryption for SIP trunks (trunk encryption is hop by hop), and ended with a table of softphone apps described as “secure SIP trunking” products; softphones register to a PBX rather than providing trunks, and the table’s feature claims were not sourced, so it has been removed.