diff --git a/app/call_recordings/app_defaults.php b/app/call_recordings/app_defaults.php index f7f6b3a16..5ccae9831 100644 --- a/app/call_recordings/app_defaults.php +++ b/app/call_recordings/app_defaults.php @@ -2,7 +2,15 @@ if ($domains_processed == 1) { - //build the array + // Prompt to Install Zip + $ffmpeg_path = shell_exec('which zip'); + if (empty($ffmpeg_path)) { + echo "Please install zip\n"; + echo "On Debian / Ubuntu Linux install zip with this command.\n"; + echo "apt install zip\n"; + } + + // Load the email template $x = 0; $array['email_templates'][$x]['email_template_uuid'] = 'e591db34-0f35-47a5-aaa0-23e7285a0d7e'; $array['email_templates'][$x]['template_language'] = 'en-us';