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 [EMAIL PROTECTED]/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 <[EMAIL PROTECTED]> > 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
