Bug#382604: zaptel: fails by post-install

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sat Aug 12 14:00:53 UTC 2006


On Sat, Aug 12, 2006 at 01:39:58PM +0100, Mark Purcell wrote:
> 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?

What is the output of:

cat /proc/zaptel/*

?

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

Right. However a failure of the zaptel init.d script should not fail the
package installation, right? 

> 
> 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.

With BRI and PRI it is not good enough for fully-automated
configuration. But will surely give something that will make ztcfg
happy.

-- 
Tzafrir Cohen         sip:tzafrir at local.xorcom.com
icq#16849755          iax:tzafrir at local.xorcom.com
+972-50-7952406          jabber:tzafrir at jabber.org
tzafrir.cohen at xorcom.com     http://www.xorcom.com




More information about the Pkg-voip-maintainers mailing list