Task used to execute OpenSIPS server.
The task runs the opensips
proxy server in a daemon
container. One may
provide a custom configuration file, which is by default mounted in the
/etc/opensips
directory.
The variables overwritten by default by the task are:
image
: default image to run isopensips/opensips
mount_point
: the scenario is initially mounted in the/etc/opensips
directory
Additional settings that can be passed to the task:
socket
: optional, an OpenSIPS socket specified in theproto:IP:port
format; if missing, no socket is used, so the configuration file should define its ownsockets
: similar to thesocket
node, but allows a list of socketsconfig_file
: optional path to the OpenSIPS configuration file; if missing the defaultopensips.cfg
is being used
Run a trunking setup, where the trunking.cfg
file is located in the
scenario's directory.
- name: OpenSIPS Server
type: opensips
config_file: /etc/opensips/trunking.cfg