[asterisk-dev] RFC: pjsip show endpoints output format
george.joseph at fairview5.com
Thu Nov 7 09:53:04 CST 2013
On Thu, Nov 7, 2013 at 8:45 AM, Joshua Colp <jcolp at digium.com> wrote:
> George Joseph wrote:
>> Yeah, it's a tough call. From an AMI or ARI perspective, sure I can get
>> a list of endpoints, iterate over the list and get each endpoint. You
>> can't ask a human to do that however. As an administrator, I'm looking
>> for a snapshot of the health of the pbx with a minimum of keystrokes,
>> not just a list of endpoints.
>> Maybe it is 2 commands. 'pjsip show endpoints' produces a list, 1 line
>> per endpoint with a few choice fields directly related to the endpoint
>> object and another command that shows the complex list.
>> How about 'pjsip list' that does just flat, 1 line lists and 'pjsip
>> show' that does complex output? For example, 'pjsip show endpoint'
>> would show detail for a single endpoint and 'pjsip show endpoints' would
>> show the complex list?
> 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.
> Cool. That's how I'll work it then.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the asterisk-dev