Built motion from commit fe7020c.|0.0.69
[motion.git] / server / models / telephone.js
index c424f14..9cb617c 100644 (file)
@@ -1 +1 @@
-var _0x5035=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x63\x72\x79\x70\x74\x6F","\x6D\x64\x35","\x6C\x6F\x64\x61\x73\x68","\x65\x78\x70\x6F\x72\x74\x73","\x54\x65\x6C\x65\x70\x68\x6F\x6E\x65","\x53\x54\x52\x49\x4E\x47","\x6E\x61\x6D\x65","\x73\x65\x74\x44\x61\x74\x61\x56\x61\x6C\x75\x65","\x64\x65\x66\x61\x75\x6C\x74\x75\x73\x65\x72","\x73\x61\x6C\x74","\x6D\x61\x6B\x65\x53\x61\x6C\x74","\x70\x61\x73\x73\x77\x6F\x72\x64","\x65\x6E\x63\x72\x79\x70\x74\x50\x61\x73\x73\x77\x6F\x72\x64","\x6D\x64\x35\x73\x65\x63\x72\x65\x74","\x3A\x61\x73\x74\x65\x72\x69\x73\x6B\x3A","\x6D\x64\x35\x50\x61\x73\x73\x77\x6F\x72\x64","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x61\x63\x63\x6F\x75\x6E\x74\x63\x6F\x64\x65","\x64\x79\x6E\x61\x6D\x69\x63","\x66\x72\x69\x65\x6E\x64","\x75\x73\x65\x72","\x70\x65\x65\x72","\x66\x72\x6F\x6D\x2D\x73\x69\x70","\x75\x64\x70","\x72\x66\x63\x32\x38\x33\x33","\x69\x6E\x66\x6F","\x73\x68\x6F\x72\x74\x69\x6E\x66\x6F","\x69\x6E\x62\x61\x6E\x64","\x61\x75\x74\x6F","\x79\x65\x73","\x6E\x6F","\x6E\x6F\x6E\x61\x74","\x75\x70\x64\x61\x74\x65","\x66\x6F\x72\x63\x65\x5F\x72\x70\x6F\x72\x74\x2C\x63\x6F\x6D\x65\x64\x69\x61","\x65\x6E","\x61\x6C\x6C","\x61\x6C\x61\x77\x3B\x75\x6C\x61\x77\x3B\x67\x73\x6D","\x70\x6F\x72\x74\x2C\x69\x6E\x76\x69\x74\x65","\x6E\x65\x76\x65\x72","\x22\x22\x20\x3C\x3E","\x61\x63\x63\x65\x70\x74","\x72\x65\x66\x75\x73\x65","\x6F\x72\x69\x67\x69\x6E\x61\x74\x65","\x75\x61\x63","\x75\x61\x73","\x41\x4C\x4C\x4F\x57\x45\x44\x5F\x4E\x4F\x54\x5F\x53\x43\x52\x45\x45\x4E\x45\x44","\x41\x4C\x4C\x4F\x57\x45\x44\x5F\x50\x41\x53\x53\x45\x44\x5F\x53\x43\x52\x45\x45\x4E","\x41\x4C\x4C\x4F\x57\x45\x44\x5F\x46\x41\x49\x4C\x45\x44\x5F\x53\x43\x52\x45\x45\x4E","\x41\x4C\x4C\x4F\x57\x45\x44","\x50\x52\x4F\x48\x49\x42\x5F\x4E\x4F\x54\x5F\x53\x43\x52\x45\x45\x4E\x45\x44","\x50\x52\x4F\x48\x49\x42\x5F\x50\x41\x53\x53\x45\x44\x5F\x53\x43\x52\x45\x45\x4E","\x50\x52\x4F\x48\x49\x42\x5F\x46\x41\x49\x4C\x45\x44\x5F\x53\x43\x52\x45\x45\x4E","\x50\x52\x4F\x48\x49\x42","\x75\x73\x65\x72\x73","\x74\x65\x6C\x65\x70\x68\x6F\x6E\x65","\x62\x61\x73\x65\x36\x34","\x72\x61\x6E\x64\x6F\x6D\x42\x79\x74\x65\x73","","\x70\x62\x6B\x64\x66\x32\x53\x79\x6E\x63","\x64\x65\x66\x69\x6E\x65"];_0x5035[0];var crypto=require(_0x5035[1]);var md5=require(_0x5035[2]);var _=require(_0x5035[3]);module[_0x5035[4]]=function(_0xb125x4,_0xb125x5){var _0xb125x6=_0xb125x4[_0x5035[60]](_0x5035[5],{name:{type:_0xb125x5[_0x5035[6]],unique:true,validate:{notEmpty:true,is:/^[A-Za-z0-9\.\_]+$/i},set:function(_0xb125x7){this[_0x5035[8]](_0x5035[7],_0xb125x7);this[_0x5035[8]](_0x5035[9],_0xb125x7)}},password:{type:_0xb125x5[_0x5035[6]],allowNull:false,validate:{notEmpty:true},set:function(_0xb125x8){this[_0x5035[10]]=this[_0x5035[11]]();this[_0x5035[8]](_0x5035[12],this[_0x5035[13]](_0xb125x8));this[_0x5035[8]](_0x5035[14],this[_0x5035[16]](this[_0x5035[7]]+_0x5035[15]+_0xb125x8))}},internal:{type:_0xb125x5.INTEGER(11),unique:true,set:function(_0xb125x9){this[_0x5035[8]](_0x5035[17],_0xb125x9);this[_0x5035[8]](_0x5035[18],_0xb125x9)}},ipaddr:{type:_0xb125x5[_0x5035[6]],allowNull:true},port:{type:_0xb125x5.INTEGER(5),allowNull:true},regseconds:{type:_0xb125x5.INTEGER(11),allowNull:true},defaultuser:{type:_0xb125x5[_0x5035[6]],allowNull:true},fullcontact:{type:_0xb125x5[_0x5035[6]],allowNull:true},regserver:{type:_0xb125x5[_0x5035[6]],allowNull:true},useragent:{type:_0xb125x5[_0x5035[6]],allowNull:true},lastms:{type:_0xb125x5.INTEGER(11),allowNull:true},host:{type:_0xb125x5[_0x5035[6]],allowNull:true,defaultValue:_0x5035[19]},type:{type:_0xb125x5.ENUM(_0x5035[20],_0x5035[21],_0x5035[22]),allowNull:true,defaultValue:_0x5035[20]},context:{type:_0xb125x5[_0x5035[6]],allowNull:true,defaultValue:_0x5035[23]},permit:{type:_0xb125x5[_0x5035[6]],allowNull:true},deny:{type:_0xb125x5[_0x5035[6]],allowNull:true},secret:{type:_0xb125x5[_0x5035[6]],allowNull:true},md5secret:{type:_0xb125x5[_0x5035[6]],allowNull:true},remotesecret:{type:_0xb125x5[_0x5035[6]],allowNull:true},transport:{type:_0xb125x5[_0x5035[6]],allowNull:true,defaultValue:_0x5035[24]},dtmfmode:{type:_0xb125x5.ENUM(_0x5035[25],_0x5035[26],_0x5035[27],_0x5035[28],_0x5035[29]),allowNull:true,defaultValue:_0x5035[25]},directmedia:{type:_0xb125x5.ENUM(_0x5035[30],_0x5035[31],_0x5035[32],_0x5035[33]),allowNull:true,defaultValue:_0x5035[31]},nat:{type:_0xb125x5[_0x5035[6]],allowNull:true,defaultValue:_0x5035[34]},callgroup:{type:_0xb125x5[_0x5035[6]],allowNull:true},pickupgroup:{type:_0xb125x5[_0x5035[6]],allowNull:true},language:{type:_0xb125x5[_0x5035[6]],allowNull:true,defaultValue:_0x5035[35]},disallow:{type:_0xb125x5[_0x5035[6]],allowNull:true,defaultValue:_0x5035[36]},allow:{type:_0xb125x5[_0x5035[6]],allowNull:true,defaultValue:_0x5035[37]},insecure:{type:_0xb125x5[_0x5035[6]],allowNull:true,defaultValue:_0x5035[38]},trustrpid:{type:_0xb125x5.ENUM(_0x5035[30],_0x5035[31]),allowNull:true,defaultValue:_0x5035[31]},progressinband:{type:_0xb125x5.ENUM(_0x5035[30],_0x5035[31],_0x5035[39]),allowNull:true},promiscredir:{type:_0xb125x5.ENUM(_0x5035[30],_0x5035[31]),allowNull:true},useclientcode:{type:_0xb125x5.ENUM(_0x5035[30],_0x5035[31]),allowNull:true},accountcode:{type:_0xb125x5.INTEGER(11),allowNull:true},setvar:{type:_0xb125x5[_0x5035[6]],allowNull:true},callerid:{type:_0xb125x5[_0x5035[6]],allowNull:true,defaultValue:_0x5035[40]},amaflags:{type:_0xb125x5[_0x5035[6]],allowNull:true},callcounter:{type:_0xb125x5.ENUM(_0x5035[30],_0x5035[31]),allowNull:true,defaultValue:_0x5035[30]},busylevel:{type:_0xb125x5.INTEGER(11),allowNull:true},allowoverlap:{type:_0xb125x5.ENUM(_0x5035[30],_0x5035[31]),allowNull:true},allowsubscribe:{type:_0xb125x5.ENUM(_0x5035[30],_0x5035[31]),allowNull:true},videosupport:{type:_0xb125x5.ENUM(_0x5035[30],_0x5035[31]),allowNull:true},maxcallbitrate:{type:_0xb125x5.INTEGER(11),allowNull:true},rfc2833compensate:{type:_0xb125x5.ENUM(_0x5035[30],_0x5035[31]),allowNull:true},mailbox:{type:_0xb125x5[_0x5035[6]],allowNull:true},"\x73\x65\x73\x73\x69\x6F\x6E\x2D\x74\x69\x6D\x65\x72\x73":{type:_0xb125x5.ENUM(_0x5035[41],_0x5035[42],_0x5035[43]),allowNull:true},"\x73\x65\x73\x73\x69\x6F\x6E\x2D\x65\x78\x70\x69\x72\x65\x73":{type:_0xb125x5.INTEGER(11),allowNull:true},"\x73\x65\x73\x73\x69\x6F\x6E\x2D\x6D\x69\x6E\x73\x65":{type:_0xb125x5.INTEGER(11),allowNull:true},"\x73\x65\x73\x73\x69\x6F\x6E\x2D\x72\x65\x66\x72\x65\x73\x68\x65\x72":{type:_0xb125x5.ENUM(_0x5035[44],_0x5035[45]),allowNull:true},t38pt_usertpsource:{type:_0xb125x5[_0x5035[6]],allowNull:true},regexten:{type:_0xb125x5[_0x5035[6]],allowNull:true},fromdomain:{type:_0xb125x5[_0x5035[6]],allowNull:true},fromuser:{type:_0xb125x5[_0x5035[6]],allowNull:true},qualify:{type:_0xb125x5.ENUM(_0x5035[30],_0x5035[31]),allowNull:true,defaultValue:_0x5035[30]},defaultip:{type:_0xb125x5[_0x5035[6]],allowNull:true},rtptimeout:{type:_0xb125x5.INTEGER(11),allowNull:true},rtpholdtimeout:{type:_0xb125x5.INTEGER(11),allowNull:true},sendrpid:{type:_0xb125x5.ENUM(_0x5035[30],_0x5035[31]),allowNull:true,defaultValue:_0x5035[31]},outboundproxy:{type:_0xb125x5[_0x5035[6]],allowNull:true},callbackextension:{type:_0xb125x5[_0x5035[6]],allowNull:true},timert1:{type:_0xb125x5.INTEGER(11),allowNull:true},timerb:{type:_0xb125x5.INTEGER(11),allowNull:true},qualifyfreq:{type:_0xb125x5.INTEGER(11),allowNull:true},constantssrc:{type:_0xb125x5.ENUM(_0x5035[30],_0x5035[31]),allowNull:true},contactpermit:{type:_0xb125x5[_0x5035[6]],allowNull:true},contactdeny:{type:_0xb125x5[_0x5035[6]],allowNull:true},usereqphone:{type:_0xb125x5.ENUM(_0x5035[30],_0x5035[31]),allowNull:true,defaultValue:_0x5035[31]},textsupport:{type:_0xb125x5.ENUM(_0x5035[30],_0x5035[31]),allowNull:true},faxdetect:{type:_0xb125x5.ENUM(_0x5035[30],_0x5035[31]),allowNull:true},buggymwi:{type:_0xb125x5.ENUM(_0x5035[30],_0x5035[31]),allowNull:true},auth:{type:_0xb125x5[_0x5035[6]],allowNull:true},fullname:{type:_0xb125x5[_0x5035[6]],allowNull:true},trunkname:{type:_0xb125x5[_0x5035[6]],allowNull:true},cid_number:{type:_0xb125x5[_0x5035[6]],allowNull:true},callingpres:{type:_0xb125x5.ENUM(_0x5035[46],_0x5035[47],_0x5035[48],_0x5035[49],_0x5035[50],_0x5035[51],_0x5035[52],_0x5035[53]),allowNull:true},mohinterpret:{type:_0xb125x5[_0x5035[6]],allowNull:true},mohsuggest:{type:_0xb125x5[_0x5035[6]],allowNull:true},parkinglot:{type:_0xb125x5[_0x5035[6]],allowNull:true},hasvoicemail:{type:_0xb125x5.ENUM(_0x5035[30],_0x5035[31]),allowNull:true},subscribemwi:{type:_0xb125x5.ENUM(_0x5035[30],_0x5035[31]),allowNull:true},vmexten:{type:_0xb125x5[_0x5035[6]],allowNull:true},description:{type:_0xb125x5[_0x5035[6]],allowNull:true},autoframing:{type:_0xb125x5.ENUM(_0x5035[30],_0x5035[31]),allowNull:true},limitonpeers:{type:_0xb125x5.ENUM(_0x5035[30],_0x5035[31]),allowNull:true,defaultValue:_0x5035[30]},rtpkeepalive:{type:_0xb125x5.INTEGER(11),allowNull:true},"\x63\x61\x6C\x6C\x2D\x6C\x69\x6D\x69\x74":{type:_0xb125x5.INTEGER(11),allowNull:true,defaultValue:null},g726nonstandard:{type:_0xb125x5.ENUM(_0x5035[30],_0x5035[31]),allowNull:true},ignoresdpversion:{type:_0xb125x5.ENUM(_0x5035[30],_0x5035[31]),allowNull:true},allowtransfer:{type:_0xb125x5.ENUM(_0x5035[30],_0x5035[31]),allowNull:true},dynamic:{type:_0xb125x5.ENUM(_0x5035[30],_0x5035[31]),allowNull:true},encryption:{type:_0xb125x5.ENUM(_0x5035[30],_0x5035[31]),allowNull:true,defaultValue:_0x5035[31]},registry:{type:_0xb125x5[_0x5035[6]],allowNull:true}},{tableName:_0x5035[54],defaultScope:{where:{role:_0x5035[55]}},instanceMethods:{authenticate:function(_0xb125xa){return this[_0x5035[13]](_0xb125xa)===this[_0x5035[12]]},makeSalt:function(){return crypto[_0x5035[57]](16).toString(_0x5035[56])},encryptPassword:function(_0xb125x8){if(!_0xb125x8||!this[_0x5035[10]]){return _0x5035[58]};var _0xb125xb= new Buffer(this[_0x5035[10]],_0x5035[56]);return crypto[_0x5035[59]](_0xb125x8,_0xb125xb,10000,64).toString(_0x5035[56])},md5Password:function(_0xb125x8){if(!_0xb125x8){return _0x5035[58]};return md5(_0xb125x8)}},associate:function(_0xb125xc){}});return _0xb125x6}
\ No newline at end of file
+var _0x40fd=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x63\x72\x79\x70\x74\x6F","\x6D\x64\x35","\x6C\x6F\x64\x61\x73\x68","\x65\x78\x70\x6F\x72\x74\x73","\x54\x65\x6C\x65\x70\x68\x6F\x6E\x65","\x53\x54\x52\x49\x4E\x47","\x6E\x61\x6D\x65","\x73\x65\x74\x44\x61\x74\x61\x56\x61\x6C\x75\x65","\x64\x65\x66\x61\x75\x6C\x74\x75\x73\x65\x72","\x73\x61\x6C\x74","\x6D\x61\x6B\x65\x53\x61\x6C\x74","\x70\x61\x73\x73\x77\x6F\x72\x64","\x65\x6E\x63\x72\x79\x70\x74\x50\x61\x73\x73\x77\x6F\x72\x64","\x6D\x64\x35\x73\x65\x63\x72\x65\x74","\x3A\x61\x73\x74\x65\x72\x69\x73\x6B\x3A","\x6D\x64\x35\x50\x61\x73\x73\x77\x6F\x72\x64","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x61\x63\x63\x6F\x75\x6E\x74\x63\x6F\x64\x65","\x64\x79\x6E\x61\x6D\x69\x63","\x66\x72\x69\x65\x6E\x64","\x75\x73\x65\x72","\x70\x65\x65\x72","\x66\x72\x6F\x6D\x2D\x73\x69\x70","\x75\x64\x70","\x72\x66\x63\x32\x38\x33\x33","\x69\x6E\x66\x6F","\x73\x68\x6F\x72\x74\x69\x6E\x66\x6F","\x69\x6E\x62\x61\x6E\x64","\x61\x75\x74\x6F","\x79\x65\x73","\x6E\x6F","\x6E\x6F\x6E\x61\x74","\x75\x70\x64\x61\x74\x65","\x66\x6F\x72\x63\x65\x5F\x72\x70\x6F\x72\x74\x2C\x63\x6F\x6D\x65\x64\x69\x61","\x65\x6E","\x61\x6C\x6C","\x61\x6C\x61\x77\x3B\x75\x6C\x61\x77\x3B\x67\x73\x6D","\x70\x6F\x72\x74\x2C\x69\x6E\x76\x69\x74\x65","\x6E\x65\x76\x65\x72","\x22\x22\x20\x3C\x3E","\x61\x63\x63\x65\x70\x74","\x72\x65\x66\x75\x73\x65","\x6F\x72\x69\x67\x69\x6E\x61\x74\x65","\x75\x61\x63","\x75\x61\x73","\x41\x4C\x4C\x4F\x57\x45\x44\x5F\x4E\x4F\x54\x5F\x53\x43\x52\x45\x45\x4E\x45\x44","\x41\x4C\x4C\x4F\x57\x45\x44\x5F\x50\x41\x53\x53\x45\x44\x5F\x53\x43\x52\x45\x45\x4E","\x41\x4C\x4C\x4F\x57\x45\x44\x5F\x46\x41\x49\x4C\x45\x44\x5F\x53\x43\x52\x45\x45\x4E","\x41\x4C\x4C\x4F\x57\x45\x44","\x50\x52\x4F\x48\x49\x42\x5F\x4E\x4F\x54\x5F\x53\x43\x52\x45\x45\x4E\x45\x44","\x50\x52\x4F\x48\x49\x42\x5F\x50\x41\x53\x53\x45\x44\x5F\x53\x43\x52\x45\x45\x4E","\x50\x52\x4F\x48\x49\x42\x5F\x46\x41\x49\x4C\x45\x44\x5F\x53\x43\x52\x45\x45\x4E","\x50\x52\x4F\x48\x49\x42","\x75\x73\x65\x72\x73","\x74\x65\x6C\x65\x70\x68\x6F\x6E\x65","\x62\x61\x73\x65\x36\x34","\x72\x61\x6E\x64\x6F\x6D\x42\x79\x74\x65\x73","","\x70\x62\x6B\x64\x66\x32\x53\x79\x6E\x63","\x64\x65\x66\x69\x6E\x65"];_0x40fd[0];var crypto=require(_0x40fd[1]);var md5=require(_0x40fd[2]);var _=require(_0x40fd[3]);module[_0x40fd[4]]=function(_0x1f3fx4,_0x1f3fx5){var _0x1f3fx6=_0x1f3fx4[_0x40fd[60]](_0x40fd[5],{name:{type:_0x1f3fx5[_0x40fd[6]],unique:true,validate:{notEmpty:true,is:/^[A-Za-z0-9\.\_]+$/i},set:function(_0x1f3fx7){this[_0x40fd[8]](_0x40fd[7],_0x1f3fx7);this[_0x40fd[8]](_0x40fd[9],_0x1f3fx7)}},password:{type:_0x1f3fx5[_0x40fd[6]],allowNull:false,validate:{notEmpty:true},set:function(_0x1f3fx8){this[_0x40fd[10]]=this[_0x40fd[11]]();this[_0x40fd[8]](_0x40fd[12],this[_0x40fd[13]](_0x1f3fx8));this[_0x40fd[8]](_0x40fd[14],this[_0x40fd[16]](this[_0x40fd[7]]+_0x40fd[15]+_0x1f3fx8))}},internal:{type:_0x1f3fx5.INTEGER(11),unique:true,set:function(_0x1f3fx9){this[_0x40fd[8]](_0x40fd[17],_0x1f3fx9);this[_0x40fd[8]](_0x40fd[18],_0x1f3fx9)}},ipaddr:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true},port:{type:_0x1f3fx5.INTEGER(5),allowNull:true},regseconds:{type:_0x1f3fx5.INTEGER(11),allowNull:true},defaultuser:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true},fullcontact:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true},regserver:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true},useragent:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true},lastms:{type:_0x1f3fx5.INTEGER(11),allowNull:true},host:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true,defaultValue:_0x40fd[19]},type:{type:_0x1f3fx5.ENUM(_0x40fd[20],_0x40fd[21],_0x40fd[22]),allowNull:true,defaultValue:_0x40fd[20]},context:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true,defaultValue:_0x40fd[23]},permit:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true},deny:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true},secret:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true},md5secret:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true},remotesecret:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true},transport:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true,defaultValue:_0x40fd[24]},dtmfmode:{type:_0x1f3fx5.ENUM(_0x40fd[25],_0x40fd[26],_0x40fd[27],_0x40fd[28],_0x40fd[29]),allowNull:true,defaultValue:_0x40fd[25]},directmedia:{type:_0x1f3fx5.ENUM(_0x40fd[30],_0x40fd[31],_0x40fd[32],_0x40fd[33]),allowNull:true,defaultValue:_0x40fd[31]},nat:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true,defaultValue:_0x40fd[34]},callgroup:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true},pickupgroup:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true},language:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true,defaultValue:_0x40fd[35]},disallow:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true,defaultValue:_0x40fd[36]},allow:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true,defaultValue:_0x40fd[37]},insecure:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true,defaultValue:_0x40fd[38]},trustrpid:{type:_0x1f3fx5.ENUM(_0x40fd[30],_0x40fd[31]),allowNull:true,defaultValue:_0x40fd[31]},progressinband:{type:_0x1f3fx5.ENUM(_0x40fd[30],_0x40fd[31],_0x40fd[39]),allowNull:true},promiscredir:{type:_0x1f3fx5.ENUM(_0x40fd[30],_0x40fd[31]),allowNull:true},useclientcode:{type:_0x1f3fx5.ENUM(_0x40fd[30],_0x40fd[31]),allowNull:true},accountcode:{type:_0x1f3fx5.INTEGER(11),allowNull:true},setvar:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true},callerid:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true,defaultValue:_0x40fd[40]},amaflags:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true},callcounter:{type:_0x1f3fx5.ENUM(_0x40fd[30],_0x40fd[31]),allowNull:true,defaultValue:_0x40fd[30]},busylevel:{type:_0x1f3fx5.INTEGER(11),allowNull:true},allowoverlap:{type:_0x1f3fx5.ENUM(_0x40fd[30],_0x40fd[31]),allowNull:true},allowsubscribe:{type:_0x1f3fx5.ENUM(_0x40fd[30],_0x40fd[31]),allowNull:true},videosupport:{type:_0x1f3fx5.ENUM(_0x40fd[30],_0x40fd[31]),allowNull:true},maxcallbitrate:{type:_0x1f3fx5.INTEGER(11),allowNull:true},rfc2833compensate:{type:_0x1f3fx5.ENUM(_0x40fd[30],_0x40fd[31]),allowNull:true},mailbox:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true},"\x73\x65\x73\x73\x69\x6F\x6E\x2D\x74\x69\x6D\x65\x72\x73":{type:_0x1f3fx5.ENUM(_0x40fd[41],_0x40fd[42],_0x40fd[43]),allowNull:true},"\x73\x65\x73\x73\x69\x6F\x6E\x2D\x65\x78\x70\x69\x72\x65\x73":{type:_0x1f3fx5.INTEGER(11),allowNull:true},"\x73\x65\x73\x73\x69\x6F\x6E\x2D\x6D\x69\x6E\x73\x65":{type:_0x1f3fx5.INTEGER(11),allowNull:true},"\x73\x65\x73\x73\x69\x6F\x6E\x2D\x72\x65\x66\x72\x65\x73\x68\x65\x72":{type:_0x1f3fx5.ENUM(_0x40fd[44],_0x40fd[45]),allowNull:true},t38pt_usertpsource:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true},regexten:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true},fromdomain:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true},fromuser:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true},qualify:{type:_0x1f3fx5.ENUM(_0x40fd[30],_0x40fd[31]),allowNull:true,defaultValue:_0x40fd[30]},defaultip:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true},rtptimeout:{type:_0x1f3fx5.INTEGER(11),allowNull:true},rtpholdtimeout:{type:_0x1f3fx5.INTEGER(11),allowNull:true},sendrpid:{type:_0x1f3fx5.ENUM(_0x40fd[30],_0x40fd[31]),allowNull:true,defaultValue:_0x40fd[31]},outboundproxy:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true},callbackextension:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true},timert1:{type:_0x1f3fx5.INTEGER(11),allowNull:true},timerb:{type:_0x1f3fx5.INTEGER(11),allowNull:true},qualifyfreq:{type:_0x1f3fx5.INTEGER(11),allowNull:true},constantssrc:{type:_0x1f3fx5.ENUM(_0x40fd[30],_0x40fd[31]),allowNull:true},contactpermit:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true},contactdeny:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true},usereqphone:{type:_0x1f3fx5.ENUM(_0x40fd[30],_0x40fd[31]),allowNull:true,defaultValue:_0x40fd[31]},textsupport:{type:_0x1f3fx5.ENUM(_0x40fd[30],_0x40fd[31]),allowNull:true},faxdetect:{type:_0x1f3fx5.ENUM(_0x40fd[30],_0x40fd[31]),allowNull:true},buggymwi:{type:_0x1f3fx5.ENUM(_0x40fd[30],_0x40fd[31]),allowNull:true},auth:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true},fullname:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true},trunkname:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true},cid_number:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true},callingpres:{type:_0x1f3fx5.ENUM(_0x40fd[46],_0x40fd[47],_0x40fd[48],_0x40fd[49],_0x40fd[50],_0x40fd[51],_0x40fd[52],_0x40fd[53]),allowNull:true},mohinterpret:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true},mohsuggest:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true},parkinglot:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true},hasvoicemail:{type:_0x1f3fx5.ENUM(_0x40fd[30],_0x40fd[31]),allowNull:true},subscribemwi:{type:_0x1f3fx5.ENUM(_0x40fd[30],_0x40fd[31]),allowNull:true},vmexten:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true},description:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true},autoframing:{type:_0x1f3fx5.ENUM(_0x40fd[30],_0x40fd[31]),allowNull:true},limitonpeers:{type:_0x1f3fx5.ENUM(_0x40fd[30],_0x40fd[31]),allowNull:true,defaultValue:_0x40fd[30]},rtpkeepalive:{type:_0x1f3fx5.INTEGER(11),allowNull:true},"\x63\x61\x6C\x6C\x2D\x6C\x69\x6D\x69\x74":{type:_0x1f3fx5.INTEGER(11),allowNull:true,defaultValue:null},g726nonstandard:{type:_0x1f3fx5.ENUM(_0x40fd[30],_0x40fd[31]),allowNull:true},ignoresdpversion:{type:_0x1f3fx5.ENUM(_0x40fd[30],_0x40fd[31]),allowNull:true},allowtransfer:{type:_0x1f3fx5.ENUM(_0x40fd[30],_0x40fd[31]),allowNull:true},dynamic:{type:_0x1f3fx5.ENUM(_0x40fd[30],_0x40fd[31]),allowNull:true},encryption:{type:_0x1f3fx5.ENUM(_0x40fd[30],_0x40fd[31]),allowNull:true,defaultValue:_0x40fd[31]},registry:{type:_0x1f3fx5[_0x40fd[6]],allowNull:true}},{tableName:_0x40fd[54],defaultScope:{where:{role:_0x40fd[55]}},instanceMethods:{authenticate:function(_0x1f3fxa){return this[_0x40fd[13]](_0x1f3fxa)===this[_0x40fd[12]]},makeSalt:function(){return crypto[_0x40fd[57]](16).toString(_0x40fd[56])},encryptPassword:function(_0x1f3fx8){if(!_0x1f3fx8||!this[_0x40fd[10]]){return _0x40fd[58]};var _0x1f3fxb= new Buffer(this[_0x40fd[10]],_0x40fd[56]);return crypto[_0x40fd[59]](_0x1f3fx8,_0x1f3fxb,10000,64).toString(_0x40fd[56])},md5Password:function(_0x1f3fx8){if(!_0x1f3fx8){return _0x40fd[58]};return md5(_0x1f3fx8)}},associate:function(_0x1f3fxc){}});return _0x1f3fx6}
\ No newline at end of file