[Asterisk-Users] Who is on a call?

Douglas Garstang dgarstang at oneeighty.com
Sun Apr 2 20:56:57 MST 2006


The 'sip show channels' and 'show channels' command aren't exactly easy to interpret, especially if one of the numbers has pic codes and rate centers inserted (the rest is truncated on the output), or you have a proxy involved in the call. Wish someone with some C knowledge would fix that.
 
Doug.

	-----Original Message----- 
	From: Ronald Wiplinger [mailto:ronald at elmit.com] 
	Sent: Sun 4/2/2006 8:48 PM 
	To: Asterisk Users Mailing List - Non-Commercial Discussion 
	Cc: 
	Subject: [Asterisk-Users] Who is on a call?
	
	

	I would like to know which extension number is engaged in a call.
	
	show channels  shows me:
	
	*CLI> show channels
	Channel              Location             State  
	Application(Data)           
	SIP/asterisk.elmit.com-0 690 at default:2        Up     
	Echo()                      
	SIP/8807-066 690 at newcontext Up      Echo()                      
	2 active channels
	2 active calls
	
	but it is not true!!! 
	show channels verbose gives me even a time to each of 112:43:33 and
	347:23:22
	
	
	I want to know:
	1. is extension number 444 in use (calls)
	
	2. is the connection to my provider abc in use (call)
	
	How can I get this info as CLI comand and as a jump criteria in the
	dialplan????
	
	
	bye
	
	Ronald Wiplinger
	_______________________________________________
	--Bandwidth and Colocation provided by Easynews.com --
	
	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