Docker image
fonoster/routr-simpleauth
Ports
Environment variables
Users file
The users file is a JSON array.
This file defines two users.
gRPC contract
For a method in
METHODS, SimpleAuth returns the request unchanged when the From user is in ALLOWLIST or the digest response is valid. Otherwise, it returns 401 Unauthorized with a challenge for the Request-URI host. See processor.proto.
Minimal example
This command runs SimpleAuth for INVITE and MESSAGE requests.Notes
- SimpleAuth loads
PATH_TO_AUTHwith Node’srequire, so use a.jsonfile and an absolute path. METHODSandALLOWLISTare split on commas without trimming. Do not put spaces after the commas.- RTPRelay and SimpleAuth both default to port
51903. ChangeBIND_ADDRon one of them if they share a host.