From 40a62e2d74e689117e2d3b5d313b0a9c869e6c60 Mon Sep 17 00:00:00 2001 From: Daniele Cinti Date: Wed, 14 Sep 2016 17:10:59 +0200 Subject: [PATCH] Built motion from commit 1dd0700.|0.0.141 --- release-notes/changelog_0.0.141.txt | 2 ++ server/config/ami/action.js | 11 ++++++++++- 2 files changed, 12 insertions(+), 1 deletions(-) diff --git a/release-notes/changelog_0.0.141.txt b/release-notes/changelog_0.0.141.txt index b2d6354..06553bb 100644 --- a/release-notes/changelog_0.0.141.txt +++ b/release-notes/changelog_0.0.141.txt @@ -1,5 +1,7 @@ # xCALLY MOTION Changelog +- * 1dd0700 - 2016-09-14: Fixed trunk update +- * 23c99a5 - 2016-09-14: Fixed triggers - * 50850a2 - 2016-09-14: add app interval check in agent count for chat status - * 4a62eea - 2016-09-14: Fixed triggers with forked ami - * 7c7b434 - 2016-09-14: server side app.js update diff --git a/server/config/ami/action.js b/server/config/ami/action.js index 2fa6d11..9d9c1a8 100644 --- a/server/config/ami/action.js +++ b/server/config/ami/action.js @@ -23,6 +23,7 @@ function Action(ami, io) { Agent.afterUpdate(function(doc, options) { io.to(util.format('%s:%s', doc.role, doc.id)).emit('agent:save', { id: doc.id, + name: doc.name, online: doc.online, queueStatus: doc.queueStatus, queueStatusAt: doc.queueStatusAt, @@ -32,7 +33,15 @@ function Action(ami, io) { faxPause: doc.faxPause, smsPause: doc.smsPause, openchannelPause: doc.openchannelPause, - lastPauseAt: doc.lastPauseAt + lastPauseAt: doc.lastPauseAt, + phoneBarEnableSettings: doc.phoneBarEnableSettings, + phoneBarAutoAnswer: doc.phoneBarAutoAnswer, + phoneBarUnconditional: doc.phoneBarUnconditional, + phoneBarUnconditionalNumber: doc.phoneBarUnconditionalNumber, + phoneBarNoReply: doc.phoneBarNoReply, + phoneBarNoReplyNumber: doc.phoneBarNoReplyNumber, + phoneBarBusy: doc.phoneBarBusy, + phoneBarBusyNumber: doc.phoneBarBusyNumber }); }); -- 1.7.1