From 116c6f05d20d4dfe4a4aad142c47aca4c05487b1 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Sun, 22 Mar 2015 10:52:10 +0000 Subject: [PATCH] Add base64 field to recordings, voicemail, and voicemail recordings. --- app/recordings/app_config.php | 5 +++++ app/voicemail_greetings/app_config.php | 5 +++++ app/voicemails/app_config.php | 4 ++++ 3 files changed, 14 insertions(+) diff --git a/app/recordings/app_config.php b/app/recordings/app_config.php index 224859ea2a..3a1d4b9aea 100644 --- a/app/recordings/app_config.php +++ b/app/recordings/app_config.php @@ -99,5 +99,10 @@ $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "descr"; $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'] = "recording_base64"; + $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Recording file encoded in base64."; + $z++; ?> \ No newline at end of file diff --git a/app/voicemail_greetings/app_config.php b/app/voicemail_greetings/app_config.php index ffd2557dfb..7c8a2199f0 100644 --- a/app/voicemail_greetings/app_config.php +++ b/app/voicemail_greetings/app_config.php @@ -102,5 +102,10 @@ $apps[$x]['db'][$y]['fields'][$z]['name'] = "greeting_description"; $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'] = "greeting_base64"; + $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Voicemail greeting file encoded in base64."; + $z++; ?> \ No newline at end of file diff --git a/app/voicemails/app_config.php b/app/voicemails/app_config.php index 967526634c..34f6571b11 100644 --- a/app/voicemails/app_config.php +++ b/app/voicemails/app_config.php @@ -158,6 +158,10 @@ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Voicemail message priority."; $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = "message_base64"; + $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Voicemail file encoded in base64."; + $z++; $y = 2; //table array index $z = 0; //field array index