[Asterisk-Users] How to Clear SIP Channels

Nitesh Divecha nitesh at vipernetworks.com
Fri Jan 20 17:33:38 MST 2006


Thanks Colin,

I understand the qualify=yes part....

My question is with when I do " sip show channels", it will show me  
all the active channels talking with their CallerID, Seq(Tx/Rx) and  
Codec Format.

Currently, when I do "sip show channels" it will show me that i have  
+500 active SIP Channels.

Here is part of my "sip show channels"

sandpiper*CLI> sip show channels
Peer             		User/ANR    Call ID      		Seq (Tx/Rx)   Format
xxx.xxx.xxx.185    3475995432  5e8752f5790  00103/00000   	g729
xxx.xxx.xxx.196  884830533  3b41d775697  00102/00102  	 g729
xxx.xxx.xxx.185    3054335380  62885ead061  00103/00000   	g729
xxx.xxx.xxx.169  946261466  073fef98482  00102/00102  	 g729
xxx.xxx.xxx.185    9534754328  36714789221  00102/00001  	 unknow(d)
xxx.xxx.xxx.185    8095428187  50b3a6a6276  00104/00001  	 unknow(d)
xxx.xxx.xxx.185    7537183043  448a16c57a8  00104/00602   	unknow(d)
xxx.xxx.xxx.185    1195472727  170a4ff8696  00104/00002  	 unknow(d)
xxx.xxx.xxx.185    5333305485  519785b75a4  00104/00001   	unknow(d)

You can see I have only two active channels of g729 in real...

Now how can I clear other channels with format "unknown(d)" without  
restarting the Asterisk.


Thanks,
Neal



On Jan 20, 2006, at 3:29 PM, Colin Anderson wrote:

> "unknown" usually indicates that there is active communication between
> Asterisk server and the phone that does not involve a voice codec. An
> example of that would be registering the phone. Another example  
> would be
> call setup and teardown before RTP data is sent and codec  
> preference is
> established.
>
> What's probably happening in your case is you have qualify=yes for  
> each
> entry in sip.conf. Therefore, Asterisk is communicating with the  
> phones
> constantly in order to give you a ping time when you type "sip show  
> peers".
> Try qualify=no in sip.conf.
>
> hth
>
> -----Original Message-----
> From: Nitesh Divecha [mailto:nitesh at vipernetworks.com]
> Sent: Friday, January 20, 2006 2:42 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: [Asterisk-Users] How to Clear SIP Channels
>
>
> Hello All,
>
> Is there any way to clear the SIP Channels?
>
> When I run "sip show channels" on CLI I see +500 SIP Channels active
> with "unknown" codec.
>
> But thats false information, because when I restart my Asterisk and
> run "sip show channels" I will see the actual active channels with
> correct codec info.
>
> Anyways to clear the sip channels without restarting the Asterisk box
> or any other solution?
>
>
> Please help!!
>
> Thanks,
> Neal.
>
> _______________________________________________
> --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
> _______________________________________________
> --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
>

Nitesh Divecha
VoIP/Network Engineer
Viper Networks
10373 Roselle St. Ste:170
San Diego, CA. 92121

Phone:  858-452-8737
Fax:      858-452-8638
Cell:  1-909-964-5181
vPhone: 544-416-0067

Email: nitesh at vipernetworks.com
Web: www.vipernetworks.com

"Your Internet Phone Company"
A publicly traded Company, OTC: VPER





More information about the asterisk-users mailing list