Manpage logo

pbx-ping - test if sip endpoints are up

NAME  SYNOPSIS  DESCRIPTION  OPTIONS  EXIT CODES  COPYRIGHT 

NAME

pbx-ping − test if sip endpoints are up

SYNOPSIS

pbx-ping [options] uri|ext

DESCRIPTION

Sends an option request to a sip endpoint at the specified uri and waits for a response, while measuring response time. If a line is used, the uri for that line as registered with coventry is pinged.

OPTIONS

−6

Enable IPv6 addressing.

−s

Enable SRV dns lookups.

−t

Use sip over tcp. The default is udp.

−−config=path

Alternate config file path.

−−proxy=uri

Uri of SIP proxy route.

−−info

Show text info of server response message.

−−quiet

Quiet one time operation, often used in scripts for getting the exit code.

−−help

Outputs help screen for the user.

EXIT CODES

Returns 0 if ping is successful, 1 if there is a parsing error, 2 for a sip error or failure, and 3 for timeout.

COPYRIGHT

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.


Updated 2026-06-01 - jenkler.se | uex.se