星号 +未找到 SIP 404
我想在我家里制作一个小型的 Asterisk 服务器。我在 Ubuntu 上安装了 asterisk 我使用两台计算机,以便相互连接。当我连接时,我可以在 Wireshark 中看到该注册器正常。这是 sip show peers 命令的输出:
Name/username Host Dyn Forcerport ACL Port Status
uriel/uriel 192.168.1.101 D N 5060 Unmonitored
vibrant/vibrant 192.168.1.100 D N 5060 Unmonitored
2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 2 online, 0 offline]
但问题是当我调用 sip:[电子邮件受保护] 来自 uriel 我收到 404 未找到。
对不起我的英语。
正如用户 Mealstrom 所问: sip配置文件
[vibrant]
type=friend
username=vibrant
secret=
host=dynamic
context=tutorial
nat=yes
qualify=yes
[uriel]
type=friend
username=uriel
secret=
host=dynamic
context=tutorial
nat=yes
qualify=yes
I want to make a small Asterisk server in my house. I installed asterisk on my Ubuntu
and I use 2 computers, in order to connect to one another. when I connect I can see in Wireshark that registrar ok. here is the output of sip show peers command:
Name/username Host Dyn Forcerport ACL Port Status
uriel/uriel 192.168.1.101 D N 5060 Unmonitored
vibrant/vibrant 192.168.1.100 D N 5060 Unmonitored
2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 2 online, 0 offline]
But the problem is when I call sip:[email protected] from uriel I get 404 not found.
And sorry for my English.
as user mealstrom asked:
sip.conf
[vibrant]
type=friend
username=vibrant
secret=
host=dynamic
context=tutorial
nat=yes
qualify=yes
[uriel]
type=friend
username=uriel
secret=
host=dynamic
context=tutorial
nat=yes
qualify=yes
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要设置拨号方案。在 sip.config 中,您为每个 sip 用户设置默认上下文。然后在extensions.conf 中创建这个上下文并在其中保存拨号方案。你可以看看asterisk的例子——它们非常好。当然,如果您还有问题,请在这里提问:)
You need to setup a dialplan. In your sip.config you set default context for each sip user. Then in extensions.conf you create this context and save the dialplan in it. You can see asterisk's examples - they are pretty good. Of course if you still have problems ask here :)