Built motion from commit 1dd0700.|0.0.141
authorDaniele Cinti <daniele.cinti@xcally.com>
Wed, 14 Sep 2016 15:10:59 +0000 (17:10 +0200)
committerDaniele Cinti <daniele.cinti@xcally.com>
Wed, 14 Sep 2016 15:10:59 +0000 (17:10 +0200)
release-notes/changelog_0.0.141.txt
server/config/ami/action.js

index b2d6354..06553bb 100644 (file)
@@ -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 
index 2fa6d11..9d9c1a8 100644 (file)
@@ -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
     });
   });