标签: asterisk

如何在 Asterisk 中配置具有不同主机详细信息的 sip trunk

我已经阅读了这里的每个论坛,asterisk.org 和谷歌关于这个问题,但仍然无法解决问题。这是 SIP 的详细信息。SIP 域 sip.provider.com:5060 出站代理 sip10.provider.com:5090 用户名 1386269xxxx 密码 123456789 授权 ID 123456789(Auth ID 和 Password 相同)

正如我所说,我试图用谷歌搜索它,但所有教程都显示了没有不同主机名和身份验证 ID 的示例。我不知道如何在 sip.conf 中描述它。还必须使用此 sip 中继来呼入和呼出两者。这些教程说 type=peer。所以我很困惑,因为我认为它应该是 type=friend。请帮忙。

asterisk

5
推荐指数
1
解决办法
9595
查看次数

创建指向不在预期目录中的头文件的软链接

3.12.6-300.fc20.x86_64 #1 SMP Mon Dec 23 16:44:31 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Fedora 20
Run Code Online (Sandbox Code Playgroud)

我正在尝试从源代码安装星号,当我运行 ./configure 脚本时,出现以下错误:

checking for uuid_generate_random in -luuid... yes
checking uuid/uuid.h usability... no
checking uuid/uuid.h presence... no
checking for uuid/uuid.h... no
checking for uuid_generate_random in -le2fs-uuid... no
checking for uuid_generate_random... no
configure: error: *** uuid support not found (this typically means the uuid development package is missing)
Run Code Online (Sandbox Code Playgroud)

但是,我已经安装了 64 位版本的 uuid 和 uuid-devel

Name        : uuid-devel
Arch        : x86_64
Version     : 1.6.2
Release     : 21.fc20 …
Run Code Online (Sandbox Code Playgroud)

linux fedora software-installation asterisk

5
推荐指数
1
解决办法
5979
查看次数

Bash 脚本可以知道我的电话分机何时无法访问?

无论如何编写一个bash,当我的电话分机无法访问时,它可以通过电子邮件通知我?

输出来自 /var/log/asterisk/full

[Nov 15 13:25:16] NOTICE[7884] chan_sip.c: Peer '7778' is now UNREACHABLE!  Last qualify: 17
[Nov 15 13:25:17] NOTICE[7884] chan_sip.c: Peer '7169' is now UNREACHABLE!  Last qualify: 17
[Nov 15 13:25:17] NOTICE[7884] chan_sip.c: Peer '7176' is now UNREACHABLE!  Last qualify: 18
[Nov 15 13:25:18] NOTICE[7884] chan_sip.c: Peer '7771' is now UNREACHABLE!  Last qualify: 14
[Nov 15 13:25:18] NOTICE[7884] chan_sip.c: Peer '7606' is now UNREACHABLE!  Last qualify: 17
[Nov 15 13:25:18] NOTICE[7884] chan_sip.c: Peer '7773' is now UNREACHABLE!  Last qualify: …
Run Code Online (Sandbox Code Playgroud)

shell-script asterisk

3
推荐指数
1
解决办法
1253
查看次数

为什么我不能安装ncurses开发包?

我正在尝试配置Asterisk 12.3.2Debian 6.0.9但出现错误:

"configure: error: *** termcap support no found (on modern systems, this typically means the ncurses development package is missing)".
Run Code Online (Sandbox Code Playgroud)

当我尝试通过以下方式安装它时:

apt-get install libncurses5-dev
Run Code Online (Sandbox Code Playgroud)

我收到无法找到包的消息。

debian ncurses asterisk

2
推荐指数
1
解决办法
2万
查看次数