Page 1 of 1

configuration of TDM11B

PostPosted: Wed Jul 04, 2007 4:55 am
by hakimabouchaib
i have a TDM11B and i want to configure it.
my zaptel.conf file is
loadzone=fr
defaultzone=fr
fxoks=3
fxsks=4

/sbin/ztcfg -vvvv

when i make
i have this
Zaptel Configuration
======================


Channel map:

Channel 03: FXO Kewlstart (Default) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Slaves: 04)

2 channels configured.



the zapata.conf file is
[channels]
language=fr
signalling=fxs_ks
usecallerid=yes
callerid=asreceived
context=default
echocancel=64
echocancelwhenbridged=yes
rxgain=1.0
txgain=1.0
channel =>3
callprogress=yes
language=fr
signalling=fxo_ks
usecallerid=yes
callerid=asreceived
context=default
echocancel=64
echocancelwhenbridged=yes
rxgain=1.0
txgain=1.0
channel =>4
callprogress=yes
group=1
immediate=no


i have the phone connected to the server but no tones :(
there is something wrong in configuration file??

PostPosted: Wed Jul 04, 2007 9:22 am
by gerski
when doing asterisk -vvvvvgc? what is your output?

PostPosted: Wed Jul 04, 2007 9:31 am
by hakimabouchaib
gerski wrote:when doing asterisk -vvvvvgc? what is your output?



when i make asterisk -vvvvvvvvvvvgc i have this
Jul 4 15:29:49 ERROR[14743]: chan_zap.c:6879 mkintf: Unable to open channel 3: No such device
here = 0, tmp->channel = 3, channel = 3
Jul 4 15:29:49 ERROR[14743]: chan_zap.c:6879 mkintf: Unable to open channel 3: No such device
here = 0, tmp->channel = 3, channel = 3
Jul 4 15:29:49 ERROR[14743]: chan_zap.c:10307 setup_zap: Unable to register channel '3'
Jul 4 15:29:49 ERROR[14743]: chan_zap.c:10307 setup_zap: Unable to register channel '3'
Jul 4 15:29:49 WARNING[14743]: loader.c:414 __load_resource: chan_zap.so: load_module failed, returning -1
Jul 4 15:29:49 WARNING[14743]: loader.c:414 __load_resource: chan_zap.so: load_module failed, returning -1
Jul 4 15:29:49 WARNING[14743]: loader.c:554 load_modules: Loading module chan_zap.so failed!
Jul 4 15:29:49 WARNING[14743]: loader.c:554 load_modules: Loading module chan_zap.so failed!


i forget to mentione it in my first message.

PostPosted: Wed Jul 04, 2007 9:45 am
by gerski
try doing this it seems like your channel 3 is registered as fxsks in your config:

Code: Select all
[channels]
language=fr
[b]signalling=fxo_ks[/b]
usecallerid=yes
callerid=asreceived
context=default
echocancel=64
echocancelwhenbridged=yes
rxgain=1.0
txgain=1.0
channel =>3
callprogress=yes
language=fr
[b]signalling=fxs_ks[/b]
usecallerid=yes
callerid=asreceived
context=default
echocancel=64
echocancelwhenbridged=yes
rxgain=1.0
txgain=1.0
channel =>4
callprogress=yes
group=1
immediate=no