Unable to specify channel 2: Device or resource busy
Сообщений: 10
|
Unable to specify channel 2: Device or resource busy
купили две карточки TDM800P, вставил в сервер, настроил как указано в мануале:
zapata.conf:
[channels]
language=en
context=default
group = 1
threewaycalling=yes
transfer=yes
cancallforward=yes
;rxflash=1050
callwaiting=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=yes
signalling = fxs_ks
call-limit=1
notifyringing = yes
notifyhold=yes
useincomingcalleridonzaptransfer=yes
usecallerid=yes
rxgain=0.0
txgain=0.0
context=from_office
channel => 1-16
в логах такое:
localhost*CLI> zap restart
Destroying channels and reloading zaptel configuration.
== Parsing '/etc/asterisk/zapata.conf': Found
-- Registered channel 1, FXS Kewlstart signalling
-- Registered channel 2, FXS Kewlstart signalling
-- Registered channel 3, FXS Kewlstart signalling
-- Registered channel 4, FXS Kewlstart signalling
-- Registered channel 5, FXS Kewlstart signalling
-- Registered channel 6, FXS Kewlstart signalling
-- Registered channel 7, FXS Kewlstart signalling
-- Registered channel 8, FXS Kewlstart signalling
-- Registered channel 9, FXS Kewlstart signalling
-- Registered channel 10, FXS Kewlstart signalling
-- Registered channel 11, FXS Kewlstart signalling
-- Registered channel 12, FXS Kewlstart signalling
[Jul 28 17:16:39] WARNING[31129]: chan_zap.c:898 zt_open: Unable to specify channel 13: No such device or address
[Jul 28 17:16:39] ERROR[31129]: chan_zap.c:7209 mkintf: Unable to open channel 13: No such device or address
here = 0, tmp->channel = 13, channel = 13
[Jul 28 17:16:39] ERROR[31129]: chan_zap.c:10593 build_channels: Unable to register channel '1-16'
[Jul 28 17:16:39] WARNING[31129]: chan_zap.c:9890 zap_restart: Reload channels from zap config failed!
localhost*CLI> zap restart
Destroying channels and reloading zaptel configuration.
== Parsing '/etc/asterisk/zapata.conf': Found
[Jul 28 17:16:41] WARNING[31129]: chan_zap.c:898 zt_open: Unable to specify channel 1: Device or resource busy
[Jul 28 17:16:41] ERROR[31129]: chan_zap.c:7209 mkintf: Unable to open channel 1: Device or resource busy
here = 0, tmp->channel = 1, channel = 1
[Jul 28 17:16:41] ERROR[31129]: chan_zap.c:10593 build_channels: Unable to register channel '1-16'
[Jul 28 17:16:41] WARNING[31129]: chan_zap.c:9890 zap_restart: Reload channels from zap config failed!
localhost*CLI> zap restart
Destroying channels and reloading zaptel configuration.
== Parsing '/etc/asterisk/zapata.conf': Found
-- Registered channel 1, FXS Kewlstart signalling
-- Registered channel 2, FXS Kewlstart signalling
-- Registered channel 3, FXS Kewlstart signalling
-- Registered channel 4, FXS Kewlstart signalling
-- Registered channel 5, FXS Kewlstart signalling
-- Registered channel 6, FXS Kewlstart signalling
-- Registered channel 7, FXS Kewlstart signalling
-- Registered channel 8, FXS Kewlstart signalling
-- Registered channel 9, FXS Kewlstart signalling
-- Registered channel 10, FXS Kewlstart signalling
-- Registered channel 11, FXS Kewlstart signalling
-- Registered channel 12, FXS Kewlstart signalling
[Jul 28 17:16:42] WARNING[31129]: chan_zap.c:898 zt_open: Unable to specify channel 13: No such device or address
[Jul 28 17:16:42] ERROR[31129]: chan_zap.c:7209 mkintf: Unable to open channel 13: No such device or address
here = 0, tmp->channel = 13, channel = 13
[Jul 28 17:16:42] ERROR[31129]: chan_zap.c:10593 build_channels: Unable to register channel '1-16'
[Jul 28 17:16:42] WARNING[31129]: chan_zap.c:9890 zap_restart: Reload channels from zap config failed!
localhost*CLI>
|
Откуда: Москва
Сообщений: 3421
|
Re: Unable to specify channel 2: Device or resource busy
Покажите zaptel.conf и вывод ztcfg -vv.
Карты TDM800P - это пустые базы. У вас TDM808B (8FXO) ?
Еще покажите dmesg | grep -i module
|
Сообщений: 10
|
Re: Unable to specify channel 2: Device or resource busy
zaptel.conf:
# Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit
# Zaptel Configuration File
#
# This file is parsed by the Zaptel Configurator, ztcfg
#
# It must be in the module loading order
# Span 1: WCTDM/0 "Wildcard TDM800P Board 1" (MASTER)
fxsks=1
loadzone = us
defaultzone = us
ztcfg -vv:
[root@localhost ~]# ztcfg -vv
Zaptel Version: 1.4.11
Echo Canceller: MG2
Configuration
======================
Channel map:
Channel 01: FXS Kewlstart (Default) (Slaves: 01)
1 channels to configure.
zapata.conf:
[channels]
language=en
context=default
group = 1
threewaycalling=yes
transfer=yes
cancallforward=yes
;rxflash=1050
callwaiting=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=yes
call-limit=1
notifyringing = yes
notifyhold=yes
useincomingcalleridonzaptransfer=yes
usecallerid=yes
rxgain=0.0
txgain=0.0
signalling = fxs_ks
channel => 1
dmesg | grep -i module
[root@localhost ~]# dmesg | grep -i module
selinux_register_security: Registering secondary module capability
brd: module loaded
Found a Wildcard TDM: Wildcard TDM800P (8 modules)
ProSLIC on module 4 failed to powerup within 504 ms (0 mV only)
Unable to do INITIAL ProSLIC powerup on module 4
ProSLIC on module 4 failed to powerup within 504 ms (0 mV only)
Unable to do INITIAL ProSLIC powerup on module 4
ProSLIC on module 5 failed to powerup within 504 ms (0 mV only)
Unable to do INITIAL ProSLIC powerup on module 5
ProSLIC on module 5 failed to powerup within 504 ms (0 mV only)
Unable to do INITIAL ProSLIC powerup on module 5
ProSLIC on module 6 failed to powerup within 504 ms (0 mV only)
Unable to do INITIAL ProSLIC powerup on module 6
ProSLIC on module 6 failed to powerup within 504 ms (0 mV only)
Unable to do INITIAL ProSLIC powerup on module 6
ProSLIC on module 7 failed to powerup within 504 ms (0 mV only)
Unable to do INITIAL ProSLIC powerup on module 7
ProSLIC on module 7 failed to powerup within 504 ms (0 mV only)
Unable to do INITIAL ProSLIC powerup on module 7
Found a Wildcard TDM: Wildcard TDM800P (8 modules)
loop: module loaded
У меня Digium TDM 808B и Digium TDM 808B.
|
Сообщений: 1573
|
Re: Unable to specify channel 2: Device or resource busy
|
|