diff --git a/process/ctiServerEvents/process.js b/process/ctiServerEvents/process.js index f1d066d995e3529f60ea448e46f0b7dfc2e2fac3..c96cf85a4a84c7a15a8a9bee3c8ee46445e69157 100644 --- a/process/ctiServerEvents/process.js +++ b/process/ctiServerEvents/process.js @@ -99,6 +99,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);