SIP(Asterisk) 的 NAT 配置
我安装了一个星号服务器,并且在尝试时注册了几个 SIP 用户。
*CLI> sip show peers
Name/username Host Dyn Nat ACL Port Status
2000/2000 (Unspecified) D 5060 Unmonitored
2005/2005 (Unspecified) D *N * 0 Unmonitored
6 sip peers [Monitored: 0 online, 0 offline Unmonitored: 5 online, 1 offline]
请让我知道如何为特定 SIP 用户配置 NAT 设置,例如本例中 2000 年的 NAT 为空白,2005 年的 NAT 为 N。
i have a asterisk server installed and have registered few SIP users when i try
*CLI> sip show peers
Name/username Host Dyn Nat ACL Port Status
2000/2000 (Unspecified) D 5060 Unmonitored
2005/2005 (Unspecified) D *N * 0 Unmonitored
6 sip peers [Monitored: 0 online, 0 offline Unmonitored: 5 online, 1 offline]
Let me know how i can configure the NAT settings for a particular SIP user like for this case 2000 has NAT as blank and 2005 has NAT as N.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用 CLI 编辑 sip*.conf(根据您的设置)。
到目前为止,Asterisk nat 支持已发展到以下选项:
不要忘记为 natted 用户设置 canreinvite=no。
下面我为用户 681 显示了一个示例。
You can use CLI to edit sip*.conf (according to your settings).
By now Asterisk nat support has evolved to these options:
Don't forget to set canreinvite=no for natted users.
I have shown an example below for user 681.