/etc/registrationAgent/registrationAgent.config is in registration-agent 1.3.4-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 | # Drop privileges and run as some other user and group
# If RunAsUser is specified and RunAsGroup is not specified,
# then setgid will be invoked using the default group for
# the specified user
# If neither option is specified, then no attempt will be made
# to call setuid/setgid (there is no default value)
#RunAsUser = registration-agent
#RunAsGroup = registration-agent
# Must be true or false, default = false, not supported on Windows
Daemonize = true
# On UNIX it is normal to create a PID file
# if unspecified, no attempt will be made to create a PID file
PidFile = /var/run/registrationAgent/registrationAgent.pid
# Log config options are described in repro.config documentation:
# can be cout|cerr|syslog|file
LoggingType = file
LogLevel = WARNING
LogFilename = /var/log/registrationAgent/registrationAgent.log
# Path to load certificates from (optional, there is no default)
# Note that registrationAgent loads ALL root certificates found by any of the settings
#
# CADirectory
# CAFile
# CertificatePath
#
# Setting one option does not disable the other options.
#
# Path to load root certificates from
# Iff this directory is specified, all files in the directory
# will be loaded as root certificates, prefixes and suffixes are
# not considered
# Note that registrationAgent loads ALL root certificates found by the settings
# CertificatePath, CADirectory and CAFile. Setting one option does
# not disable the other options.
# On Debian, the typical location is /etc/ssl/certs
# On Red Hat/CentOS, there isn't a directory like this.
CADirectory = /etc/ssl/certs
# Specify a single file containing one or more root certificates
# and possibly chain/intermediate certificates to be loaded
# Iff this filename is specified, the certificates in the file will
# be loaded as root certificates
#
# This option is typically used to load a bundle of certificates
# such as /etc/ssl/certs/ca-certificates.crt on Debian and
# /etc/pki/tls/cert.pem on Red Hat/CentOS
#
# Note that registrationAgent loads ALL root certificates found by the settings
# CertificatePath, CADirectory and CAFile. Setting one option does
# not disable the other options.
#
# Uncomment for Debian/Ubuntu:
#CAFile = /etc/ssl/certs/ca-certificates.crt
# Uncomment for Fedora, Red Hat, CentOS:
#CAFile = /etc/pki/tls/cert.pem
# Certificates in this location have to match one of the filename
# patterns expected by the legacy reSIProcate SSL code:
#
# domain_cert_NAME.pem, root_cert_NAME.pem, ...
#
# For domain certificates, it is recommended to use the options
# for individual transports, such as TransportXTlsCertificate and
# TransportXTlsPrivateKey and not set CertificatePath at all.
#
CertificatePath =
# The expiry time to request (the server may override with a shorter time)
# May also be specified on per-registration basis (see UserAccountFile below)
RegistrationExpiry = 3600
# Use an outbound proxy (can be blank)
# May also be specified on per-registration basis (see UserAccountFile below)
#OutboundProxy = sip:sip-proxy.example.net
# Add rport to the Via header we insert in requests
# This is enabled by default but in some situations, such as working around
# bug #137, it may be desirable to disable it.
AddViaRport = true
# Text file (Tab separated values) containing accounts to be registered
# The default value is users.txt in the current working directory
UserAccountFile = /etc/registrationAgent/users.txt
# AMQP-1.0 broker / queue for receiving commands
# The default is empty, if not defined, there is no attempt to connect
# to a message broker.
#BrokerURL = amqp://localhost:5672//queue/sip.registration.agent.cmd
|