23ad461c5e72d161f521915da91ba7d22b31bd63
[motion.git] / server / models / trunk.js
1 var _0x52ef=["\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\x72\x75\x6E\x6B","\x53\x54\x52\x49\x4E\x47","\x66\x72\x69\x65\x6E\x64","\x75\x73\x65\x72","\x70\x65\x65\x72","\x66\x72\x6F\x6D\x2D\x73\x69\x70","\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\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\x61\x77\x3B\x75\x6C\x61\x77\x3B\x67\x73\x6D","\x61\x6C\x6C","\x70\x6F\x72\x74\x2C\x69\x6E\x76\x69\x74\x65","\x6E\x65\x76\x65\x72","\x22\x22\x20\x3C\x3E","\x61\x6C\x77\x61\x79\x73","\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","\x64\x79\x6E\x61\x6D\x69\x63","\x66\x69\x6E\x67\x65\x72\x70\x72\x69\x6E\x74","\x63\x65\x72\x74\x69\x66\x69\x63\x61\x74\x65","\x61\x63\x74\x69\x76\x65","\x70\x61\x73\x73\x69\x76\x65","\x61\x63\x74\x70\x61\x73\x73","\x74\x72\x75\x6E\x6B\x73","\x64\x65\x66\x69\x6E\x65"];_0x52ef[0];var crypto=require(_0x52ef[1]);var md5=require(_0x52ef[2]);var _=require(_0x52ef[3]);module[_0x52ef[4]]=function(_0x4bd0x4,_0x4bd0x5){var _0x4bd0x6=_0x4bd0x4[_0x52ef[49]](_0x52ef[5],{name:{type:_0x4bd0x5[_0x52ef[6]],primaryKey:true},type:{type:_0x4bd0x5.ENUM(_0x52ef[7],_0x52ef[8],_0x52ef[9]),allowNull:true,defaultValue:_0x52ef[7]},context:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true,defaultValue:_0x52ef[10]},callingpres:{type:_0x4bd0x5.ENUM(_0x52ef[11],_0x52ef[12],_0x52ef[13],_0x52ef[14],_0x52ef[15],_0x52ef[16],_0x52ef[17],_0x52ef[18]),allowNull:true},permit:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},deny:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},secret:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},md5secret:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},remotesecret:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},transport:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true,defaultValue:_0x52ef[19]},dtmfmode:{type:_0x4bd0x5.ENUM(_0x52ef[20],_0x52ef[21],_0x52ef[22],_0x52ef[23],_0x52ef[24]),allowNull:true,defaultValue:_0x52ef[20]},directmedia:{type:_0x4bd0x5.ENUM(_0x52ef[25],_0x52ef[26],_0x52ef[27],_0x52ef[28]),allowNull:true,defaultValue:_0x52ef[26]},nat:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true,defaultValue:_0x52ef[29]},callgroup:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},namedcallgroup:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},pickupgroup:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},namedpickupgroup:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},language:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true,defaultValue:_0x52ef[30]},tonezone:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},allow:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true,defaultValue:_0x52ef[31]},disallow:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true,defaultValue:_0x52ef[32]},autoframing:{type:_0x4bd0x5.ENUM(_0x52ef[25],_0x52ef[26]),allowNull:true},insecure:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true,defaultValue:_0x52ef[33]},trustrpid:{type:_0x4bd0x5.ENUM(_0x52ef[25],_0x52ef[26]),allowNull:true,defaultValue:_0x52ef[26]},trust_id_outbound:{type:_0x4bd0x5.ENUM(_0x52ef[25],_0x52ef[26]),allowNull:true,defaultValue:_0x52ef[26]},progressinband:{type:_0x4bd0x5.ENUM(_0x52ef[25],_0x52ef[26],_0x52ef[34]),allowNull:true},promiscredir:{type:_0x4bd0x5.ENUM(_0x52ef[25],_0x52ef[26]),allowNull:true},useclientcode:{type:_0x4bd0x5.ENUM(_0x52ef[25],_0x52ef[26]),allowNull:true},accountcode:{type:_0x4bd0x5.INTEGER(11),allowNull:true},setvar:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},callerid:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true,defaultValue:_0x52ef[35]},amaflags:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},callcounter:{type:_0x4bd0x5.ENUM(_0x52ef[25],_0x52ef[26]),allowNull:true,defaultValue:_0x52ef[25]},busylevel:{type:_0x4bd0x5.INTEGER(11),allowNull:true},allowoverlap:{type:_0x4bd0x5.ENUM(_0x52ef[25],_0x52ef[26]),allowNull:true},allowsubscribe:{type:_0x4bd0x5.ENUM(_0x52ef[25],_0x52ef[26]),allowNull:true},allowtransfer:{type:_0x4bd0x5.ENUM(_0x52ef[25],_0x52ef[26]),allowNull:true},ignoresdpversion:{type:_0x4bd0x5.ENUM(_0x52ef[25],_0x52ef[26]),allowNull:true},subscribecontext:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},template:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},videosupport:{type:_0x4bd0x5.ENUM(_0x52ef[25],_0x52ef[26],_0x52ef[36]),allowNull:true,defaultValue:_0x52ef[26]},maxcallbitrate:{type:_0x4bd0x5.INTEGER(11),allowNull:true},rfc2833compensate:{type:_0x4bd0x5.ENUM(_0x52ef[25],_0x52ef[26]),allowNull:true},mailbox:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},session_timers:{type:_0x4bd0x5.ENUM(_0x52ef[37],_0x52ef[38],_0x52ef[39]),allowNull:true},session_expires:{type:_0x4bd0x5.INTEGER(11),allowNull:true},session_minse:{type:_0x4bd0x5.INTEGER(11),allowNull:true},session_refresher:{type:_0x4bd0x5.ENUM(_0x52ef[40],_0x52ef[41]),allowNull:true,defaultValue:_0x52ef[41]},t38pt_usertpsource:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},regexten:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},fromdomain:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},fromuser:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},host:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true,defaultValue:_0x52ef[42]},port:{type:_0x4bd0x5.INTEGER(5),allowNull:true},qualify:{type:_0x4bd0x5.ENUM(_0x52ef[25],_0x52ef[26]),allowNull:true,defaultValue:_0x52ef[25]},keepalive:{type:_0x4bd0x5.INTEGER(11),allowNull:true},defaultip:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},defaultuser:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},rtptimeout:{type:_0x4bd0x5.INTEGER(11),allowNull:true},rtpholdtimeout:{type:_0x4bd0x5.INTEGER(11),allowNull:true},rtpkeepalive:{type:_0x4bd0x5.INTEGER(11),allowNull:true},sendrpid:{type:_0x4bd0x5.ENUM(_0x52ef[25],_0x52ef[26]),allowNull:true,defaultValue:_0x52ef[26]},outboundproxy:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},callbackextension:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},timert1:{type:_0x4bd0x5.INTEGER(11),allowNull:true},timerb:{type:_0x4bd0x5.INTEGER(11),allowNull:true},qualifyfreq:{type:_0x4bd0x5.INTEGER(11),allowNull:true},contactpermit:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},contactdeny:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},contactacl:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},directmediapermit:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},directmediadeny:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},unsolicited_mailbox:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},use_q850_reason:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},maxforwards:{type:_0x4bd0x5.INTEGER(11),allowNull:true},encryption:{type:_0x4bd0x5.ENUM(_0x52ef[25],_0x52ef[26]),allowNull:true,defaultValue:_0x52ef[26]},avpf:{type:_0x4bd0x5.ENUM(_0x52ef[25],_0x52ef[26]),allowNull:true},force_avp:{type:_0x4bd0x5.ENUM(_0x52ef[25],_0x52ef[26]),allowNull:true},icesupport:{type:_0x4bd0x5.ENUM(_0x52ef[25],_0x52ef[26]),allowNull:true},dtlsenable:{type:_0x4bd0x5.ENUM(_0x52ef[25],_0x52ef[26]),allowNull:true},dtlsverify:{type:_0x4bd0x5.ENUM(_0x52ef[25],_0x52ef[26],_0x52ef[43],_0x52ef[44]),allowNull:true},dtlsrekey:{type:_0x4bd0x5.INTEGER(11),allowNull:true},dtlscertfile:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},dtlsprivatekey:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},dtlscipher:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},dtlscafile:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},dtlscapath:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},dtlssetup:{type:_0x4bd0x5.ENUM(_0x52ef[45],_0x52ef[46],_0x52ef[47]),allowNull:true},dtlsfingerprint:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},usereqphone:{type:_0x4bd0x5.ENUM(_0x52ef[25],_0x52ef[26]),allowNull:true,defaultValue:_0x52ef[26]},recordonfeature:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},recordofffeature:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},call_limit:{type:_0x4bd0x5.INTEGER(11),allowNull:true,defaultValue:null},registertrying:{type:_0x4bd0x5.ENUM(_0x52ef[25],_0x52ef[26]),allowNull:true},subscribemwi:{type:_0x4bd0x5.ENUM(_0x52ef[25],_0x52ef[26]),allowNull:true},vmexten:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},mohinterpret:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},mohsuggest:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},parkinglot:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},description:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},registry:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true},otherFields:{type:_0x4bd0x5[_0x52ef[6]],allowNull:true}},{tableName:_0x52ef[48],associate:function(_0x4bd0x7){}});return _0x4bd0x6}