Configure TE205P on asterisk@home


#1

hi

i’m trying to configure a TE205P on asterisk at home

i’ve edited /etc/sysconfig/zaptel adding this line:

MODULES="$MODULES wct2xxp"

now, when the system is loading, i can see that the wct2xxp module is
loaded correctly

but if i try the command:
/usr/local/sbin/genzaptelconf

i get:

STOPPING ASTERISK

STOPPING FOP SERVER
Generating  '/etc/zaptel.conf'
Generating  '/etc/asterisk/zapata-auto.conf'


STOPPING ASTERISK

STOPPING FOP SERVER
Unloading zaptel hardware drivers:.
Removing zaptel module:  ERROR: Module zaptel is in use by wct4xxp
                                                           [FAILED]
Loading zaptel framework:                                  [  OK  ]
Waiting for zap to come online...OK
Loading zaptel hardware modules: wct2xxpRunning ztcfg:     [  OK  ]

SETTING FILE PERMISSIONS
Permissions OK

STARTING ASTERISK
Asterisk ended with exit status 1
Asterisk died with code 1.
Automatically restarting Asterisk.
Asterisk ended with exit status 1
Asterisk died with code 1.
Automatically restarting Asterisk.

-----------------------------------------------------
Asterisk could not start!
Use 'tail /var/log/asterisk/full' to find out why.
-----------------------------------------------------
Unable to connect to remote asterisk (does
/var/run/asterisk/asterisk.ctl exist?)

the file asterisk.ctl esists…
[root at asterisk1 /]# ls -la /var/run/asterisk/asterisk.ctl
srwxr-xr-x 1 asterisk asterisk 0 Feb 11 07:06 /var/run/asterisk/asterisk.ctl

and this is what is reported in the logs:

[root at asterisk1 /]# tail /var/log/asterisk/full
Feb 11 07:06:05 VERBOSE[4808] logger.c:  [chan_zap.so]Feb 11 07:06:05
VERBOSE[4808] logger.c:  [chan_zap.so] => (Zapata Telephony w/PRI)
Feb 11 07:06:05 VERBOSE[4808] logger.c:   == Parsing
'/etc/asterisk/zapata.conf': Feb 11 07:06:05 VERBOSE[4808] logger.c:  
== Parsing '/etc/asterisk/zapata.conf': Found
Feb 11 07:06:05 VERBOSE[4808] logger.c:   == Parsing
'/etc/asterisk/zapata-auto.conf': Feb 11 07:06:05 VERBOSE[4808]
logger.c:   == Parsing '/etc/asterisk/zapata-auto.conf': Found
Feb 11 07:06:05 VERBOSE[4808] logger.c:   == Parsing
'/etc/asterisk/zapata_additional.conf': Feb 11 07:06:05 VERBOSE[4808]
logger.c:   == Parsing '/etc/asterisk/zapata_additional.conf': Found
Feb 11 07:06:05 WARNING[4808] chan_zap.c: Unable to specify channel 1:
No such device or address
Feb 11 07:06:05 ERROR[4808] chan_zap.c: Unable to open channel 1: No
such device or address
here = 0, tmp->channel = 1, channel = 1
Feb 11 07:06:05 ERROR[4808] chan_zap.c: Unable to register channel '1-23'
Feb 11 07:06:05 WARNING[4808] loader.c: chan_zap.so: load_module
failed, returning -1
Feb 11 07:06:05 WARNING[4808] loader.c: Loading module chan_zap.so failed!