[Asterisk-Users] Unable to specify channel 1: No such device

Rich Adamson radamson at routers.com
Mon Apr 18 10:54:09 MST 2005


Inline...

> Hi, I did not find any useful information to configure a Wildcard
> TDM400P with a FXO card. I've tried everithing, I tried configure it
> using the cvs and the information from digium page, I tried to
> configure it using
> debian packages, I tried to configure with kernels 2.4.30 and 2.6.11, I even
> switched the mother board (I tried 3 motherboards).
> 
> I tanks in advace any help you could give me.
> 
> Best Regards,
> Gregorio Toscano
> gtoscano at gmail.com
> 
> The erros are:
> 
> Apr 15 16:08:37 WARNING[1468]: chan_zap.c:850 zt_open: Unable to
> specify channel 1: No such device
> Apr 15 16:08:37 ERROR[1468]: chan_zap.c:6458 mkintf: Unable to open
> channel 1: No such device
> here = 0, tmp->channel = 1, channel = 1
> Apr 15 16:08:37 ERROR[1468]: chan_zap.c:9558 setup_zap: Unable to
> register channel '1'
> 
> My configuration files are:
> 
> lsmod
> Module                  Size  Used by    Not tainted
> wctdm                  97248   0  (unused)
> zaptel                214784   0  [wctdm]
> 
> dmesg (final):
> Module 0: Not installed
> Module 1: Not installed
> Module 2: Not installed
> Module 3: Installed -- AUTO FXO (FCC mode)
> Found a Wildcard TDM: Wildcard TDM400P REV E/F (4 modules)
> 
> najay:/etc# cat zaptel.conf
> loadzone = us
> defaultzone = us
> fxs_ks=1
  ^^^^^^ that should be fxsks (might also try fxsks=3 since your only 
         module is #3. I don't remember how these are numbered for sure.
         Don't forget to run 'ztcfg -vv' after the modprobes. That should
         tell you which channel the fxo module is on.

> najay:/etc/asterisk# cat zapata.conf
> [channels]
> signalling=fxo_ks
> echocancel=yes ; You can set this to 32, 64, or 128, tweak to your needs.
> echocancelwhenbridged=yes
> echotraining=400 ; Asterisk trains to the beginning of the call,
> number is in milliseconds
> callerid=asreceived
> group=1
> context=default ; Points to the default context of your extensions.conf
          ^^^^^^^ I strongly suggest changing this to some other keyword
                  as it appears that you're using "default" as the sip
                  context as well, and that's going to give you fits.
                  Try something like context=inbound-home or whatever.

> channel = 1 ; Again X is the number of FXO modules you have
> 
> najay:/etc/asterisk# cat voicemail.conf
> [general]
> 
> format=wav

I assume the following is really extensions.conf (even though you didn't
mention it).

> [default]
> 8500 => 1234,Gummer,gtoscano at gmail.com
> 
> [root at fred asterisk]#cat extensions.conf
> 
> [default]
> exten => 2999,1,VoicemailMain(${CALLERIDNUM})
> exten => 0.,1,Dial(Zap/g1/${EXTEN}/20,t)
> exten => s,1,Wait(1)
> exten => s,2,Dial,Zap/g1 ; Dials the first available channel in group 1
> exten => s,3,Voicemail,u9000
> exten => s,4,Hangup

Now you need to add this for inbound TDM calls (see above):
[inbound-home]
exten => s,1,Dial(SIP/8500},15) ; extn to ring when inbound call arrives.
exten => s,103,Congestion 

 
> najay:/proc# cat interrupts
>           CPU0
>  0:     362024          XT-PIC  timer
>  1:       6987          XT-PIC  keyboard
>  2:          0          XT-PIC  cascade
> 10:    2792513          XT-PIC  wctdm
> 11:      10280          XT-PIC  via82cxxx, eth0
> 12:       3653          XT-PIC  PS/2 Mouse
> 14:      16860          XT-PIC  ide0
> NMI:          0
> ERR:          0

Interrupts look fine with wctdm card on its own.

Rich





More information about the asterisk-users mailing list