[Asterisk-bsd] Zaptel Driver problem on FreeBSD 5.4

Chris St Denis chris at aebc.com
Thu Oct 6 15:41:32 CDT 2005


You could play with the sysctl variables and turn on debug. This gave me
lots of info. It was far too obscure and low level for me to make any use of
but your mileage may vary.

gateway2# sysctl -a | grep zap
zaptel.debug: 1
zaptel.deftaps: 64
zaptel.pulse.make: 60
zaptel.pulse.break: 40
zaptel.pulse.pause: 800
zaptel.wcfxo.debug: 1
zaptel.wcfxo.monitor: 0
zaptel.wcfxo.batterycheck: 1
zaptel.wcfxs.debug: 1
zaptel.wct4xxp.debug: 1
zaptel.wct4xxp.t1e1: -1

-----Original Message-----
From: asterisk-bsd-bounces at lists.digium.com
[mailto:asterisk-bsd-bounces at lists.digium.com] On Behalf Of Mark Ackroyd
Sent: Thursday, October 06, 2005 12:03 PM
To: asterisk-bsd at lists.digium.com
Subject: RE: [Asterisk-bsd] Zaptel Driver problem on FreeBSD 5.4

> Some suggestions on your problem to help debug it.

Thanks :-)
 
> * Run zttool and see if there are any alarms on your spans. And make sure
> whichever one you use is marked as "OK" not "Unconfigured"

This doesn't actually show anything, nice blue screen no info, just a select
and quit button.

> * Did you make a /usr/local/etc/zaptel.conf?

Yes, it was missing from the port. I Had card working on a Linux machine, I
just used the same file.

> * did you run ztcfg? Run it with -vvvvvv and see if you get any info.

loads of info about my config. , then the line

ZT_SPANCONFIG failed on span 1: Device not configured (6)

> * will asterisk load with zaptel module in?

As you would expect, asterisk doesn't even see that there is any zap
channels there.

Interesting enough, there is a /dev/zap entry. But after looking round , I
noticed other people have a /dev/wct4xxp entry. I don't though :-(

kldstat tells me this, that the driver is loaded, but is simply not seeing
the card. It's as if it was not plugged in !.

root at hathor:/dev>kldstat
Id Refs Address    Size     Name
 1   15 0xc0400000 5dde04   kernel
 2   14 0xc09de000 56270    acpi.ko
 3    1 0xc288c000 17000    linux.ko
 4    7 0xc2928000 2f000    zaptel.ko
 5    1 0xc2958000 7000     qozap.ko
 6    1 0xc2967000 5000     wcfxo.ko
 7    1 0xc296d000 a000     wcfxs.ko
 8    1 0xc297a000 6000     wct1xxp.ko
 9    1 0xc2981000 b000     wct4xxp.ko
10    1 0xc298d000 9000     wcte11xp.ko
root at hathor:/dev>

Mark


_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSD at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd



More information about the Asterisk-BSD mailing list