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