Hello.
I am still failing to get the zapata/bristuff drivers working with Asterisk. I am running Fedora Core 4, specifically the kernel 2.6.11-1.1369_FC4.
I have purchased two Cologne Chip Designs HFC-PCI ISDN cards for my PC. The person I purchased them from attached a set of instructions on how to set them up: download the bristuff tarball from Junghanns.net - I downloaded version 0.3.0-PRE-1q. I also downloaded the Florz patch from it (version 0.3.0-PRE-1o), and followed the instructions on patching the bristuff directory.
I ran the install script, and although it initially had problems with my kernel source being unlocatable, and not creating the devices/zaptel module, I finally managed to get the zaptel module and devices to exist. Asterisk and everything else installed fine.
Here is my /etc/asterisk/zapata.conf:
[channels]
switchtype=euroisdn
musiconhold=default
signalling=bri_cpe
usecallingpres=yes
pridialplan=unknown
prilocaldialplan=unknown
nationalprefix=0
internationalprefix=00
stripmsd=0
echocancel=yes
echocancelwhenbridged=yes
echotraining=yes
rxgain=2
txgain=2
immediate=no
usecallerid=yes
callerid=asreceived
group=1
context=zaphfc-in
channel => 1-2
channel => 3-4
Here is my /etc/zaptel.conf:
[code]loadzone=uk
defaultzone=uk
span=1,1,3,ccs,ami,crc4
bchan=1-2
dchan=3
autofallthrough=no[/code]
So, the two main problems are:
Running /etc/init.d/zaptel start (to start zaptel, right?) causes the following output:
Loading zaptel framework: [ OK ]
Waiting for zap to come online...OK
Loading zaptel hardware modules: Registered Tormenta2 PCI
Wildcard USB FXS Interface driver registered
No functioning zap hardware found in /proc/zaptel, loading ztdummy
Running ztcfg: ZT_SPANCONFIG failed on span 1: invalid argument (22) [ FAILED ]
And secondly, running asterisk -c produces:
WARNING[2832]: chan_zap.c:1099 zt_open: Unable to specify channel 1: Device or resource busy
ERROR[2832]: chan_zap.c:7219 mkintf: Unable to open channel 1: Device or resource busy
here = 0, tmp->channel = 1, channel = 1
ERROR[2832]: chan_zap.c:11982 setup_zap: Unable to register channel '1-2'
WARNING[2832]: loader.c:414 __load_resource: chan_zap.so: load_module failed, returning -1
WARNING[2832]: loader.c:554 load_modules: Loading module chan_zap.so failed!
Thank you very much for any help you can offer. I look forward to the day I can help out the way you guys do.[/code]