command:
$ sudo asterisk -rvvvv
*CLI> pjsip show endpoints
Output:
Endpoint:  <Endpoint/CID.....................................>
 <State.....>  <Channels.>
    I/OAuth:
 <AuthId/UserName...........................................................>
        Aor:  <Aor............................................>
 <MaxContact>
      Contact:  <Aor/ContactUri..........................>
<Hash....>
<Status> <RTT(ms)..>
  Transport:  <TransportId........>  <Type>  <cos> 
<tos>
 <BindAddress..................>
   Identify:
 <Identify/Endpoint.........................................................>
        Match:  <criteria.........................>
    Channel:  <ChannelId......................................>
 <State.....>  <Time.....>
        Exten: <DialedExten...........>  CLCID:
<ConnectedLineCID.......>
=========================================================================================
 Endpoint:  0000f30A0A01
Unavailable   0 of inf
     InAuth:  0000f30A0A01/0000f30A0A01
        Aor:  0000f30A0A01                                       1
  Transport:  transport-udp             udp      0      0  0.0.0.0:5060
 Endpoint:  0000f30B0B02
Unavailable   0 of inf
     InAuth:  0000f30B0B02/0000f30B0B02
        Aor:  0000f30B0B02                                       1
  Transport:  transport-udp             udp      0      0  0.0.0.0:5060
Objects found: 2
localhost*CLI>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.digium.com/pipermail/asterisk-users/attachments/20201105/ed2038f7/attachment.html>