[asterisk-users] "dahdi show channels" no such command
Joseph Towery
techyjt at bellsouth.net
Wed Dec 11 11:22:13 CST 2013
>________________________________
> From: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
>To: asterisk-users at 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:
>> Here are the commands
>>
>> asteriskpbx at 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: 08)
>>
>> 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 at 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 at xorcom.com
>+972-50-7952406 mailto:tzafrir.cohen at 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:
asteriskpbx at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20131211/95d77773/attachment.html>
More information about the asterisk-users
mailing list