TDM400 and Asterisk

hi,

I had a server with CentOS 4.5 -> everything worked fine.

I kept my configuration files and I have reformatted and isntalled CentOS v 5.1
with Zaptel 1.4.8, Asterisk 1.4.17
Installation correct - I have : 1 FXO and 2 FXS

Something wrong with the FXS Cannot dial out anymore.
A sip machine can dial the FXO channel…
But if do : ZAP RESTART … I block everything and have the following message :
== Parsing ‘/etc/asterisk/zapata.conf’: Found
[Mar 8 15:40:51] WARNING[3623]: chan_zap.c:904 zt_open: Unable to specify channel 2: Device or resource busy
[Mar 8 15:40:51] ERROR[3623]: chan_zap.c:7186 mkintf: Unable to open channel 2: Device or resource busy
here = 0, tmp->channel = 2, channel = 2
[Mar 8 15:40:51] ERROR[3623]: chan_zap.c:10527 build_channels: Unable to register channel ‘2’
[Mar 8 15:40:51] WARNING[3623]: chan_zap.c:9824 zap_restart: Reload channels from zap config failed!

ZAPATA.CONF
Channel 2 is FXS
The hardware is the same, nothing has changed for the hardware .
group=2
rxgain=-1.0 ;
txgain=3.0
echocancel=yes
dtmfmode=rfc2833
context=incoming
signalling=fxs_ks
channel=2

; FXS module : The Handset
group=1
txgain=-5.0 ; Adjust the volume from the Headset
context=default
dtmfmode=rfc2833
mailbox=220
signalling=fxo_ks
channel=1

ZAPTEL.CONF
fxoks=1
fxsks=2,3

Any idea ?

Thanks

What version of Asterisk and Zaptel were you using on 4.5?

Hi,

I was using :

  • Asterisk 1.4.4
  • Zaptel 1.4.2.1
  • Libpri 1.4.0

Thanks