Zaptel on Debian Lenny

Zaptel on Debian Lenny

Oron Peled oron at actcom.co.il
Sun Nov 1 20:22:54 IST 2009


On Sunday, 1 בNovember 2009 15:19:50 eliyahu cohen wrote:
> lab*CLI> module load chan_zap.so
> [Nov  1 08:07:54] WARNING[3242]: pbx.c:2981 ast_register_application: 
Already have an application 'ZapSendKeypadFacility'
>   == Parsing '/etc/asterisk/zapata.conf': Found
> [Nov  1 08:07:54] WARNING[3242]: chan_zap.c:957 zt_open: Unable to specify 
channel 1: Device or resource busy
> [Nov  1 08:07:54] ERROR[3242]: chan_zap.c:7414 mkintf: Unable to open 
channel 1: Device or resource busy
> here = 0, tmp->channel = 1, channel = 1
> [Nov  1 08:07:54] ERROR[3242]: chan_zap.c:11900 build_channels: Unable to 
register channel '1'

Since you get a "device busy" error, the first thing to check is which
process keep this channel open. It may be another asterisk process
running in the background, or a zttool you forgot open on another
terminal.

For the definitive answer, simple user fuser(1). For example:
  fuser -v /dev/zap/*

Also, as noted by IK in another reply the zaptel drivers are in the process
of being phased out for DAHDI.

However, I would suggest the opposite from Ido -- try to avoid
building asterisk/DAHDI yourself. You are new to this subject
and so you are bound to make many more mistakes in the process
than the Debian maintainers.

You should try to build your own, only AFTER you have gained experience
with a WORKING asterisk/DAHDI for some time.

Bye,

-- 
Oron Peled                                 Voice: +972-4-8228492
oron at actcom.co.il                  http://users.actcom.co.il/~oron
"Linux: like the air you breathe, ubiquitous and free"



More information about the Linux-il mailing list