<div dir="ltr">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 <br># asterisk -rx "sip show peers"<br>
on<br>^@Name/username Host Dyn Nat ACL Port Status<br>
4201/4201 <a href="http://192.168.100.111/" target="_blank">192.168.100.111</a> D 5060 OK (6 ms)<br>4200/4200 <a href="http://192.168.100.110/" target="_blank">192.168.100.110</a> D 5060 OK (9 ms)<br>
<br>When passing this to grep, grep replies it got binary data.<br>Strange, isn't ?<br><br><br><div class="gmail_quote">2008/8/27 Olivier <span dir="ltr"><<a href="mailto:oza-4h07@myamail.com">oza-4h07@myamail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Hello,<br><br>On a 1.2 Asterisk / Debian Sarge, I noticed that :<br><br>ipbx*CLI> sip show peers<br>
Name/username Host Dyn Nat ACL Port Status<br>4201/4201 <a href="http://192.168.100.111" target="_blank">192.168.100.111</a> D 5060 OK (8 ms)<br>
4200/4200 <a href="http://192.168.100.110" target="_blank">192.168.100.110</a> D 5060 OK (8 ms)<br><br>but from shell, I've got <br><br># asterisk -rx "sip show peers"<br>on<br>
Name/username Host Dyn Nat ACL Port Status<br>
4201/4201 <a href="http://192.168.100.111" target="_blank">192.168.100.111</a> D 5060 OK (6 ms)<br>4200/4200 <a href="http://192.168.100.110" target="_blank">192.168.100.110</a> D 5060 OK (9 ms)<br>
<br><br>I never noticed this "on" word before.<br>Can anyone explain ?<br><br>I'm using Asterisk 1.2.17-BRIstuffed-0.3.0-PRE-1y-e<br><br>Regards<br></div>
</blockquote></div><br></div>