No such command 'dahdi show channels'

I installed B410P. All is OK…
When I want configure chan_dahdi.conf and defined “channel => x,x”, asterisk show
"No such command ‘dahdi show channels’ "

Next I commented like “;channel => x,x” in chan_dahdi.conf, asterisk show

“Chan Extension Context Language MOH Interpret
pseudo default default”

chan_dahdi.conf


[trunkgroups]

[channels]
;language = cz

; include dahdi extensions defined in FreePBX
;#include chan_dahdi_additional.conf
;#include dahdi-channels.conf

group=0,12
context=from-pstn
switchtype = euroisdn
signalling = bri_cpe_ptmp
channel => 4-5
;dahdichan = 4
context = default
group = 63

system.conf


  1. Autogenerated by /usr/sbin/dahdi_genconf on Sun Oct 11 19:31:23 2009
  2. If you edit this file and execute /usr/sbin/dahdi_genconf again,
  3. your manual changes will be LOST.
  4. Dahdi Configuration File

This file is parsed by the Dahdi Configurator, dahdi_cfg

Span 1: B4/0/1 “B4XXP (PCI) Card 0 Span 1” (MASTER) AMI/CCS RED

span=1,1,0,ccs,ami

  1. termtype: te
    bchan=1-2
    hardhdlc=3
    echocanceller=mg2,1-2
  2. Span 2: B4/0/2 “B4XXP (PCI) Card 0 Span 2” AMI/CCS
    span=2,2,0,ccs,ami
  3. termtype: te
    bchan=4-5
    hardhdlc=6
    echocanceller=mg2,4-5
  4. Span 3: B4/0/3 “B4XXP (PCI) Card 0 Span 3” AMI/CCS RED
    span=3,3,0,ccs,ami
  5. termtype: te
    bchan=7-8
    hardhdlc=9
    echocanceller=mg2,7-8
  6. Span 4: B4/0/4 “B4XXP (PCI) Card 0 Span 4” AMI/CCS
    span=4,4,0,ccs,ami
  7. termtype: te
    bchan=10-11
    hardhdlc=12
    echocanceller=mg2,10-11
  8. Global data

loadzone = us
defaultzone = us


Version of Asterisk 1.4.24
Driver DAHDI 2.2.0.2
kernel 2.6.18-164.el5
OS centos 5.3

Can you help me.
Thanks

I am not an expert in asterisk, but i had a similar problem. in my case what happened was i installed asterisk before installing dahdi-linux and dahdi-tool. so my asterisk compiled without dahdi drivers. so just make sure u install dahdi and the lib drivers first before u install the asterisk.
I hope this helps
regards

im not an expert but
try this commands

“yum update " command to update your settings
"yum install rsync vim enhanced unzip make gcc g++”

i havent tested it yet… but it wont hurt to try.

Hi there,

Your channels are not registered and hence the “dahdi” commands will not be available.

Note that BRI signalling through Dahdi is not supported in Asterisk versions < 1.6.x

If you launch asterisk -vvvvvvvvvvvvvv, you should be able to see why your channels are not getting registered.

Hope this helps.

Cheers,

Brodz./.

[quote=“brodz”]Hi there,

Your channels are not registered and hence the “dahdi” commands will not be available.

Note that BRI signalling through Dahdi is not supported in Asterisk versions < 1.6.x

If you launch asterisk -vvvvvvvvvvvvvv, you should be able to see why your channels are not getting registered.

Hope this helps.

Cheers,

Brodz./.[/quote]

Thanks for the reminder! I keep forgetting that everything has to be registered in order to use the right version and all of the features it comes with.

The B410p cards only work with mISDN driver,not dahdi.
so you must compile misdn,misdnuser and asterisk.
then you can ran the following command
/usr/sbin/mISDN scan
/usr/sbin/mISDN config
/usr/sbin/mISDN start
then start asterisk with the command asterisk -vvvvgc
on the cli console ran misdn show channels
you can see the channels