Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] "dahdi show channels" no such command


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
techyjt at bellsouth.net
Guest





PostPosted: Thu Dec 05, 2013 8:41 pm    Post subject: [asterisk-users] "dahdi show channels" no such com Reply with quote

I have followed the instructions in Asterisk The Definitive Guide 4th edition. Once I load DAHDI I run the dahdi show channels command and get no such command. I have setup all the conf files. I compiled DADHI prior to Asterisk.


Any ideas?
Back to top
raubvogel at gmail.com
Guest





PostPosted: Thu Dec 05, 2013 8:44 pm    Post subject: [asterisk-users] "dahdi show channels" no such com Reply with quote

On Thu, Dec 5, 2013 at 8:41 PM, Joseph Towery <techyjt@bellsouth.net> wrote:
Quote:
I have followed the instructions in Asterisk The Definitive Guide 4th
edition. Once I load DAHDI I run the dahdi show channels command and get no
such command. I have setup all the conf files. I compiled DADHI prior to
Asterisk.

Any ideas?

I am not sure. Could you provide more details? I just tried in
my setup and it seems to work (though it tells me nothing exciting):

[root@voip ~]# asterisk -r
Asterisk 1.8.11-cert1, Copyright (C) 1999 - 2012 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty'
for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 1.8.11-cert1 currently running on voip (pid = 2575)
Verbosity is at least 3
voip*CLI> da
dahdi data database
voip*CLI> dahdi show channels
Chan Extension Context Language MOH Interpret
Blocked State
pseudo default default
In Service
voip*CLI> quit
[root@voip ~]#

Quote:
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
EWieling at nyigc.com
Guest





PostPosted: Thu Dec 05, 2013 9:10 pm    Post subject: [asterisk-users] "dahdi show channels" no such com Reply with quote

Run "dahdi_cfg -vvv" to verify DAHDI kernel modules are loaded and configured correctly.

Verify chan_dahdi.so is built and located in your Asterisk modules directory, usually /usr/lib/asterisk/modules/ If there is no chan_dahdi.so chances are you built Asterisk before installing DAHDI. Rerun ./configure or run "make distclean" and then rerun ./configure to rebuild Asterisk.

Use the command "module show like dahdi" in the Asterisk CLI to verify chan_dahdi.so is loaded. If it isn't loaded then chances are you have a chan_dahdi.conf issue.


-----Original Message-----
From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Joseph Towery
Sent: Thursday, December 05, 2013 8:41 PM
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] "dahdi show channels" no such command

I have followed the instructions in Asterisk The Definitive Guide 4th edition. Once I load DAHDI I run the dahdi show channels command and get no such command. I have setup all the conf files. I compiled DADHI prior to Asterisk.

Any ideas?





--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
techyjt at bellsouth.net
Guest





PostPosted: Thu Dec 05, 2013 10:20 pm    Post subject: [asterisk-users] "dahdi show channels" no such com Reply with quote

Here are the commands


asteriskpbx@pbxmain:/etc/dahdi$ dahdi_cfg -vvv
DAHDI Tools Version - 2.7.0.2


DAHDI Version: 2.7.0.1
Echo Canceller(s): MG2
Configuration
======================




Channel map:


Channel 01: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 02)
Channel 03: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 04)
Channel 05: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 05)
Channel 06: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 06)
Channel 07: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 07)
Channel 08: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 0Cool


8 channels to configure.


Setting echocan for channel 1 to mg2
Setting echocan for channel 2 to mg2
Setting echocan for channel 3 to mg2
Setting echocan for channel 4 to mg2
Setting echocan for channel 5 to mg2
Setting echocan for channel 6 to mg2
Setting echocan for channel 7 to mg2
Setting echocan for channel 8 to mg2
asteriskpbx@pbxmain:/etc/dahdi$






pbxmain*CLI> module show like chan_dahdi.so
Module Description Use Count
chan_dahdi.so DAHDI Telephony Driver w/PRI 0

1 modules loaded

Quote:
From: Eric Wieling <EWieling@nyigc.com>
To: Joseph Towery <techyjt@bellsouth.net>; Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users@lists.digium.com>
Sent: Thursday, December 5, 2013 9:09 PM
Subject: RE: [asterisk-users] "dahdi show channels" no such command


Run "dahdi_cfg -vvv" to verify DAHDI kernel modules are loaded and configured correctly.

Verify chan_dahdi.so is built and located in your Asterisk modules directory, usually /usr/lib/asterisk/modules/ If there is no chan_dahdi.so chances are you built Asterisk before installing DAHDI. Rerun ./configure or run "make distclean" and then rerun ./configure to rebuild Asterisk.

Use the command "module show like dahdi" in the Asterisk CLI to verify chan_dahdi.so is loaded. If it isn't loaded then chances are you have a chan_dahdi.conf issue.


-----Original Message-----
From: asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com) [mailto:asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com)] On Behalf Of Joseph Towery
Sent: Thursday, December 05, 2013 8:41 PM
To: asterisk-users@lists.digium.com (asterisk-users@lists.digium.com)
Subject: [asterisk-users] "dahdi show channels" no such command

I have followed the instructions in Asterisk The Definitive Guide 4th edition. Once I load DAHDI I run the dahdi show channels command and get no such command. I have setup all the conf files. I compiled DADHI prior to Asterisk.

Any ideas?









Back to top
tzafrir.cohen at xorco...
Guest





PostPosted: Tue Dec 10, 2013 4:07 pm    Post subject: [asterisk-users] "dahdi show channels" no such com Reply with quote

On Thu, Dec 05, 2013 at 07:19:56PM -0800, Joseph Towery wrote:
Quote:
Here are the commands

asteriskpbx@pbxmain:/etc/dahdi$ dahdi_cfg -vvv
DAHDI Tools Version - 2.7.0.2

DAHDI Version: 2.7.0.1
Echo Canceller(s): MG2
Configuration
======================


Channel map:

Channel 01: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 02)
Channel 03: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 04)
Channel 05: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 05)
Channel 06: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 06)
Channel 07: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 07)
Channel 08: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 0Cool

8 channels to configure.

Setting echocan for channel 1 to mg2
Setting echocan for channel 2 to mg2
Setting echocan for channel 3 to mg2
Setting echocan for channel 4 to mg2
Setting echocan for channel 5 to mg2
Setting echocan for channel 6 to mg2
Setting echocan for channel 7 to mg2
Setting echocan for channel 8 to mg2
asteriskpbx@pbxmain:/etc/dahdi$



pbxmain*CLI> module show like chan_dahdi.so
Module                         Description                              Use Count
chan_dahdi.so                  DAHDI Telephony Driver w/PRI             0       
1 modules loaded

What's the output of lsdahdi? Note channels there that are open (by
Asterisk).

Try running in the asterisk CLI:

module unload chan_dahdi.so
module load chan_dahdi.so

The 'load' command will probably fail and give you the real error.
Though you should probably already have it in the logs.

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

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
techyjt at bellsouth.net
Guest





PostPosted: Wed Dec 11, 2013 12:22 pm    Post subject: [asterisk-users] "dahdi show channels" no such com Reply with quote

Quote:
From: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
To: asterisk-users@lists.digium.com
Sent: Tuesday, December 10, 2013 4:06 PM
Subject: Re: [asterisk-users] "dahdi show channels" no such command


On Thu, Dec 05, 2013 at 07:19:56PM -0800, Joseph Towery wrote:
Quote:
Here are the commands

asteriskpbx@pbxmain:/etc/dahdi$ dahdi_cfg -vvv
DAHDI Tools Version - 2.7.0.2

DAHDI Version: 2.7.0.1
Echo Canceller(s): MG2
Configuration
======================


Channel map:

Channel 01: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 02)
Channel 03: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 04)
Channel 05: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 05)
Channel 06: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 06)
Channel 07: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 07)
Channel 08: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 0Cool

8 channels to configure.

Setting echocan for channel 1 to mg2
Setting echocan for channel 2 to mg2
Setting echocan for channel 3 to mg2
Setting echocan for channel 4 to mg2
Setting echocan for channel 5 to mg2
Setting echocan for channel 6 to mg2
Setting echocan for channel 7 to mg2
Setting echocan for channel 8 to mg2
asteriskpbx@pbxmain:/etc/dahdi$



pbxmain*CLI> module show like chan_dahdi.so
Module Description Use Count
chan_dahdi.so DAHDI Telephony Driver w/PRI 0
1 modules loaded

What's the output of lsdahdi? Note channels there that are open (by
Asterisk).

Try running in the asterisk CLI:

module unload chan_dahdi.so
module load chan_dahdi.so

The 'load' command will probably fail and give you the real error.
Though you should probably already have it in the logs.

--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen@xorcom.com (tzafrir.cohen@xorcom.com)
+972-50-7952406 mailto:tzafrir.cohen@xorcom.com (tzafrir.cohen@xorcom.com)
http://www.xorcom.com

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users





Thanks Tzafrir,





Here is the output of lsdahdi:
Quote:
asteriskpbx@pbxmain:~$ sudo lsdahdi
### Span 1: WCTDM/0 "Wildcard TDM800P" (MASTER)
1 FXO FXSKS (EC: MG2 - INACTIVE)
2 FXO FXSKS (EC: MG2 - INACTIVE) RED
3 FXO FXSKS (EC: MG2 - INACTIVE) RED
4 FXO FXSKS (EC: MG2 - INACTIVE) RED
5 FXS FXOKS (EC: MG2 - INACTIVE)
6 FXS FXOKS (EC: MG2 - INACTIVE)
7 FXS FXOKS (EC: MG2 - INACTIVE)
8 FXS FXOKS (EC: MG2 - INACTIVE)
asteriskpbx@pbxmain:~$



I figured it out. I had to setup logger.conf to get console debugging to work even though I was starting asterisk -rvvvvv, doing the unload and load command I was able to figure out our my issue. I had the dadhichan = variable set incorrectly for the FXO ports. I appreciate the help.


Joseph Towery


Back to top
tzafrir.cohen at xorco...
Guest





PostPosted: Wed Dec 11, 2013 1:38 pm    Post subject: [asterisk-users] "dahdi show channels" no such com Reply with quote

On Wed, Dec 11, 2013 at 09:22:13AM -0800, Joseph Towery wrote:

Quote:
Here is the output of lsdahdi:
asteriskpbx@pbxmain:~$ sudo lsdahdi
Quote:
### Span  1: WCTDM/0 "Wildcard TDM800P" (MASTER)
  1 FXO        FXSKS       (EC: MG2 - INACTIVE)
  2 FXO        FXSKS       (EC: MG2 - INACTIVE)  RED
  3 FXO        FXSKS       (EC: MG2 - INACTIVE)  RED
  4 FXO        FXSKS       (EC: MG2 - INACTIVE)  RED
  5 FXS        FXOKS       (EC: MG2 - INACTIVE)
  6 FXS        FXOKS       (EC: MG2 - INACTIVE)
  7 FXS        FXOKS       (EC: MG2 - INACTIVE)
  8 FXS        FXOKS       (EC: MG2 - INACTIVE)

For the record: this output shows that the DAHDI channels have been
configured (they got the FXSKS signalling, which means it was applied by
running dahdi_cfg) but they are not '(in use)', which means that no
channel has been opened by Asterisk's chan_dahdi.

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

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
techyjt at bellsouth.net
Guest





PostPosted: Wed Dec 11, 2013 3:09 pm    Post subject: [asterisk-users] "dahdi show channels" no such com Reply with quote

From: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
To: asterisk-users@lists.digium.com
Sent: Wednesday, December 11, 2013 1:37 PM
Subject: Re: [asterisk-users] "dahdi show channels" no such command


On Wed, Dec 11, 2013 at 09:22:13AM -0800, Joseph Towery wrote:

Quote:
Here is the output of lsdahdi:
asteriskpbx@pbxmain:~$ sudo lsdahdi
Quote:
### Span 1: WCTDM/0 "Wildcard TDM800P" (MASTER)
1 FXO FXSKS (EC: MG2 - INACTIVE)
2 FXO FXSKS (EC: MG2 - INACTIVE) RED
3 FXO FXSKS (EC: MG2 - INACTIVE) RED
4 FXO FXSKS (EC: MG2 - INACTIVE) RED
5 FXS FXOKS (EC: MG2 - INACTIVE)
6 FXS FXOKS (EC: MG2 - INACTIVE)
7 FXS FXOKS (EC: MG2 - INACTIVE)
8 FXS FXOKS (EC: MG2 - INACTIVE)

Quote:
For the record: this output shows that the DAHDI channels have been
configured (they got the FXSKS signalling, which means it was applied by
running dahdi_cfg) but they are not '(in use)', which means that no
channel has been opened by Asterisk's chan_dahdi.


Okay, I did run dahdi_cfg in an attempt to get the show channels working. Is this a problem?

Thanks,
Back to top
tzafrir.cohen at xorco...
Guest





PostPosted: Wed Dec 11, 2013 3:22 pm    Post subject: [asterisk-users] "dahdi show channels" no such com Reply with quote

On Wed, Dec 11, 2013 at 12:09:17PM -0800, Joseph Towery wrote:
Quote:




________________________________
From: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
To: asterisk-users@lists.digium.com
Sent: Wednesday, December 11, 2013 1:37 PM
Subject: Re: [asterisk-users] "dahdi show channels" no such command


On Wed, Dec 11, 2013 at 09:22:13AM -0800, Joseph Towery wrote:

Quote:
Here is the output of lsdahdi:
asteriskpbx@pbxmain:~$ sudo lsdahdi
Quote:
### Span  1: WCTDM/0 "Wildcard TDM800P" (MASTER)
  1 FXO        FXSKS       (EC: MG2 - INACTIVE)
  2 FXO        FXSKS       (EC: MG2 - INACTIVE)  RED
  3 FXO        FXSKS       (EC: MG2 - INACTIVE)  RED
  4 FXO        FXSKS       (EC: MG2 - INACTIVE)  RED
  5 FXS        FXOKS       (EC: MG2 - INACTIVE)
  6 FXS        FXOKS       (EC: MG2 - INACTIVE)
  7 FXS        FXOKS       (EC: MG2 - INACTIVE)
  8 FXS        FXOKS       (EC: MG2 - INACTIVE)

Quote:
For the record: this output shows that the DAHDI channels have been
configured (they got the FXSKS signalling, which means it was applied by
running dahdi_cfg) but they are not '(in use)', which means that no
channel has been opened by Asterisk's chan_dahdi.

 
Okay, I did run dahdi_cfg in an attempt to get the show channels working.  Is this a problem?  

Certainly not.

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

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services