pbx-ping − test if sip endpoints are up
pbx-ping [options] uri|ext
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.
|
−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. |
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 ©
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.