pbx-status(1)

πŸ“¦ version 0.9.3, in alpine 3.24

pbx-status(1) is pulling up from the General Commands Manual, and bestie, she is literally here to test sip server status and registration for you πŸ’– no cap.

🌸 NAME 🌸

pbx-status β€” test sip server status and registration

✨ SYNOPSIS ✨

pbx-status [options]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this utility sends a status request to a locally running coventry server. It can both count active registrations and dump them out to the display. That’s the whole main character job, and it’s lowkey iconic πŸ’….

πŸ’… OPTIONS πŸ’…

  • --agent β€” list registry entries for active lines with agent identifier. Agent info, slay ✨
  • --calls β€” list active calls in status detail report. Calls get their own little spotlight πŸ”₯
  • --display β€” list registry entries for active lines with display name. Names, but make it visible πŸŽ€
  • --level=0-9 β€” specify coventry server logging level. The 0-9 is right there in the flag, iykyk πŸ¦‹
  • --quiet β€” only return exit code, produce no output. Silent treatment, but make it useful πŸ™ˆ
  • --registry β€” list registry entries for active lines to the terminal, including address of endpoint and time remaining before expiration. This is the detail-dump moment πŸ’–
  • --token β€” list registry entries for active lines with current bearer tokens. Token tea β˜•
  • --help β€” outputs help screen for the user. Yes, you, the user 🫢

πŸ”₯ EXIT STATUS πŸ”₯

Exit status can be used to determine command results in shell scripts. So when your script needs the vibe check, these are the codes:

  • 0 β€” Command sent and successfully processed. Periodt, it worked πŸ’š
  • 1 β€” Command send resulted in an error or is invalid. Not the flex we wanted 😭
  • 2 β€” Command timed out without any response signaled. Ghosted by the server πŸ’€
  • 3 β€” Error sending to message queue. The queue said no πŸ™ˆ
  • 4 β€” Message queue or shm ipc not found or inaccessible. Can’t find the group chat 🌸

Copyright Β© 2021 Tycho Softworks.

This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Legal tea, served hot β˜•


xoxo, Tycho Softworks πŸ’… β€” Coventry edition, pbx-status(1), and the footer’s date is not listed, so we’re leaving that as a cute mystery πŸŽ€

πŸ“¦ where this page comes from