Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Icon

This is a draft under construction.

CLI Commands

pjsip show endpoints


DESCRIPTION:

Shows a list of all endpoints, with each item display attributes that may be commonly referenced or helpful when administering a system.
The output should be displayed as a tabulated listing of columns and rows, with each row holding information about an individual endpoint, or else additional information about the last endpoint listed.
In the mock up below, we see:
  • content relative to endpoint 6001 listed in a single line.
  • content relative to endpoint 6002 listed in multiple lines, where the two additional lines contain two contact listings in the 7999 AOR which is associated with endpoint 6002.

Mock Up Output

Name/Auth Username,  Dev State,   Hint Ext,   AORs/Contacts,                    Qualify,    Active Channels,
6001/6001,           NOT_INUSE,   6001,       6001/sip:6001@192.0.2.1:5060,     35ms,     
6002/6002,           RINGING,     6002,       6002/sip:6002@192.0.2.2:5060,     32ms,      <channel name>
                                              7999/sip:7999@192.0.2.3:5060,     34ms,
                                              7999/sip:7999@192.0.2.4:5060,     35ms,

 

COLUMNS:

We can only fit so much information here, and there is lots to choose from. This information was selected while thinking about items that you might check while troubleshooting and that may otherwise be confusing to look up.
  • Name/Auth Username -  Endpoint section name/username from associated auth  (how should we differ outbound vs inbound?)
  • Dev State -                      Device state of Endpoint
  • Hint Ext -                         List of hint extensions that this Endpoint is mapped to
  • AORs/Contacts -             List of contacts for each AOR associated with the Endpoint   (how to indicate static vs dynamic/registered)
  • Qualify -                          Response time for each contact, or N/A
  • Active Channels -            List of active channels associated to this endpoint
Ideas for future commands:
"pjsip show endpoints <comma-delimited list of endpoint names>"  (show specified endpoints only, rather than all endpoints, useful for systems with 100's of endpoints)

pjsip show endpoint


DESCRIPTION:

In the mock up below, you'll see:
  • Alphabetically sorted list of miscellaneous options and their current values
  • Separate sections below the misc option list for showing info related to other objects associated to the Endpoint.

Mock Up Output

<snip>
allowsubscribe        = yes   
allowtransfer         = yes
aors                  = 6002,7999
auth                  = auth1
callerid              = Rusty Newtron <123-456-7890>
callerid_privacy      = allowed
<option>              = <value>
<snip>

Authentication
--------------
Auth Name             = auth1
username              = somename
password              = 123456789

Address of Record
--------------
AOR Name              = 6002
<option>              = <value>
<snip>
Static Contacts:
  N/A
Registered Contacts:
  sip:6002:@1.2.3.4.com:5060

AOR Name              = 7999
<option>              = <value>
<snip>
Static Contacts:
  sip:7999@blah.com:5060
Registered Contacts:
  N/A

 

 

pjsip show registrations


blah blah

pjsip show subscriptions


blah blah

pjsip show settings


blah blah

  • No labels