Hello, On a 1.2 Asterisk / Debian Sarge, I noticed that : ipbx*CLI> sip show peers Name/username Host Dyn Nat ACL Port Status 4201/4201 192.168.100.111 D 5060 OK (8 ms) 4200/4200 192.168.100.110 D 5060 OK (8 ms) but from shell, I've got # asterisk -rx "sip show peers" on Name/username Host Dyn Nat ACL Port Status 4201/4201 192.168.100.111 D 5060 OK (6 ms) 4200/4200 192.168.100.110 D 5060 OK (9 ms) I never noticed this "on" word before. Can anyone explain ? I'm using Asterisk 1.2.17-BRIstuffed-0.3.0-PRE-1y-e Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080827/cee279f1/attachment.htm
Probably another left over word from another message. Is it repeatable? On 27 Aug 2008, at 13:00, Olivier wrote:> Hello, > > On a 1.2 Asterisk / Debian Sarge, I noticed that : > > ipbx*CLI> sip show peers > Name/username Host Dyn Nat ACL Port Status > 4201/4201 192.168.100.111 D 5060 OK > (8 ms) > 4200/4200 192.168.100.110 D 5060 OK > (8 ms) > > but from shell, I've got > > # asterisk -rx "sip show peers" > on > Name/username Host Dyn Nat ACL Port Status > 4201/4201 192.168.100.111 D 5060 OK > (6 ms) > 4200/4200 192.168.100.110 D 5060 OK > (9 ms) > > > I never noticed this "on" word before. > Can anyone explain ? > > I'm using Asterisk 1.2.17-BRIstuffed-0.3.0-PRE-1y-e > > Regards > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > AstriCon 2008 - September 22 - 25 Phoenix, Arizona > Register Now: http://www.astricon.net > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
A closer inspection shows ^@ between "on and Name" as if these letters came from a word previously cut" (from connexion ?)s o shell command would show # asterisk -rx "sip show peers" on ^@Name/username Host Dyn Nat ACL Port Status 4201/4201 192.168.100.111 D 5060 OK (6 ms) 4200/4200 192.168.100.110 D 5060 OK (9 ms) When passing this to grep, grep replies it got binary data. Strange, isn't ? 2008/8/27 Olivier <oza-4h07 at myamail.com>> Hello, > > On a 1.2 Asterisk / Debian Sarge, I noticed that : > > ipbx*CLI> sip show peers > Name/username Host Dyn Nat ACL Port Status > 4201/4201 192.168.100.111 D 5060 OK (8 ms) > 4200/4200 192.168.100.110 D 5060 OK (8 ms) > > but from shell, I've got > > # asterisk -rx "sip show peers" > on > Name/username Host Dyn Nat ACL Port Status > 4201/4201 192.168.100.111 D 5060 OK (6 ms) > 4200/4200 192.168.100.110 D 5060 OK (9 ms) > > > I never noticed this "on" word before. > Can anyone explain ? > > I'm using Asterisk 1.2.17-BRIstuffed-0.3.0-PRE-1y-e > > Regards >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080827/8e6860bf/attachment.htm