Hello,
I am running Asterisk 1.4.10.1 + Zaptel 1.4.4 + Digium TDM400P (with 2 FXS and 1 FXO).
When I run Asterisk, it returns 1 Warning and 1 error. I have double checked “zaptel.conf”,
“zapata.conf” and “extension.conf” but didn’t find the problem.
Could you please help me to debug ?
log
.....
app_setcallerid.so => (Set CallerID Application)
== Registered application 'StackPop'
== Registered application 'Return'
== Registered application 'GosubIf'
== Registered application 'Gosub'
app_stack.so => (Stack Routines)
[Aug 15 15:38:48] WARNING[14348]: pbx.c:2948 ast_register_application: Already have an application 'ZapSendKeypadFacility'
== Parsing '/etc/asterisk/zapata.conf': Found
-- cadence 'r1' added: 250,1500,1500,3000,1500,3000
[Aug 15 15:38:48] WARNING[14348]: chan_zap2.c:903 zt_open: Unable to specify channel 1: Device or resource busy
[Aug 15 15:38:48] ERROR[14348]: chan_zap2.c:7172 mkintf: Unable to open channel 1: Device or resource busy
here = 0, tmp->channel = 1, channel = 1
[Aug 15 15:38:48] ERROR[14348]: chan_zap2.c:10478 build_channels: Unable to register channel '1'
== Parsing '/etc/asterisk/skinny.conf': Found
== Skinny listening on 0.0.0.0:2000
== Registered channel type 'Skinny' (Skinny Client Control Protocol (Skinny))
== Registered file format sln, extension(s) sln|raw
format_sln.so => (Raw Signed Linear Audio support (SLN))
== Registered application 'Zapateller'
app_zapateller.so => (Block Telemarketers with Special Information Tone)
== Parsing '/etc/asterisk/queues.conf': Found
.....
zaptel.conf
[code]# DIGIUM TDM400P
port 1 : FXS phone 1
port 2 : FXS phone 2
port 3 : -
port 4 : FXO - RTC
############################
loadzone=fr
defaultzone=fr
fxoks=1
fxoks=2
fxsks=4[/code]
result of ztcfg -vvv[code]
Zaptel Version: 1.4.4
Echo Canceller: MG2
Configuration
Channel map:
Channel 01: FXO Kewlstart (Default) (Slaves: 01)
Channel 02: FXO Kewlstart (Default) (Slaves: 02)
Channel 04: FXS Kewlstart (Default) (Slaves: 04)
3 channels configured.[/code]
zapata.conf[code]
[channels]
language=fr
cadence=250,1500,1500,3000,1500,3000 ;for Siemens DECT callerid
signalling=fxo_ks
mailbox = 1@default
callerid=“K” <1>
context=internal
channel => 1
signalling=fxo_ks
mailbox = 2@default
callerid=“M” <2>
context=internal
channel => 2
;
signalling=fxs_ks
context=internal
channel => 4[/code]
Thanks.