We detangle the two actions so that they can be performed independently
and on different conditions. This makes it possible to start the
rtpengine-recording-daemon only on the active node, and on some
role-specific nodes, while mounting the NFS filesystem in other
nodes.
We do not remove the nfs-setup start from the recording daemon init
script as sysvinit does not honor dependencies during direct init.d
or service(8) invocations.
[gjover@sipwise.com: Adapt changes to sysvinit. ]
Change-Id: Ibb637c533c94bc3db119111460ca647a50a205af
(cherry picked from commit 0224a49162)
We move the NFS setup into its own init script so that we can manage its
actions independently.
[gjover@sipwise.com: Rework the original systemd commit for sysvinit. ]
Change-Id: I990d6847117a4b91a8365a5e307fd96cf5b1899f
(cherry picked from commit 79807a9c2e)
These daemons require these facilities to be setup. Previously this
was implied and shadowed by the sshd dependency, but once removed
the implicit dependencies disappeared, make them explicit now.
Change-Id: I13b9b797da0d69636c0f87d92d80a9af46c0726c
(cherry picked from commit 2ebe76d535)
If we are creating the kernel forwarding table, we have to make sure it
has been deleted already, otherwise we can get into collisions with the
already setup forwardings, and the subsequent add will fail anyway.
Change-Id: I2601c602543ff3e3493bae296d263dde545ff352
(cherry picked from commit fd3c1d2519)
- Add missing quotes.
- Switch some problematic usages to use bash arrays.
- Override shellcheck errors (these might need fixing in the future).
Change-Id: Id451ff9f4c5d5ef9b3826544908d64e9c08c5797
(cherry picked from commit 53b3c36939)
Even though this is a false-positive, it confuses checkbashisms. So
let's rename the variables to something else, even more descriptive,
to avoid the check error.
Change-Id: Ife79bf76121bb4e3c120525ffe5a0eca871936f6
(cherry picked from commit 747661ff0d)
Fixes garbled audio for certain codes (e.g. G.729)
Also adds some additional debug output
Fixes#410
Change-Id: I1dbae2638f1e55bf80bb96549a75b9c4b82d08bf
(cherry picked from commit 23eebfc4d7)
if call recording is not configured but the redis db contains
calls with recording flag, then call.recording can be NULL
(cherry picked from commit d5fea12937)
make sure not to run with a single thread if only one CPU core is
present
proper fix pending: convert CLI code to non-blocking, muxed, using
streambuf interface
closes#399
Change-Id: I09a6d758c668fe6a2bbe6735e3299d3c8cb1ba58
(cherry picked from commit 13d51f0df0)