diff --git a/src/components/pages/CallRecording/CscCallRecordingFilters.vue b/src/components/pages/CallRecording/CscCallRecordingFilters.vue
index 023f5ab1..c9767254 100644
--- a/src/components/pages/CallRecording/CscCallRecordingFilters.vue
+++ b/src/components/pages/CallRecording/CscCallRecordingFilters.vue
@@ -4,7 +4,7 @@
class="row justify-center full-width q-gutter-x-sm"
>
+
+
+
+
+
+
+
@@ -200,6 +220,14 @@ export default {
{
label: this.$t('Timerange'),
value: 'timerange'
+ },
+ {
+ label: this.$t('Caller'),
+ value: 'caller'
+ },
+ {
+ label: this.$t('Callee'),
+ value: 'callee'
}
]
},
diff --git a/src/i18n/de.json b/src/i18n/de.json
index 5ab6e798..2e85025f 100644
--- a/src/i18n/de.json
+++ b/src/i18n/de.json
@@ -119,6 +119,8 @@
"Call ended": "Beendet",
"Call forwarded": "Anruf weitergeleitet",
"Call recordings": "",
+ "Callee": "",
+ "Caller": "",
"Calling": "Anrufen",
"Calling {number}...": "{number} wird angerufen...",
"Calls": "Anrufe",
diff --git a/src/i18n/en.json b/src/i18n/en.json
index f4222de8..377540de 100644
--- a/src/i18n/en.json
+++ b/src/i18n/en.json
@@ -119,6 +119,8 @@
"Call ended": "Call ended",
"Call forwarded": "Call forwarded",
"Call recordings": "Call recordings",
+ "Callee": "Callee",
+ "Caller": "Caller",
"Calling": "Calling",
"Calling {number}...": "Calling {number}...",
"Calls": "Calls",
diff --git a/src/i18n/es.json b/src/i18n/es.json
index 0af6110d..c62cfa72 100644
--- a/src/i18n/es.json
+++ b/src/i18n/es.json
@@ -119,6 +119,8 @@
"Call ended": "Llamada terminada",
"Call forwarded": "Llamada redirigida",
"Call recordings": "",
+ "Callee": "",
+ "Caller": "",
"Calling": "Llamando",
"Calling {number}...": "Iniciando ...",
"Calls": "Llamadas",
diff --git a/src/i18n/fr.json b/src/i18n/fr.json
index 4db19a45..97c216b8 100644
--- a/src/i18n/fr.json
+++ b/src/i18n/fr.json
@@ -119,6 +119,8 @@
"Call ended": "Appel terminé",
"Call forwarded": "",
"Call recordings": "",
+ "Callee": "",
+ "Caller": "",
"Calling": "Appel",
"Calling {number}...": "Appel vers le {number} en cours...",
"Calls": "Appels",
diff --git a/src/i18n/it.json b/src/i18n/it.json
index f35b96a4..64cb7f98 100644
--- a/src/i18n/it.json
+++ b/src/i18n/it.json
@@ -119,6 +119,8 @@
"Call ended": "Chiamata terminata",
"Call forwarded": "Chiamata inoltrata",
"Call recordings": "",
+ "Callee": "",
+ "Caller": "",
"Calling": "Composizione",
"Calling {number}...": "Stai chiamando {number}...",
"Calls": "Chiamate",
diff --git a/src/pages/CscPageCallRecording.vue b/src/pages/CscPageCallRecording.vue
index 085c4e61..f53051e5 100644
--- a/src/pages/CscPageCallRecording.vue
+++ b/src/pages/CscPageCallRecording.vue
@@ -237,7 +237,9 @@ export default {
rowStatus: [],
filter: {
startTime: null,
- endTime: null
+ endTime: null,
+ caller: null,
+ callee: null
},
showFilters: false
}
@@ -273,14 +275,16 @@ export default {
}),
async fetchPaginatedRecordings (props) {
const { page, rowsPerPage, sortBy, descending } = props.pagination
- const { startTime, endTime } = this.filter
+ const { startTime, endTime, caller, callee } = this.filter
const count = await this.fetchRecordings({
page: page,
rows: rowsPerPage,
order_by: sortBy,
order_by_direction: descending ? 'desc' : 'asc',
start_time: startTime,
- end_time: endTime
+ end_time: endTime,
+ caller: caller ? '*' + caller : undefined,
+ callee: callee ? '*' + callee : undefined
})
this.pagination = { ...props.pagination }
this.pagination.rowsNumber = count