diff --git a/src/components/pages/CallRecording/CscCallRecordingFilters.vue b/src/components/pages/CallRecording/CscCallRecordingFilters.vue index c9767254..83a93420 100644 --- a/src/components/pages/CallRecording/CscCallRecordingFilters.vue +++ b/src/components/pages/CallRecording/CscCallRecordingFilters.vue @@ -228,6 +228,10 @@ export default { { label: this.$t('Callee'), value: 'callee' + }, + { + label: this.$t('CallID'), + value: 'callId' } ] }, diff --git a/src/i18n/de.json b/src/i18n/de.json index 2e85025f..7f83dd34 100644 --- a/src/i18n/de.json +++ b/src/i18n/de.json @@ -119,6 +119,7 @@ "Call ended": "Beendet", "Call forwarded": "Anruf weitergeleitet", "Call recordings": "", + "CallID": "", "Callee": "", "Caller": "", "Calling": "Anrufen", diff --git a/src/i18n/en.json b/src/i18n/en.json index 377540de..71e3d260 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -119,6 +119,7 @@ "Call ended": "Call ended", "Call forwarded": "Call forwarded", "Call recordings": "Call recordings", + "CallID": "CallID", "Callee": "Callee", "Caller": "Caller", "Calling": "Calling", diff --git a/src/i18n/es.json b/src/i18n/es.json index c62cfa72..d20585a9 100644 --- a/src/i18n/es.json +++ b/src/i18n/es.json @@ -119,6 +119,7 @@ "Call ended": "Llamada terminada", "Call forwarded": "Llamada redirigida", "Call recordings": "", + "CallID": "", "Callee": "", "Caller": "", "Calling": "Llamando", diff --git a/src/i18n/fr.json b/src/i18n/fr.json index 97c216b8..c1d8c9bb 100644 --- a/src/i18n/fr.json +++ b/src/i18n/fr.json @@ -119,6 +119,7 @@ "Call ended": "Appel terminé", "Call forwarded": "", "Call recordings": "", + "CallID": "", "Callee": "", "Caller": "", "Calling": "Appel", diff --git a/src/i18n/it.json b/src/i18n/it.json index 64cb7f98..f67efb15 100644 --- a/src/i18n/it.json +++ b/src/i18n/it.json @@ -119,6 +119,7 @@ "Call ended": "Chiamata terminata", "Call forwarded": "Chiamata inoltrata", "Call recordings": "", + "CallID": "", "Callee": "", "Caller": "", "Calling": "Composizione", diff --git a/src/pages/CscPageCallRecording.vue b/src/pages/CscPageCallRecording.vue index f53051e5..c4a63ca8 100644 --- a/src/pages/CscPageCallRecording.vue +++ b/src/pages/CscPageCallRecording.vue @@ -239,7 +239,8 @@ export default { startTime: null, endTime: null, caller: null, - callee: null + callee: null, + callId: null }, showFilters: false } @@ -275,7 +276,7 @@ export default { }), async fetchPaginatedRecordings (props) { const { page, rowsPerPage, sortBy, descending } = props.pagination - const { startTime, endTime, caller, callee } = this.filter + const { startTime, endTime, caller, callee, callId } = this.filter const count = await this.fetchRecordings({ page: page, rows: rowsPerPage, @@ -283,8 +284,9 @@ export default { order_by_direction: descending ? 'desc' : 'asc', start_time: startTime, end_time: endTime, - caller: caller ? '*' + caller : undefined, - callee: callee ? '*' + callee : undefined + caller: caller ? '*' + caller + '*' : undefined, + callee: callee ? '*' + callee + '*' : undefined, + call_id: callId ? '*' + callId + '*' : undefined }) this.pagination = { ...props.pagination } this.pagination.rowsNumber = count