【问题标题】:Asterisk + SIP 404 not found未找到星号 + SIP 404
【发布时间】:2012-01-19 23:20:47
【问题描述】:

我想在家里做一个小型的 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]

但问题是当我从 uriel 调用 sip:vibrant@192.168.1.200 时,我得到 404 not found。

对不起我的英语。

正如用户 mealstrom 所问: 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

【问题讨论】:

    标签: sip asterisk


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 2020-11-02
      • 1970-01-01
      • 2016-11-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-06-09
      • 1970-01-01
      相关资源
      最近更新 更多