pbx-ping(1)

πŸ“¦ version 0.9.3, in alpine 3.24

πŸ’… pbx-ping(1) β€” from the General Commands Manual, bestie πŸ’…

✨ NAME ✨

pbx-ping β€” test if sip endpoints are up. No cap, that’s the whole vibe check. πŸ¦‹


πŸ¦‹ SYNOPSIS πŸ¦‹

pbx-ping [options] uri|ext

πŸ’– DESCRIPTION πŸ’–

Okay so pbx-ping sends an option request to a sip endpoint at the specified uri, then waits for a response while measuring response time. Iconic behavior, honestly. πŸ’…

If a line is used, the uri for that line as registered with coventry is pinged. Yep, that’s the whole deal. ✨


πŸŽ€ OPTIONS πŸŽ€

  • -6 β€” Enable IPv6 addressing. IPv6 girlies rise. 🌈
  • -s β€” Enable SRV dns lookups. πŸ”Ž
  • -t β€” Use sip over tcp. The default is udp. 🫢
  • --config=path β€” Alternate config file path. For when you need a different path, periodt. πŸŽ€
  • --proxy=uri β€” Uri of SIP proxy route. πŸ›°οΈ
  • --info β€” Show text info of server response message. Give me the deets. πŸ’¬
  • --quiet β€” Quiet one time operation, often used in scripts for getting the exit code. Lowkey for the script besties. 🀫
  • --help β€” Outputs help screen for the user. The classic β€œhelp me help you” moment. πŸ’–

🌸 EXIT CODES 🌸

  • 0 β€” Returns 0 if ping is successful. Slay. βœ…
  • 1 β€” 1 if there is a parsing error. Sad but honest. 😭
  • 2 β€” 2 for a sip error or failure. Big yikes. πŸ’€
  • 3 β€” 3 for timeout. The waiting game lost. ⏳

Copyright Β© 2022 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.


Cute little sign-off: the footer says Tycho Softworks and Coventry, with pbx-ping(1) down there too β€” and the date slot is not shown on this page, so I’m not inventing one, bestie. πŸ’–πŸ«Ά

πŸ“¦ where this page comes from