From 3b61b3917fe03f7d712a776cf54545f8a25943b0 Mon Sep 17 00:00:00 2001 From: Alexander Lutay Date: Tue, 17 Apr 2018 11:06:43 +0200 Subject: [PATCH] TT#18774 Add ngcp-rtpengine-recording-daemon to system-tests Change-Id: I60cdf7b79c55c4d6d54a0f3b39fbd91ca5e9b7ab --- templates/410_process-ngcp.yaml.tt2 | 3 +++ templates/510_init-daemons-ngcp.yaml.tt2 | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/templates/410_process-ngcp.yaml.tt2 b/templates/410_process-ngcp.yaml.tt2 index 10cacb7..9eb9b5f 100644 --- a/templates/410_process-ngcp.yaml.tt2 +++ b/templates/410_process-ngcp.yaml.tt2 @@ -111,5 +111,8 @@ process: rtpengine: running: [% is_rtp && node_state == 'active' ? 'true' : 'false' %] + rtpengine-recording: + running: [% is_rtp && node_state == 'active' && rtpproxy.recording.enable == "yes" ? 'true' : 'false' %] + telegraf: running: true diff --git a/templates/510_init-daemons-ngcp.yaml.tt2 b/templates/510_init-daemons-ngcp.yaml.tt2 index bdfbe32..5a3d407 100644 --- a/templates/510_init-daemons-ngcp.yaml.tt2 +++ b/templates/510_init-daemons-ngcp.yaml.tt2 @@ -106,6 +106,12 @@ service: enabled: [% general.process_handler == 'none' ? 'true' : 'false' %] running: [% is_proxy && node_state == 'active' ? 'true' : 'false' %] [% END -%] +[% IF rtpproxy.recording.enable == "yes" -%] + + ngcp-rtpengine-recording-daemon.service: + enabled: [% general.process_handler == 'none' ? 'true' : 'false' %] + running: [% is_rtp && node_state == 'active' ? 'true' : 'false' %] +[% END -%] [% IF rtpproxy.enable == "yes" -%] ngcp-rtpengine-daemon.service: