allow: {
type: DataTypes.STRING,
allowNull: true,
- defaultValue: 'alaw;ulaw;gsm'
+ defaultValue: 'ulaw;gsm'
},
autoframing: {
type: DataTypes.ENUM('yes', 'no'),
phoneBarShowOmniDesktop: {
type: DataTypes.BOOLEAN,
defaultValue: true
+ },
+ phoneBarRingInUse: {
+ type: DataTypes.BOOLEAN,
+ defaultValue: false
+ },
+ phoneBarDnd: {
+ type: DataTypes.BOOLEAN,
+ defaultValue: true
+ },
+ phoneBarUnansweredCallBadge: {
+ type: DataTypes.BOOLEAN,
+ defaultValue: true
}
}, {
tableName: 'users',
'showWebBar',
'callgroup',
'pickupgroup',
- 'phoneBarShowOmniDesktop'
+ 'phoneBarShowOmniDesktop',
+ 'phoneBarRingInUse',
+ 'phoneBarDnd',
+ 'phoneBarUnansweredCallBadge',
+ 'phone',
+ 'mobile'
]
});
User.addScope('telephone', {