[asterisk-users] dahdi show status command not avilable in CLI

Eric Wieling EWieling at nyigc.com
Thu Oct 6 10:47:59 CDT 2011


In the Asterisk CLI run the commands "module unload chan_dahdi.so" and "module load chan_dahdi.so".



-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of michael k
Sent: Thursday, October 06, 2011 11:40 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] dahdi show status command not avilable in CLI

Hi, 

      I was run the commands "dahdi_genconf" and dahdi_cfg outside the CLI as the part of x100p card installation. Before issuing this command the dahdi show status command was available. There may any issues ?


Michael.k
                


On Thu, Oct 6, 2011 at 8:59 PM, gincantalupo <gincantalupo at fgasoftware.com> wrote:


	
	Hi Michael,
	
	what if you reload the module chan_dahdi from within the * CLI? It should give some hints.....
	
	Giorgio



	On 10/06/2011 05:22 PM, michael k wrote: 

		Hi Giorgio, 
		
		Thanks for your reply. I will produce some output for your reference.
		
		# lsmod | grep dahdi
		
		dahdi_echocan_mg2      39688  1 
		dahdi_transcode        42372  1 wctc4xxp
		dahdi_voicebus         79424  2 wctdm24xxp,wcte12xp
		dahdi                 238384  14 dahdi_echocan_mg2,xpp,dahdi_transcode,wcb4xxp,wctdm,wcfxo,wctdm24xxp,wcte11xp,wct1xxp,wcte12xp,dahdi_voicebus,wct4xxp
		crc_ccitt              35265  2 wctdm24xxp,dahdi
		
		
		# service dahdi status
		
		### Span  1: WCFXO/0 "Wildcard X100P Board 1" (MASTER) 
		  1 FXO        FXSKS       (SWEC: MG2) (battery)
		
		
		# dahdi_cfg -vv
		
		DAHDI Tools Version - 2.3.0
		
		DAHDI Version: 2.3.0.1
		Echo Canceller(s): MG2
		Configuration
		======================
		
		Channel map:
		
		Channel 01: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 01)
		
		1 channels to configure.
		
		Setting echocan for channel 1 to mg2
		
		
		# dahdi_scan 
		
		[1]
		active=yes
		alarms=OK
		description=Wildcard X100P Board 1
		name=WCFXO/0
		manufacturer=Digium
		devicetype=Wildcard X100P
		location=PCI Bus 02 Slot 02
		basechan=1
		totchans=1
		irq=193
		type=analog
		port=1,FXO
		
		
		These outputs shows that the modules are loaded correctly. Any other clues ?
		
		Michael.k
		
		
		
		On Thu, Oct 6, 2011 at 8:43 PM, gincantalupo <gincantalupo at fgasoftware.com> wrote:
		

			Hi Michael,
			
			if you type "dah" followed by TAB and nothing appears, it means you do not have dahdi module loaded or dahdi_cfg application not launched before starting asterisk.
			
			Giorgio 


			On 10/06/2011 04:57 PM, michael k wrote: 

				Hi All,
				
				    I have installed asteriskNow with  Asterisk 1.6.2.11 and FreePBX 2.7.0.10. I have configured x100p fxo card in my asterisk box.  But in my cli mode i am not getting the command "dahdi show status" 
				
				
				Output of CLI :
				
				astrisks*CLI> dahdi show status
				No such command 'dahdi show status' (type 'core show help dahdi show' for other possible commands)
				
				
				I really not understand why this command is not avilable in CLI mode. Please help me to resolve this issue
				
				
				Michael.k
				
				
				--
				_____________________________________________________________________
				-- 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
			


		
		--
		_____________________________________________________________________
		-- 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
	





More information about the asterisk-users mailing list