Free Switch处于防火墙内,因此需要在防火墙上开启相关端口映射,否则无法接收到数据包.
下表为各个模块默认使用的端口列表
Free Switch处于防火墙内,因此需要在防火墙上开启相关端口映射,否则无法接收到数据包.
下表为各个模块默认使用的端口列表:
FireWall Ports | Network Protocol |
Application Protocol | Description |
1719 | UDP | H.323 Gatekeeper RAS port | |
1720 | TCP | H.323 Call Signaling | |
3478 | UDP | STUN service | Used for NAT traversal |
3479 | UDP | STUN service | Used for NAT traversal |
5002 | TCP | MLP protocol server | |
5003 | UDP | Neighborhood service | |
5060 | UDP & TCP | SIP UAS | Used for SIP signaling (Standard SIP Port, for default Internal Profile) |
5070 | UDP & TCP | SIP UAS | Used for SIP signaling (For default “NAT” Profile) |
5080 | UDP & TCP | SIP UAS | Used for SIP signaling (For default “External” Profile) |
8021 | TCP | ESL | Used for mod_event_socket * |
16384-32768 | UDP | RTP/ RTCP multimedia streaming |
Used for audio/video data in SIP and other protocols |
5066 | TCP | Websocket | Used for WebRTC |
7443 | TCP | Websocket | Used for WebRTC |
其中本地端口对应的是RTP端口范围,可在FreeSwitch\conf\autoload_configs\switch.conf.xml下配置,
远程端口对应的是,客户端指定的auto rtp port,其范围可在所使用的SIP客户端进行查找.