Configuration File¶
A YAML file, passed with --config. Unknown keys are rejected. Changes take effect on restart. The SMSCs, the SIP trunks and the retention are in the database, and set with the UI or the API.
Parameters¶
Every key of the configuration file.
element_id(string, optional): The domain name of this PSAP, such aspsap.example.org. It ends the ID of each incident. Default: the host name, if fully qualified.agency_id(string, optional): The domain name of the agency that runs this PSAP, such aspsap.example.org. It identifies the agency and its call takers in the incident data shared with other agencies. Default:element_id.logging(object, optional): The logging configuration.level(string, optional): The log level:debug,info,warn, orerror. Defaultinfo.
db(object): The database configuration.path(string): The path to the SQLite database file.
api(object, optional): The HTTP API and UI.address(string, optional): The IP address to listen on. Default0.0.0.0.port(int, optional): The TCP port to listen on. Default5040.tls(object, optional): Serve over HTTPS, TLS 1.2 or later. Default: plain HTTP.cert(string): The path to the PEM certificate chain, the server's certificate first.key(string): The path to the PEM private key.
sip(object, optional): Receive emergency calls over SIP. Default: no SIP.name(string): A network interface. Ella PSAP listens on its addresses, read at startup. Setnameoraddresses, not both.addresses(list of strings): The IP addresses to listen on, each over UDP and TCP. One or more, no wildcard. The first is the address inContact.port(int, optional): The UDP and TCP port. Default5060.tls(object, optional): Also listen over TLS. Default: no TLS.port(int, optional): The TLS port. Default5061. Differs fromport.cert(string): The path to the PEM certificate chain.key(string): The path to the PEM private key.ca(string, optional): The path to PEM certificates that sign the clients' certificates. When set, every client presents a certificate.
media(object, optional): The audio of answered calls. Used only withsip.rtp(object, optional): The RTP and RTCP ports for the callers' audio, on the SIP addresses: an even RTP port and the RTCP port above it, per call.min_port(int, optional): The lowest port, even, from 1024. Default20000.max_port(int, optional): The highest port, abovemin_port. Default20999.
webrtc(object, optional): The call takers' audio, from their browsers.port(int, optional): The UDP port, on every address, outside thertprange. Default5041.addresses(list of strings, optional): The IP addresses that browsers reach Ella PSAP at, such as the public address in front of a NAT. Default: the addresses of the host.
telemetry(object, optional): The traces.enabled(boolean, optional): Export traces. Defaultfalse.otlp_endpoint(string): Thehost:portof an OTLP/gRPC collector, over plain gRPC. Required whenenabledistrue.
map(object, optional): The tile server of the maps. Default: the public OpenStreetMap server.tile_url(string, optional): A tile URL template with{z},{x}and{y}, such ashttps://tiles.example.org/{z}/{x}/{y}.png?key=….attribution(string): The text shown on the maps, as the provider's licence requires. HTML links allowed. Required withtile_url.max_zoom(int, optional): The highest zoom level the server provides, 1 to 24. Default19.
Example¶
A configuration file with every key set.
element_id: psap.example.org
logging:
level: info
db:
path: /var/lib/psap/psap.db
api:
address: 0.0.0.0
port: 5040
tls:
cert: /etc/psap/api.pem
key: /etc/psap/api.key
sip:
addresses:
- 10.90.3.10
port: 5060
tls:
port: 5061
cert: /etc/psap/sip.pem
key: /etc/psap/sip.key
ca: /etc/psap/ims-ca.pem
media:
rtp:
min_port: 20000
max_port: 20999
webrtc:
port: 5041
addresses:
- 203.0.113.10
telemetry:
enabled: true
otlp_endpoint: localhost:4317