<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><span><br></span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="yui_3_7_2_29_1386782254896_63"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="yui_3_7_2_29_1386782254896_64"> <div dir="ltr"> <hr size="1"> <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Tzafrir Cohen <tzafrir.cohen@xorcom.com><br> <b><span style="font-weight:
bold;">To:</span></b> asterisk-users@lists.digium.com <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, December 10, 2013 4:06 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [asterisk-users] "dahdi show channels" no such command<br> </font> </div> <div class="y_msg_container"><br>
On Thu, Dec 05, 2013 at 07:19:56PM -0800, Joseph Towery wrote:<br>> Here are the commands<br>> <br>> asteriskpbx@pbxmain:/etc/dahdi$ dahdi_cfg -vvv<br>> DAHDI Tools Version - 2.7.0.2<br>> <br>> DAHDI Version: 2.7.0.1<br>> Echo Canceller(s): MG2<br>> Configuration<br>> ======================<br>> <br>> <br>> Channel map:<br>> <br>> Channel 01: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 01)<br>> Channel 02: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 02)<br>> Channel 03: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 03)<br>> Channel 04: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 04)<br>> Channel 05: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 05)<br>> Channel 06: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 06)<br>> Channel 07: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 07)<br>> Channel 08: FXO Kewlstart (Default) (Echo
Canceler: mg2) (Slaves: 08)<br>> <br>> 8 channels to configure.<br>> <br>> Setting echocan for channel 1 to mg2<br>> Setting echocan for channel 2 to mg2<br>> Setting echocan for channel 3 to mg2<br>> Setting echocan for channel 4 to mg2<br>> Setting echocan for channel 5 to mg2<br>> Setting echocan for channel 6 to mg2<br>> Setting echocan for channel 7 to mg2<br>> Setting echocan for channel 8 to mg2<br>> asteriskpbx@pbxmain:/etc/dahdi$<br>> <br>> <br>> <br>> pbxmain*CLI> module show like <a target="_blank" href="http://chan_dahdi.so/">chan_dahdi.so</a><br>> Module Description Use Count<br>> chan_dahdi.so DAHDI Telephony Driver w/PRI
0 <br>> 1 modules loaded<br><br>What's the output of lsdahdi? Note channels there that are open (by<br>Asterisk).<br><br>Try running in the asterisk CLI:<br><br> module unload chan_dahdi.so<br> module load chan_dahdi.so<br><br>The 'load' command will probably fail and give you the real error.<br>Though you should probably already have it in the logs.<br><br>-- <br> Tzafrir Cohen<br>icq#16849755 jabber:<a ymailto="mailto:tzafrir.cohen@xorcom.com" href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a><br>+972-50-7952406 mailto:<a ymailto="mailto:tzafrir.cohen@xorcom.com" href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a><br>http://www.xorcom.com<br><br>--
<br>_____________________________________________________________________<br>-- Bandwidth and Colocation Provided by http://www.api-digital.com --<br>New to Asterisk? Join us for a live introductory webinar every Thurs:<br> http://www.asterisk.org/hello<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> http://lists.digium.com/mailman/listinfo/asterisk-users<br><br><br></div><div class="y_msg_container"><br></div><div class="y_msg_container">Thanks <span style="font-size: 12pt; background-color: transparent;">Tzafrir,</span></div><div class="y_msg_container"><span style="font-size: 12pt; background-color: transparent;"><br></span></div></div></div></blockquote></div><div class="y_msg_container">Here is the output of lsdahdi:</div><blockquote style="border-left-width: 2px; border-left-style: solid; border-left-color: rgb(16, 16, 255); margin-left: 5px; margin-top:
5px; padding-left: 5px;"><div style="font-family: 'times new roman', 'new york', times, serif;"><div style="font-family: 'times new roman', 'new york', times, serif;"><div class="y_msg_container"><div class="y_msg_container">asteriskpbx@pbxmain:~$ sudo lsdahdi</div><div class="y_msg_container">### Span 1: WCTDM/0 "Wildcard TDM800P" (MASTER)</div><div class="y_msg_container"> 1 FXO FXSKS (EC: MG2 - INACTIVE)</div><div class="y_msg_container"> 2 FXO FXSKS (EC: MG2 - INACTIVE) RED</div><div class="y_msg_container"> 3 FXO FXSKS (EC: MG2 - INACTIVE) RED</div><div class="y_msg_container"> 4 FXO FXSKS (EC: MG2 - INACTIVE) RED</div><div class="y_msg_container"> 5 FXS FXOKS
(EC: MG2 - INACTIVE)</div><div class="y_msg_container"> 6 FXS FXOKS (EC: MG2 - INACTIVE)</div><div class="y_msg_container"> 7 FXS FXOKS (EC: MG2 - INACTIVE)</div><div class="y_msg_container"> 8 FXS FXOKS (EC: MG2 - INACTIVE)</div><div class="y_msg_container">asteriskpbx@pbxmain:~$</div></div><div class="y_msg_container" style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><span style="font-size: 12pt; background-color: transparent;"><br></span></div><div class="y_msg_container" style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><span style="font-size: 12pt; background-color: transparent;">I figured it out. </span><span style="background-color: transparent; font-size: 12pt;">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. </span></div><div class="y_msg_container" style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><span style="font-size: 12pt; background-color: transparent;"><br></span></div><div class="y_msg_container" style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><span style="font-size: 12pt; background-color: transparent;">Joseph Towery</span></div> </div> </div> </blockquote> </div></body></html>