From 7312b9ab67eaf9980d159b2080fd98d8bd1e3b2f Mon Sep 17 00:00:00 2001 From: fusionate Date: Tue, 21 May 2024 13:29:48 -0600 Subject: [PATCH] CDR: Create record_transcription field, drop deprecated recording_file, recording_name fields. --- app/xml_cdr/app_config.php | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/app/xml_cdr/app_config.php b/app/xml_cdr/app_config.php index 61f9434151..2dc55e44bb 100644 --- a/app/xml_cdr/app_config.php +++ b/app/xml_cdr/app_config.php @@ -607,16 +607,6 @@ $apps[$x]['db'][$y]['fields'][$z]['search'] = 'true'; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; $z++; - $apps[$x]['db'][$y]['fields'][$z]['name'] = "recording_file"; - $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; - $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Indicates if a recording was made. If a recording exists set this value to true."; - $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true"; - $z++; - $apps[$x]['db'][$y]['fields'][$z]['name'] = "recording_name"; - $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; - $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; - $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true"; - $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = "record_path"; $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; @@ -629,6 +619,10 @@ $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = "record_transcription"; + $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; + $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = "leg"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "char(1)"; $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text"; @@ -1023,3 +1017,4 @@ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; ?> +