Skip to content

Admin Endpoints ​

The admin listener is where probes and Prometheus reach sipbridge. It serves plain HTTP with no authentication on --admin-listen (default 127.0.0.1:8800), so keep it on loopback or a restricted network. Any HTTP method is accepted, and unknown paths return 404.

PathSuccessFailureNotes
/healthz200, empty bodynoneLiveness. True whenever the admin server responds.
/sip-servingz200, empty body503 SIP listeners unavailableListeners accept connections, including during the withdrawal window, and the public TLS certificate is valid.
/sip-readyz200, empty body503 signaling unavailable, 503 authentication policy unavailableSee Health and Readiness.
/metrics200, text/plain; version=0.0.4noneCounters listed in Observability.

An excerpt of /metrics output:

text
zt_sipbridge_runtime_goroutines 41
zt_sipbridge_ingress_rejected_total 0
zt_sipbridge_tls_handshake_failures_total 0
zt_sipbridge_invalid_messages_total 0
zt_sipbridge_method_rejected_total 0
zt_sipbridge_resident_contexts 3

Do not confuse this with the control listener, which is a separate server for controllers. Apart from GET /v1/control, the control listener answers only /sip-readyz, always with 503 and only to authenticated controllers, and returns 404 for everything else.

sipbridge holds SIP connections and runs the protocol; your application decides what happens on each call.