<div dir="ltr">On Thu, Nov 7, 2013 at 8:45 AM, Joshua Colp <span dir="ltr"><<a href="mailto:jcolp@digium.com" target="_blank" onclick="window.open('https://mail.google.com/mail/?view=cm&tf=1&to=jcolp@digium.com&cc=&bcc=&su=&body=','_blank','location=yes,menubar=yes,resizable=yes,width=800,height=600');return false;">jcolp@digium.com</a>></span> wrote:<br>
<div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">George Joseph wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Yeah, it's a tough call. From an AMI or ARI perspective, sure I can get<br>
a list of endpoints, iterate over the list and get each endpoint. You<br>
can't ask a human to do that however. As an administrator, I'm looking<br>
for a snapshot of the health of the pbx with a minimum of keystrokes,<br>
not just a list of endpoints.<br>
<br>
Maybe it is 2 commands. 'pjsip show endpoints' produces a list, 1 line<br>
per endpoint with a few choice fields directly related to the endpoint<br>
object and another command that shows the complex list.<br>
<br>
How about 'pjsip list' that does just flat, 1 line lists and 'pjsip<br>
show' that does complex output? For example, 'pjsip show endpoint'<br>
would show detail for a single endpoint and 'pjsip show endpoints' would<br>
show the complex list?<br>
</blockquote>
<br>
I think that's even better than the verbose suggestion. "show" implies you are showing details about the endpoints as well and "list" implies you are listing the endpoints.<span><font color="#888888"><br>
<br></font></span></blockquote><div>Cool. That's how I'll work it then.</div><div> </div></div></div></div>