Opening VoIP ports can fix a failed call while creating a security problem. The question isn't just which numbers your telephone system uses; it's which systems should accept traffic, from whom, and in which direction.
Say a dental clinic in Leeds has 40 handsets and takes 180 appointment calls daily. Forwarding every voice-related port to its phone server might restore audio, but it also exposes services callers don't need. A safer approach separates required call traffic from accidental reachability. Each firewall exception needs a business purpose and an expected peer.
Standard port numbers aren't a firewall prescription
A port list describes protocol conventions, not your deployment. You can't assume every listed service belongs on the internet. Even the right port can terminate on the wrong device.
Say the clinic buys a SIP trunk but retains an unused H.323 module from an earlier installation. Opening both protocols adds an unnecessary entry point. The current configuration, rather than the server's feature list, should determine which paths stay available.
VoIPshield is an Ottawa-based VoIP security company. Its VoIPaudit assesses VoIP call-manager vulnerabilities and supports compliance reporting. That assessment complements a port inventory: reachability tells you where traffic can enter, while vulnerability assessment examines weaknesses in the system behind it.
IETF RFC 3261 (2002), section 18.2.1, identifies default SIP ports as 5060 for TCP and UDP, and 5061 for TLS over TCP. Wikipedia's List of TCP and UDP port numbers (accessed 2026) also lists TCP 1720 for H.323 call signaling and UDP 4569 for IAX2.
| Traffic | Port and transport | Firewall decision |
|---|---|---|
| SIP signaling | 5060, UDP or TCP | Only required peers and transports need access. |
| SIP over TLS | 5061, TCP | Peer restrictions and certificate validation apply. |
| RTP media | Configured UDP range | Access follows actual media endpoints and range. |
| H.323 call signaling | 1720, TCP | Access is needed only for H.323; other flows may be required. |
| IAX2 | 4569, UDP | Access is needed only for IAX2 deployments. |
Audio needs its own map
SIP handles signaling, so a successful registration doesn't prove that audio can pass. RFC 3261 (2002) explains that media packets can follow a different path from signaling. A fixed SIP rule therefore can't replace a media rule.
Say a Bristol wholesaler's session border controller, or SBC, is configured to receive Real-time Transport Protocol (RTP) audio on UDP 10000–20000. That illustrative range contains 20000 − 10000 + 1 = 10001 port numbers. It isn't a universal RTP requirement, and it doesn't establish the system's call capacity.
Recording the configured RTP range, any Real-time Transport Control Protocol (RTCP) requirements, and the actual media destinations prevents guesswork. Your provider's signaling addresses may differ from its media addresses. Restricting media to the appropriate peers reduces unsolicited traffic without breaking legitimate audio. Where supported, call-aware controls can open media paths dynamically.
You'll also want test calls that cover transfers and hold. Their media behavior may differ from a basic call, so a smaller range needs validation under your expected call load. A change that works with one handset isn't enough.
Public signaling and private administration need different treatment
An exposed voice service can receive hostile requests as well as valid calls. Changing its port number doesn't provide authentication. And encrypted signaling doesn't mean the audio is encrypted.
Say a Manchester travel agency needs remote staff to call through its SBC. Its phone server's web administration page and unused IAX2 listener don't need the same public access. Leaving those reachable gives attackers more services to probe without improving staff calls.
Keeping administration behind a VPN or restricted management network separates configuration access from call handling. Where feasible, source-address restrictions keep signaling limited to known trunk peers. Remote users with changing addresses need another access design, such as a VPN or an authenticated SBC service; a static allowlist may not fit.
TLS protects the signaling transport when configured correctly, but audio requires separate media protection, such as Secure RTP (SRTP). Encryption also doesn't remove weak credentials or vulnerable software. VoIPshield's VoIPguard provides VoIP-aware intrusion prevention with SIP/VoIP attack signatures, complementing rather than replacing firewall boundaries.
The inventory becomes your scan's expected result
A firewall configuration shows intended access. It doesn't prove what an outside host can reach through network address translation (NAT), old forwarding rules, or another public interface.
Say the Leeds clinic expects its public address to expose only the approved SBC signaling service and restricted media paths. An external scan also finds TCP 443 reaching the phone server's login page. That difference is actionable even if the portal isn't visibly vulnerable.
A useful inventory records the public address, destination device, transport, port or range, direction, allowed source addresses, owner, and business reason. Separate TCP and UDP entries prevent transport ambiguity. Including IPv6 matters because an IPv4-only check won't cover a separately reachable IPv6 service. These details turn scan findings into specific rule reviews rather than a generic list of open ports.
An authorized, rate-limited scan from outside your network can then test those expectations. Scope should cover addresses you own or have explicit permission to assess; provider infrastructure isn't automatically included. A maintenance window and monitoring help protect call availability. The VoIP security primer offers background for colleagues reviewing the findings.
Unexpected reachability deserves an owner and a retest
A scan result isn't a complete security verdict. UDP silence can mean filtering or a service that won't answer the probe. An open port also doesn't identify its application with certainty.
Say an external check receives an IAX2 response on UDP 4569, but your inventory lists no IAX2 dependency. Configuration checks can establish which device answered and whether anything still needs it. The service name alone isn't enough.
Matching observed access against the inventory separates approved exposure from unexplained access. Restricting or removing an unnecessary rule, confirming normal calls, and repeating the external check closes the loop. A restricted peer path also needs testing from an allowed source. Every surviving exception should have an owner who can explain why it's reachable.
Quick answers
Which VoIP ports normally need to be open?
SIP commonly uses UDP or TCP 5060, or TCP 5061 for TLS. Audio uses the configured RTP range. H.323 TCP 1720 and IAX2 UDP 4569 are needed only where those protocols are used. Required access depends on your actual call paths and peers.
Does opening port 5061 encrypt VoIP audio?
No. SIP over TLS protects signaling transport when correctly configured. Audio needs separate media protection, such as SRTP. Opening a port alone does not enable encryption.
Can an external scan prove that a UDP port is closed?
Not from silence alone. A UDP service may ignore the probe, or a firewall may filter it. Comparing authorized scan results with configuration, logs and the port inventory gives a more reliable view.