diff --git a/bigbluebutton-html5/imports/api/audio/client/bridge/sip.js b/bigbluebutton-html5/imports/api/audio/client/bridge/sip.js
index 4889aad28a..9ba463a79c 100644
--- a/bigbluebutton-html5/imports/api/audio/client/bridge/sip.js
+++ b/bigbluebutton-html5/imports/api/audio/client/bridge/sip.js
@@ -297,10 +297,21 @@ export default class SIPBridge extends BaseAudioBridge {
});
};
+ const handleConnectionTerminated = peer => this.callback({
+ status: this.baseCallStates.failed,
+ error: this.baseErrorCodes.CONNECTION_ERROR,
+ bridgeError: peer,
+ });
+
currentSession.on('terminated', handleSessionTerminated);
currentSession.mediaHandler.on('iceConnectionCompleted', handleConnectionCompleted);
currentSession.mediaHandler.on('iceConnectionConnected', handleConnectionCompleted);
+
+ currentSession.mediaHandler.on('iceConnectionFailed', handleConnectionTerminated);
+ currentSession.mediaHandler.on('iceConnectionDisconnected', handleConnectionTerminated);
+ currentSession.mediaHandler.on('iceConnectionClosed', handleConnectionTerminated);
+
this.currentSession = currentSession;
});
}