Bug#382604: zaptel: fails by post-install

Mark Purcell msp at debian.org
Sat Aug 12 12:39:58 UTC 2006


Christoph,

On Saturday 12 August 2006 12:48, Christoph Kaminski wrote:
> 01:06.0 Network controller: Cologne Chip Designs GmbH ISDN network
> controller [HFC-PCI] (rev 02)

Thanks I think this is the nub of the problem.

Unfortunately I don't have access to ISDN hardware so won't be able to debug 
too well remotely.

> cat /etc/zaptel.conf
> # hfc-s pci a span definition
> # most of the values should be bogus because we are not really zaptel
> loadzone=nl
> defaultzone=nl
>
> span=1,1,3,ccs,ami
> bchan=1-2
> dchan=3

This isn't shipped by the zaptel package, but is used by the package to gain 
configuration details.. Did you provide this config yourself? OR did it come 
with the hardware.

> Zaptel cards initial configuration: ZT_SPANCONFIG failed on span 1: 
> Invalid argument (22)

It seems like the zaptel startup doesn't like the span=1,1,3,ccs,ami from your 
config file.  Did this work with previous versions?

I suspect is is failing on the ztcgf(8) command:

Can you run:

# ztcfg  -vvvt

and forward the results.

Then I would suggest that you need to edit your modified zaptel.conf, until 
ztcfg does run correctly.

I might return to shipping the default zaptel.conf file under /etc so that 
when user mods are made it is brought to immediate attention.  Although the 
default doesn't cover a lot of cases, at least it is a starting point and 
changes will be aparent.

Also the genzaptelconf(8) script, might be able to assist with the 
regeneration of your zaptel.conf file, although we proably don't want to 
automate the running of that just yet.

Mark
Mark




More information about the Pkg-voip-maintainers mailing list