[asterisk-users] problem with tdm2400p configuration

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sun Nov 18 11:02:33 CST 2007


On Mon, Nov 19, 2007 at 12:30:01AM +0800, Mark Quitoriano wrote:
> On Nov 18, 2007 10:11 PM, Tzafrir Cohen <tzafrir.cohen at xorcom.com> wrote:
> > On Sun, Nov 18, 2007 at 06:46:18AM +0200, Tzafrir Cohen wrote:
> > > On Sun, Nov 18, 2007 at 10:46:57AM +0800, Mark Quitoriano wrote:
> > > > Hi i have a tdm2400p and installed asterisk 1.4.11 with zaptel 1.4.5
> > > > im having an error message when in running asterisk with the tdm card
> > > > in.
> > > >
> > > > here's the error from the console of asterisk:
> > > >
> > > > [Nov 18 10:30:44] ERROR[5557]: chan_zap.c:7489 mkintf: Unable to get
> > > > span status: Inappropriate ioctl for device
> > > > [Nov 18 10:30:44] ERROR[5557]: chan_zap.c:10466 build_channels: Unable
> > > > to register channel '1-24'
> > >
> > > What is the line just above this? It should tell you the exact number of
> > > the channel where the problem was.
> >
> > Oops. I wasn't looking at the error message carefully.
> >
> > It fails at the ioctl ZT_SPANSTAT .
> >
> > Which brings up two questions:
> >
> > 1. How can that fail?
> > 2. Why isn't get_alarms() used to get alarms on a span / channel?
> >
> > Anybody (regarding (1), that is)?
> >
> 
> that's the same question i got(regarding question 1). Is it possible
> for PCI compatibility issue? i need to check for the motherboard specs
> to post later :)

Hopefully someone will have someone smarter to say. This specific ioctl,
if it actually gets to zaptel, should never be answered by -ENOTTY
("Inappropriate ioctl for device"). So:

  ls -l /dev/zap

I still hope someone has a smarter advice.

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



More information about the asterisk-users mailing list