File tree Expand file tree Collapse file tree
root/usr/lib/node/nethcti-server/plugins/com_user_rest/plugins_rest Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -727,6 +727,22 @@ function setCompUtil(comp) {
727727 } else {
728728 logger . log . info ( IDLOG , "Proxy fqdn missing" ) ;
729729 }
730+
731+ // Add call transcriptions status
732+ var call_transcription_enabled = process . env . SATELLITE_CALL_TRANSCRIPTION_ENABLED ;
733+ if ( call_transcription_enabled && call_transcription_enabled == 'True' ) {
734+ result . call_transcription_enabled = true ;
735+ } else {
736+ logger . log . info ( IDLOG , "call_transcription_enabled missing" ) ;
737+ }
738+
739+ // Add voicemail transcriptions status
740+ var voicemail_transcription_enabled = process . env . SATELLITE_VOICEMAIL_TRANSCRIPTION_ENABLED ;
741+ if ( voicemail_transcription_enabled && voicemail_transcription_enabled == 'True' ) {
742+ result . voicemail_transcription_enabled = true ;
743+ } else {
744+ logger . log . info ( IDLOG , "voicemail_transcription_enabled missing" ) ;
745+ }
730746 } else {
731747 var strerr = 'sending user info to user "' + username + '": wrong format' ;
732748 logger . log . error ( IDLOG , strerr ) ;
You can’t perform that action at this time.
0 commit comments