- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我在 Ubuntu 12.04.2 LTS 上安装了 dahdi 2.7 和 asterisk 11。我很难配置 DAHDI channel 。我有一张来自 Digium 的 AEX 808 卡,我的电话线上有 8 个 FXO 端口的卡插入卡的端口 1。
我在 http://www.voip-info.org/wiki/view/DAHDI 中遵循了完全相同的步骤。
在示例安装部分下,除了我编辑 dahdi_channels.conf 以指向与 channel 2-8 的 channel 号相同的组号,因为我认为 asterisk 试图从 channel 1 以外的 channel 调用电话,因为它们以前都在组=0。
这是我的配置文件:
chan_dahdi.conf:
[trunkgroups]
; No trunk groups are needed in this configuration.
[channels]
#include /etc/asterisk/dahdi-channels.conf
; The channels context is used when defining channels using the
; older deprecated method. Don't use this as a section name.
;[phone](!)
;
; A template to hold common options for all phones.
;
usecallerid = yes
hidecallerid = no
callwaiting = no
;threewaycalling = yes
transfer = yes
echocancel = yes
echotraining = yes
immediate = no
; Autogenerated by /usr/sbin/dahdi_genconf on Thu Aug 8 15:55:40 2013
; If you edit this file and execute /usr/sbin/dahdi_genconf again,
; your manual changes will be LOST.
; Dahdi Channels Configurations (chan_dahdi.conf)
;
; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended
; to be #include-d by /etc/chan_dahdi.conf that will include the global settings
;
; Span 1: WCTDM/0 "Wildcard AEX800" (MASTER)
;;; line="1 WCTDM/0/0 FXSKS (In use) (EC: VPMOCT032 - INACTIVE)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 1
callerid=
group=
context=default
;;; line="2 WCTDM/0/1 FXSKS (In use) (EC: VPMOCT032 - INACTIVE)"
signalling=fxs_ks
callerid=asreceived
group=2
context=from-pstn
channel => 2
callerid=
group=
context=default
;;; line="3 WCTDM/0/2 FXSKS (In use) (EC: VPMOCT032 - INACTIVE)"
signalling=fxs_ks
callerid=asreceived
group=3
context=from-pstn
channel => 3
callerid=
group=
context=default
;;; line="4 WCTDM/0/3 FXSKS (In use) (EC: VPMOCT032 - INACTIVE)"
signalling=fxs_ks
callerid=asreceived
group=4
context=from-pstn
channel => 4
callerid=
group=
context=default
;;; line="5 WCTDM/0/4 FXSKS (In use) (EC: VPMOCT032 - INACTIVE)"
signalling=fxs_ks
callerid=asreceived
group=5
context=from-pstn
channel => 5
callerid=
group=
context=default
;;; line="6 WCTDM/0/5 FXSKS (In use) (EC: VPMOCT032 - INACTIVE)"
signalling=fxs_ks
callerid=asreceived
group=6
context=from-pstn
channel => 6
callerid=
group=
context=default
;;; line="7 WCTDM/0/6 FXSKS (In use) (EC: VPMOCT032 - INACTIVE)"
signalling=fxs_ks
callerid=asreceived
group=7
context=from-pstn
channel => 7
callerid=
group=
context=default
;;; line="8 WCTDM/0/7 FXSKS (In use) (EC: VPMOCT032 - INACTIVE)"
signalling=fxs_ks
callerid=asreceived
group=8
context=from-pstn
channel => 8
callerid=
group=
context=default
# Autogenerated by /usr/sbin/dahdi_genconf on Thu Aug 8 15:55:40 2013
# If you edit this file and execute /usr/sbin/dahdi_genconf again,
# your manual changes will be LOST.
# Dahdi Configuration File
#
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Span 1: WCTDM/0 "Wildcard AEX800" (MASTER)
fxsks=1
echocanceller=mg2,1
fxsks=2
echocanceller=mg2,2
fxsks=3
echocanceller=mg2,3
fxsks=4
echocanceller=mg2,4
fxsks=5
echocanceller=mg2,5
fxsks=6
echocanceller=mg2,6
fxsks=7
echocanceller=mg2,7
fxsks=8
echocanceller=mg2,8
[Aug 8 15:56:26] WARNING[25198] chan_dahdi.c: Unable to specify channel 1: Device or resource busy
[Aug 8 15:56:26] ERROR[25198] chan_dahdi.c: Unable to open channel 1: Device or resource busy
[Aug 8 15:56:26] ERROR[25198] chan_dahdi.c: Unable to register channel '1'
### Span 1: WCTDM/0 "Wildcard AEX800" (MASTER)
1 FXO FXSKS (In use) (EC: VPMOCT032 - INACTIVE)
2 FXO FXSKS (In use) (EC: VPMOCT032 - INACTIVE) RED
3 FXO FXSKS (In use) (EC: VPMOCT032 - INACTIVE) RED
4 FXO FXSKS (In use) (EC: VPMOCT032 - INACTIVE) RED
5 FXO FXSKS (In use) (EC: VPMOCT032 - INACTIVE) RED
6 FXO FXSKS (In use) (EC: VPMOCT032 - INACTIVE) RED
7 FXO FXSKS (In use) (EC: VPMOCT032 - INACTIVE) RED
8 FXO FXSKS (In use) (EC: VPMOCT032 - INACTIVE) RED
astersik*CLI> dahdi show status
No such command 'dahdi show status' (type 'core show help dahdi show' for other possible commands)
DAHDI Tools Version - 2.7.0-rc1
DAHDI Version: 2.7.0-rc1
Echo Canceller(s): HWEC
Configuration
======================
Channel map:
Channel 01: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 02)
Channel 03: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 04)
Channel 05: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 05)
Channel 06: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 06)
Channel 07: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 07)
Channel 08: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 08)
8 channels to configure.
Setting echocan for channel 1 to mg2
Setting echocan for channel 2 to mg2
Setting echocan for channel 3 to mg2
Setting echocan for channel 4 to mg2
Setting echocan for channel 5 to mg2
Setting echocan for channel 6 to mg2
Setting echocan for channel 7 to mg2
Setting echocan for channel 8 to mg2
最佳答案
检查输出:
dahdi_cfg -vvvvv
关于asterisk - 配置 DAHDI channel ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18135866/
我很好奇为什么以下不起作用。一般select用default:防止死锁,但在这种情况下不是: package main import "fmt" func main () { a := mak
我一生都无法弄清楚如何切换图像排序。图像以 (x,x,3) 格式读取,theano 要求它是 (3,x,x) 格式。我尝试更改顺序numpy.array([img[:,:,i] for i in ra
我正在向 libnl 发送单个 SSID 和频率进行扫描,但我得到了多个扫描结果以及我请求的 SSID 和频率,但我需要单个扫描结果(仅适用于请求的 SSID),如何实现这一点。请帮助我,我也发送了我
我是 Golang 的新手,但正在努力理解这门伟大的语言!请帮帮我.. 我有 2 个 channel 。 “进”和“出” channel in, out := make(chan Work),
例如我有这段代码: package main import ( "fmt" ) func main() { c1 := make(chan interface{}) close
我们使用以下调用来获取经过身份验证的用户的 ChannelID,它适用于大多数情况。一些 YouTube 用户将他们的 channel 连接到 Google+ 信息页,但在这种情况下,我们的一位用户无
case 'sinfo': const sinfo = new Discord.MessageEmbed() .addField('Server Name 🔎 :', message.guild.n
我需要让所有 channel 来创建一个 bunker 命令,这使得所有 channel 都是只读的。 最佳答案 他们变了Client.servers至 Client.guilds在 newer ve
为什么当第二个值通过另一个 go routine 发送并且没有收到发送的第一个值时, channel c 没有缓冲? package main import "fmt" func sum(s []in
据我所知,内置的 split 会将一个 3 channel Mat 拆分为三个 1 channel Mat。结果,这三个 Mat 只是具有一些不同强度的灰度。 我的意图是获得三个 3 channel
如何检测当前的 RAM 配置?我需要询问 Windows RAM 当前是在单 channel 、双 channel 还是四 channel 中运行。 我搜索了很多,并没有在这个网站或其他网站上找到任何
我需要拆分一个多 channel wav 文件并将每个 channel 编码为 mp3 文件。 我知道 gtresamer 的 deinterleave 插件,但我不确定如何将它用于 wav 文件以及
关闭。这个问题需要details or clarity .它目前不接受答案。 想要改进这个问题吗? 通过 editing this post 添加详细信息并澄清问题. 关闭 8 年前。 Improve
我正在尝试运行 Hyperledger Fabric 网络,它由单个订购者、单个对等节点和一个 cli 组成。为了学习启动 Hyperledger Fabric 网络的过程,从创建与加密相关的工件到将
我在 Laravel 中使用事件广播。我正在使用基于角色的通知访问权限。我有用于广播的自定义 auth guard。当用户连接到 channel 时,客户端将具有内部权限的 access_token
我正在编写一个使用 Elixir Channels 来处理实时事件的应用程序。我知道每个客户端将打开 1 个套接字,并且可以在其上多路复用多个 channel 。所以我的应用程序是一个聊天应用程序,其
我有一些 .wav 文件,我想转换它们的频率 (fs) 和 channel 数 (nchannels)。我在jupyter笔记本python3.6上使用ffmpeg。我使用了以下命令并且它有效。 cm
我有一个视频渲染器,它需要两个 H265 流(YUV420),我需要烘焙它们以使它们中的一个与另一个形成 alpha 蒙版。这一切都已解决并且效果很好,但是如果我按照此处的说明进行操作: ffmpeg
我运行此命令以便能够将 udp 直播流传输到可使用正在构建的移动应用程序播放的 http 直播流。 它只是一个只有音频流的流。 ffmpeg -i udp://@localhost:1111 -map
我在我的 discord.js 机器人中创建了 nuke 命令,它创建了具有相同名称、权限、主题等的 channel ,并删除了“原始” channel 。但是有一个问题,如何使 channel 与“
我是一名优秀的程序员,十分优秀!