diff --git a/process/ctiServerEvents/process.js b/process/ctiServerEvents/process.js index c5d87f4ec6d299a10494bd81d6fb1c303f9b126f..accc00a76fdf4beb04b54cb13b23a987e734dfb0 100644 --- a/process/ctiServerEvents/process.js +++ b/process/ctiServerEvents/process.js @@ -103,6 +103,10 @@ var disconnectingHandlerFn = function() } db.updateData("AB_CTILOG", cols, null, vals, sqlCond.build()); + //do not notify the user when the call is outgoing since the user knows when he/she does initiate a call + if (!this.callData.isIncomingCall) + return null; + this.usersLocal.forEach(function _notify(userObj){ var targetLocale = this.getLocaleFromUser(userObj);