VOIP NAT
来源:互联网 发布:csol怒海狂鲨伤害数据 编辑:程序博客网 时间:2024/04/30 13:29
Voip-info.org: NAT and VOIP
Voip-info.org: Asterisk, SIP and NAT
SIP协议,采用5060端口来传递指令,10000-20000传递语音流,所有如果SIP客户端在防火墙或者内网就需要开放相应的端口,来通讯。
From Voip-info.org
On your router NAT/firewall, forward SIP ports 5060 - 5082 and RTP ports 8000 - 20000 to your * server IP address. Then edit the "rtpstart" value in rtp.conf - from rtpstart=10000 to rtpstart=8000 since 8000 is the default RTP port on x-lite phones. Also enter the same externip=xxx.xxx.xxx.xxx and localnet=xxx.xxx.xxx.xxx/xxx.xxx.xxx.xxx info from your sip.conf general settings into sip_nat.conf. Then in sip.conf under the remote extension account authentication settings add nat=yes, canreinvite=no . This should get it working flawlessly, it did it for me after much research and troubleshooting. This should mark the end of NAT/firewall issues with asterisk.
NOTE: Your WAN or externip address from your ISP is usually not permanent so in the case where it changes you will have to edit the "externip=" value in sip.conf general settings and sip_nat.conf to the new value or you can register with dynamic DNS (dyndns) to automaticaly update the value.
IAX2协议指令和媒体流都通过4569端口来传递,穿透能力比较强。
Voip-info.org: Asterisk NAT=yes documentation (sip.conf)
Voip-info.org: STUN
- VOIP NAT
- NAT助VoIP穿越防火墙
- VoIP穿越NAT和防火墙的方法
- VoIP穿越NAT和防火墙的方法
- VoIP穿越NAT和防火墙的方法
- VOIP 通信 NAT穿越系列专题
- VOIP 通信 NAT穿越系列专题之NAT基本原理介绍及与VOIP关系
- 关于VOIP系统中的NAT/FireWall穿越问题
- VOIP软交换FW/NAT穿透解决方案探讨
- VoIP穿越NAT和防火墙的方法【转】
- VoIP穿越NAT和防火墙的四种方法
- 基于ICE的VoIP穿越NAT改进方案
- VOIP NAT穿越之SIP信令穿越
- VOIP NAT穿越之SIP信令穿越
- VOIP
- voip
- VOIP
- VOIP
- 利用静态数组在MQ中发送接收字符串
- 转LionD8' Blog 才用csdnblog 不知道怎么连接 所以COPY过来算了
- 利用静态数组和内存流在MQ中发送接收文件
- 使用流和动态数组读写文件
- Moab 5.2.0+Torque 2.2.1/pbs集群作业可视化管理系统部署试验
- VOIP NAT
- 心情
- 构建e-Learning学习环境的荣誉体系
- Hibernate 2 与 Hibernate 3的一些区别
- 自动更换ip地址的程序(windows XP)
- 浅谈工程管理
- Spring jar包详解
- outputcache Dependencies
- spring使用