Call Summary fix voicemails name and extra row

This commit is contained in:
FusionPBX
2023-10-13 01:52:09 -06:00
committed by GitHub
parent d5f39cf0b2
commit a35de4aba3
2 changed files with 17 additions and 10 deletions
+1 -1
View File
@@ -34,7 +34,7 @@
$apps[$x]['destinations'][$y]['type'] = "sql";
$apps[$x]['destinations'][$y]['label'] = "voicemails";
$apps[$x]['destinations'][$y]['name'] = "voicemails";
$apps[$x]['destinations'][$y]['sql'] = "select voicemail_uuid, voicemail_uuid as uuid, voicemail_id as destination, '*99' || voicemail_id as extension, voicemail_description as description from v_voicemails";
$apps[$x]['destinations'][$y]['sql'] = "select voicemail_uuid, voicemail_uuid as uuid, voicemail_id as destination, '*99' || voicemail_id as extension, voicemail_description as description, voicemail_description as name from v_voicemails";
$apps[$x]['destinations'][$y]['where'] = "where domain_uuid = '\${domain_uuid}' and voicemail_enabled = 'true' ";
$apps[$x]['destinations'][$y]['order_by'] = "voicemail_id asc ";
$apps[$x]['destinations'][$y]['field']['uuid'] = "voicemail_uuid";