Subject: Built motion from commit 1dd0700.|0.0.141
From: Daniele Cinti <[email-masked]>
Date: Wed, 14 Sep 2016 15:10:59 +0000 (+0200)

Built motion from commit 1dd0700.|0.0.141
---

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
     });
   });