如果freewitch处于防火墙后面,需要在防火墙上开启相关端口映射,否则freeswitch 收不到外面过来的数据包,包括TCP,UDP,下表为freeswitch各个模块使用端口列表:
端口 | 协议 | 应用层协议 | 描述 |
---|---|---|---|
1719 | UDP | H.323 Gatekeeper RAS port | |
1720 | TCP | H.323 Call Signaling | |
3478 | UDP | STUN 服务器端口 | NAt穿越用 |
3479 | UDP | STUN 服务器端口 | NAt穿越用 |
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 formod_event_socket |
16384-32768 | UDP | RTP/ RTCP multimedia streaming | 语音、视频数据传输用端口 |