Zaptel on Debian Lenny
Tzafrir Cohen
tzafrir at cohens.org.il
Sun Nov 1 22:40:12 IST 2009
On Sun, Nov 01, 2009 at 05:19:50AM -0800, eliyahu cohen wrote:
> I installed a X101P card on my Debian Lenny box, along with the native Debian asterisk and zaptel packages (asterisk 1:1.4.21.2~dfs, zaptel 1:1.4.11~dfsg-). When I run the zap command at the asterisk CLI I get a "no such command:
>
> lab*CLI> zap
> No such command 'zap' (type 'help zap' for other possible commands)
>
> when I try to manually load the chan_zap.so module I get:
>
> 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'
>
> my zapata.conf file contains:
> [trunkgroups]
> [channels]
> switchtype=national
> signalling=fxo_ks
> rxwink=300
> usecallerid=yes
> hidecallerid=no
> callwaiting=yes
> usecallingpres=yes
> callwaitingcallerid=yes
> threewaycalling=yes
> transfer=yes
> canpark=yes
> cancallforward=yes
> callreturn=yes
> echocancel=yes
> echocancelwhenbridged=yes
> rxgain=0.0
> txgain=0.0
> group=1
> callgroup=1
> pickupgroup=1
> immediate=no
> context=default
> group=0
> channel => 1
>
> I installed the asterisk package after the zaptel package. How can I get zaptel support in the Debian asterisk package?
As suggested in README.Debian of the package zaptel:
Install the package zaptel-source , and then run:
m-a a-i zaptel
After which which you should get the zaptel modules available.
Then try:
modprobe wcfxo
zapconf
And then:
/etc/init.d/zaptel start
/etc/init.d/asterisk restart
--
Tzafrir Cohen | tzafrir at jabber.org | VIM is
http://tzafrir.org.il | | a Mutt's
tzafrir at cohens.org.il | | best
ICQ# 16849754 | | friend
More information about the Linux-il
mailing list