From 16230a9123125b11d4d7bba127a7cfbb1d460d45 Mon Sep 17 00:00:00 2001 From: damencho Date: Wed, 4 Dec 2024 13:57:37 -0600 Subject: [PATCH] squash: Make recorder prefixes configurable. --- resources/prosody-plugins/util.lib.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/prosody-plugins/util.lib.lua b/resources/prosody-plugins/util.lib.lua index ee29a38f5f18..3e6cecb270ca 100644 --- a/resources/prosody-plugins/util.lib.lua +++ b/resources/prosody-plugins/util.lib.lua @@ -31,7 +31,7 @@ local roomless_iqs = {}; local OUTBOUND_SIP_JIBRI_PREFIXES = { 'outbound-sip-jibri@', 'sipjibriouta@', 'sipjibrioutb@' }; local INBOUND_SIP_JIBRI_PREFIXES = { 'inbound-sip-jibri@', 'sipjibriina@', 'sipjibriina@' }; -local RECORDER_PREFIXES = { 'recorder@recorder.', 'jibria@recorder.', 'jibrib@recorder.' }; +local RECORDER_PREFIXES = module:get_option_inherited_set('recorder_prefixes', { 'recorder@recorder.', 'jibria@recorder.', 'jibrib@recorder.' }); local split_subdomain_cache = cache.new(1000); local extract_subdomain_cache = cache.new(1000);