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