unique: true,
validate: {
notEmpty: true,
- is: /^[A-Za-z0-9\.\_]+$/i
+ is: {
+ args: /^[A-Za-z0-9._\+*!\-\[\]]+$/,
+ msg: 'The name is not valid!'
+ }
},
},
musiconhold: {
timeout: {
type: DataTypes.INTEGER(11),
allowNull: true,
- defaultValue: 0
+ defaultValue: 15
},
retry: {
type: DataTypes.INTEGER(11),
allowNull: true,
- defaultValue: 0
+ defaultValue: 2
},
timeoutpriority: {
type: DataTypes.STRING,