[asterisk-users] Asterisk: No Longer Answering Calls

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Oct 30 07:23:44 CDT 2007


On Tue, Oct 30, 2007 at 12:08:08PM +0000, Jeng Yu wrote:
> 
> --- Tzafrir Cohen <tzafrir.cohen at xorcom.com> wrote:
> 
> > On Tue, Oct 30, 2007 at 07:31:07AM +0000, Jeng Yu
> > wrote:
> > > 
> > > --- Tzafrir Cohen <tzafrir.cohen at xorcom.com>
> > wrote:
> > > 
> > > > On Mon, Oct 29, 2007 at 03:44:13PM +0000, Jeng
> > Yu
> > > > wrote:
> > > 
> > > > > [Oct 29 12:03:09] WARNING[2073] chan_zap.c:
> > Unable
> > > > to
> > > > > specify channel 4: No such device or address
> > > > > [Oct 29 12:03:09] ERROR[2073] chan_zap.c:
> > Unable
> > > > to
> > > > > open channel 4: No such device or address here
> > =
> > > > 0,
> > > > > tmp->channel = 4, channel = 4
> > > > > [Oct 29 12:03:09] ERROR[2073] chan_zap.c:
> > Unable
> > > > to
> > > > > register channel '4'
> > > > 
> > > > Please provide the output of:
> > > > 
> > > > cat /proc/zaptel/*
> > > 
> > > 
> > > Hello, here's the output of 'cat /proc/zaptel/*'
> > > 
> > > Span 1: WCTDM/0 "Wildcard TDM400P REV I Board 1"
> > > 
> > >            1 WCTDM/0/0
> > >            2 WCTDM/0/1
> > >            3 WCTDM/0/2
> > >            4 WCTDM/0/3
> > 
> > None of them has any signalling set. Either you have
> > not run ztcfg or
> > your zaptel.conf is empty.
> > 
> > In the latter case, you can generate a working
> > zaptel.conf with the
> > zapconf (or xpp/utils/zapconf ).
> 
> Thanks, once again! I appreciate it. My asterisk is
> started automatically on system bootup by the
> init.d/asterisk script. Also, my /etc/zaptel.conf is
> not empty. Why it is ignored, I don't know. It has
> these lines in it:
> 
> #
> # Define FXO port with FXS signaling
> #
> 
> fxsks=4
> loadzone=uk
> defaultzone=uk
> 
> I do have to run /sbin/ztcfg -f to get this output
> from 'cat /proc/zaptel/*':

Without -f it is not applied? Strange.

ztcfg is supposed to be run by /etc/init.d/zaptel , which should be run
before asterisk is started . 

> 
> Span 1: WCTDM/0 "Wildcard TDM400P REV I Board 1"
> 
>            1 WCTDM/0/0
>            2 WCTDM/0/1
>            3 WCTDM/0/2
>            4 WCTDM/0/3 FXSKS
> 
> My question: Do I have to issue the 'ztcfg -f' command
> each time system boots up?

No. You do need to run ztcfg, but this should already be done by the
zaptel init.d script.

> 
> Still, the original problem persists.

Is that the original problem, or Asterisk still won't start?

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