Pls see below output. I would like to remove the last 3 peers. How can I do this ? Thx Vai [trixbox ~]# /usr/sbin/asterisk -rx "sip show channels" Peer User/ANR Call ID Seq (Tx/Rx) Format Hold Last Message 192.168.1.126 (None) MjkzYjNiMmY 00101/00004 0x0 (nothing) No Rx: REGISTER 64.154.41.106 7552235573 147111b67e3 11342/00000 0x0 (nothing) No 81.201.84.45 3866719789 3TUNX3-CPYZ 00101/00102 0x100 (g729) No Rx: ACK 195.189.173.10 30124189 3b37329b407 19037/00000 0x0 (nothing) No 81.201.84.45 4172802551 NC75LK-XAU5 00101/00102 0x100 (g729) No Rx: ACK 192.168.1.13 1010 0cb8ef0d570 00102/00000 0x280100 (g729| No Tx: ACK 192.168.1.13 1005 3cc07973759 00102/00000 0x280100 (g729| No Tx: ACK 81.201.84.45 7709498956 ECSTS5-MU5R 00101/00102 0x100 (g729) No Rx: ACK 81.201.84.45 9147616530 VTTE3C-CN2Z 00101/00102 0x100 (g729) No Rx: ACK 81.201.84.45 9414471279 GC2W4P-ZPWN 00101/00102 0x100 (g729) No Rx: ACK 192.168.1.13 1007 080f5e47519 00102/00000 0x280100 (g729| No Tx: ACK 81.201.84.45 9858786358 CQQ5M7-ZM4F 00101/00102 0x100 (g729) No Rx: ACK 81.201.84.45 3189496064 FDK6CY-2LSF 00101/00102 0x100 (g729) No Rx: ACK 192.168.1.13 1016 0758ea9a349 00102/00000 0x0 (nothing) No (d) Tx: ACK 122.169.113.145 1006 379b29497d0 00102/00000 0x0 (nothing) No Init: NOTIFY 122.169.113.145 1006 3a4fc558695 00102/00000 0x0 (nothing) No Init: NOTIFY 122.169.113.145 1006 7678828b011 00102/00000 0x0 (nothing) No Init: NOTIFY 17 active SIP channels -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090925/eb6f9a22/attachment.htm
RSCL Mumbai schrieb:> Pls see below output. > I would like to remove the last 3 peers. > How can I do this ?> [trixbox ~]# /usr/sbin/asterisk -rx "sip show channels"Use grep. (See `man grep`.) Philipp Kempgen -- AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de Gesch?ftsf?hrer: Stefan Wintermeyer, Handelsregister: Neuwied B14998 Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de Videos of the AMOOCON VoIP conference 2009 -> http://www.amoocon.de --
On Fri, Sep 25, 2009 at 10:27 PM, Philipp Kempgen <philipp.kempgen at amooma.de> wrote:> RSCL Mumbai schrieb: > > Pls see below output. > > I would like to remove the last 3 peers. > > How can I do this ? > > > [trixbox ~]# /usr/sbin/asterisk -rx "sip show channels" > > Use grep. (See `man grep`.) >I may not have explained my requirement well. I do not wish to remove the peers from the listing. I want the peers to not be there at all. These peers (EyeBeam extensions) had connected to the Trixbox about 24+ hours ago. At this moment, I do not have anyone connected to my Trixbox server from IP: 122.169..... using extension 1006. But I see 3 peers showing as connected from 122.169..... using extension 1006. Thx -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090925/758d80ae/attachment.htm