未找到星号+ SIP 404

时间:2012-01-19 11:54:36

标签: sip asterisk

我想在我家里制作一个小型的Asterisk服务器。我在我的Ubuntu上安装了星号 我使用2台电脑,以便相互连接。当我连接时,我可以在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的vibrant@192.168.1.200我找不到404。

抱歉我的英语。

用户的饭菜问: 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

1 个答案:

答案 0 :(得分:1)

您需要设置拨号方案。在sip.config中,为每个sip用户设置默认上下文。然后在extensions.conf中创建此上下文并将dialplan保存在其中。你可以看到星号的例子 - 它们非常好。当然,如果你还有问题,请在这里问:)

相关问题