Built motion from commit 98bf79a.|0.0.48
[motion.git] / server / models / trunk.js
index 48e688e..6a26fb9 100644 (file)
@@ -1 +1 @@
-var _0xf1a4=["\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","\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\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","\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","\x74\x72\x75\x6E\x6B\x73","\x64\x65\x66\x69\x6E\x65"];_0xf1a4[0];var crypto=require(_0xf1a4[1]);var md5=require(_0xf1a4[2]);var _=require(_0xf1a4[3]);module[_0xf1a4[4]]=function(_0x9e7dx4,_0x9e7dx5){var _0x9e7dx6=_0x9e7dx4[_0xf1a4[37]](_0xf1a4[5],{name:{type:_0x9e7dx5[_0xf1a4[6]],primaryKey:true},port:{type:_0x9e7dx5.INTEGER(5),allowNull:true},defaultuser:{type:_0x9e7dx5[_0xf1a4[6]],allowNull:true},host:{type:_0x9e7dx5[_0xf1a4[6]],allowNull:true,defaultValue:_0xf1a4[7]},type:{type:_0x9e7dx5.ENUM(_0xf1a4[8],_0xf1a4[9],_0xf1a4[10]),allowNull:true,defaultValue:_0xf1a4[8]},context:{type:_0x9e7dx5[_0xf1a4[6]],allowNull:true,defaultValue:_0xf1a4[11]},permit:{type:_0x9e7dx5[_0xf1a4[6]],allowNull:true},deny:{type:_0x9e7dx5[_0xf1a4[6]],allowNull:true},secret:{type:_0x9e7dx5[_0xf1a4[6]],allowNull:true},transport:{type:_0x9e7dx5[_0xf1a4[6]],allowNull:true,defaultValue:_0xf1a4[12]},dtmfmode:{type:_0x9e7dx5.ENUM(_0xf1a4[13],_0xf1a4[14],_0xf1a4[15],_0xf1a4[16],_0xf1a4[17]),allowNull:true,defaultValue:_0xf1a4[13]},directmedia:{type:_0x9e7dx5.ENUM(_0xf1a4[18],_0xf1a4[19],_0xf1a4[20],_0xf1a4[21]),allowNull:true,defaultValue:_0xf1a4[19]},nat:{type:_0x9e7dx5[_0xf1a4[6]],allowNull:true,defaultValue:_0xf1a4[22]},language:{type:_0x9e7dx5[_0xf1a4[6]],allowNull:true,defaultValue:_0xf1a4[23]},disallow:{type:_0x9e7dx5[_0xf1a4[6]],allowNull:true},allow:{type:_0x9e7dx5[_0xf1a4[6]],allowNull:true,defaultValue:_0xf1a4[24]},insecure:{type:_0x9e7dx5[_0xf1a4[6]],allowNull:true,defaultValue:_0xf1a4[25]},trustrpid:{type:_0x9e7dx5.ENUM(_0xf1a4[18],_0xf1a4[19]),allowNull:true,defaultValue:_0xf1a4[19]},progressinband:{type:_0x9e7dx5.ENUM(_0xf1a4[18],_0xf1a4[19],_0xf1a4[26]),allowNull:true},promiscredir:{type:_0x9e7dx5.ENUM(_0xf1a4[18],_0xf1a4[19]),allowNull:true},useclientcode:{type:_0x9e7dx5.ENUM(_0xf1a4[18],_0xf1a4[19]),allowNull:true},accountcode:{type:_0x9e7dx5.INTEGER(11),allowNull:true},setvar:{type:_0x9e7dx5[_0xf1a4[6]],allowNull:true},otherFields:{type:_0x9e7dx5[_0xf1a4[6]],allowNull:true},callerid:{type:_0x9e7dx5[_0xf1a4[6]],allowNull:true,defaultValue:_0xf1a4[27]},amaflags:{type:_0x9e7dx5[_0xf1a4[6]],allowNull:true},callcounter:{type:_0x9e7dx5.ENUM(_0xf1a4[18],_0xf1a4[19]),allowNull:true,defaultValue:_0xf1a4[18]},busylevel:{type:_0x9e7dx5.INTEGER(11),allowNull:true},allowoverlap:{type:_0x9e7dx5.ENUM(_0xf1a4[18],_0xf1a4[19]),allowNull:true},allowsubscribe:{type:_0x9e7dx5.ENUM(_0xf1a4[18],_0xf1a4[19]),allowNull:true},maxcallbitrate:{type:_0x9e7dx5.INTEGER(11),allowNull:true},rfc2833compensate:{type:_0x9e7dx5.ENUM(_0xf1a4[18],_0xf1a4[19]),allowNull:true},t38pt_usertpsource:{type:_0x9e7dx5[_0xf1a4[6]],allowNull:true},regexten:{type:_0x9e7dx5[_0xf1a4[6]],allowNull:true},fromdomain:{type:_0x9e7dx5[_0xf1a4[6]],allowNull:true},fromuser:{type:_0x9e7dx5[_0xf1a4[6]],allowNull:true},qualify:{type:_0x9e7dx5.ENUM(_0xf1a4[18],_0xf1a4[19]),allowNull:true,defaultValue:_0xf1a4[18]},defaultip:{type:_0x9e7dx5[_0xf1a4[6]],allowNull:true},rtptimeout:{type:_0x9e7dx5.INTEGER(11),allowNull:true},rtpholdtimeout:{type:_0x9e7dx5.INTEGER(11),allowNull:true},sendrpid:{type:_0x9e7dx5.ENUM(_0xf1a4[18],_0xf1a4[19]),allowNull:true,defaultValue:_0xf1a4[19]},outboundproxy:{type:_0x9e7dx5[_0xf1a4[6]],allowNull:true},callbackextension:{type:_0x9e7dx5[_0xf1a4[6]],allowNull:true},qualifyfreq:{type:_0x9e7dx5.INTEGER(11),allowNull:true},constantssrc:{type:_0x9e7dx5.ENUM(_0xf1a4[18],_0xf1a4[19]),allowNull:true},contactpermit:{type:_0x9e7dx5[_0xf1a4[6]],allowNull:true},contactdeny:{type:_0x9e7dx5[_0xf1a4[6]],allowNull:true},usereqphone:{type:_0x9e7dx5.ENUM(_0xf1a4[18],_0xf1a4[19]),allowNull:true,defaultValue:_0xf1a4[19]},textsupport:{type:_0x9e7dx5.ENUM(_0xf1a4[18],_0xf1a4[19]),allowNull:true},faxdetect:{type:_0x9e7dx5.ENUM(_0xf1a4[18],_0xf1a4[19]),allowNull:true},buggymwi:{type:_0x9e7dx5.ENUM(_0xf1a4[18],_0xf1a4[19]),allowNull:true},auth:{type:_0x9e7dx5[_0xf1a4[6]],allowNull:true},fullname:{type:_0x9e7dx5[_0xf1a4[6]],allowNull:true},trunkname:{type:_0x9e7dx5[_0xf1a4[6]],allowNull:true},cid_number:{type:_0x9e7dx5[_0xf1a4[6]],allowNull:true},callingpres:{type:_0x9e7dx5.ENUM(_0xf1a4[28],_0xf1a4[29],_0xf1a4[30],_0xf1a4[31],_0xf1a4[32],_0xf1a4[33],_0xf1a4[34],_0xf1a4[35]),allowNull:true},mohinterpret:{type:_0x9e7dx5[_0xf1a4[6]],allowNull:true},mohsuggest:{type:_0x9e7dx5[_0xf1a4[6]],allowNull:true},subscribemwi:{type:_0x9e7dx5.ENUM(_0xf1a4[18],_0xf1a4[19]),allowNull:true},vmexten:{type:_0x9e7dx5[_0xf1a4[6]],allowNull:true},description:{type:_0x9e7dx5[_0xf1a4[6]],allowNull:true},autoframing:{type:_0x9e7dx5.ENUM(_0xf1a4[18],_0xf1a4[19]),allowNull:true},limitonpeers:{type:_0x9e7dx5.ENUM(_0xf1a4[18],_0xf1a4[19]),allowNull:true,defaultValue:_0xf1a4[18]},rtpkeepalive:{type:_0x9e7dx5.INTEGER(11),allowNull:true},"\x63\x61\x6C\x6C\x2D\x6C\x69\x6D\x69\x74":{type:_0x9e7dx5.INTEGER(11),allowNull:true,defaultValue:null},g726nonstandard:{type:_0x9e7dx5.ENUM(_0xf1a4[18],_0xf1a4[19]),allowNull:true},ignoresdpversion:{type:_0x9e7dx5.ENUM(_0xf1a4[18],_0xf1a4[19]),allowNull:true},allowtransfer:{type:_0x9e7dx5.ENUM(_0xf1a4[18],_0xf1a4[19]),allowNull:true},dynamic:{type:_0x9e7dx5.ENUM(_0xf1a4[18],_0xf1a4[19]),allowNull:true},encryption:{type:_0x9e7dx5.ENUM(_0xf1a4[18],_0xf1a4[19]),allowNull:true,defaultValue:_0xf1a4[19]},registry:{type:_0x9e7dx5[_0xf1a4[6]],allowNull:true}},{tableName:_0xf1a4[36],associate:function(_0x9e7dx7){}});return _0x9e7dx6}
\ No newline at end of file
+var _0xe640=["\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","\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\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","\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","\x74\x72\x75\x6E\x6B\x73","\x64\x65\x66\x69\x6E\x65"];_0xe640[0];var crypto=require(_0xe640[1]);var md5=require(_0xe640[2]);var _=require(_0xe640[3]);module[_0xe640[4]]=function(_0x9c08x4,_0x9c08x5){var _0x9c08x6=_0x9c08x4[_0xe640[37]](_0xe640[5],{name:{type:_0x9c08x5[_0xe640[6]],primaryKey:true},port:{type:_0x9c08x5.INTEGER(5),allowNull:true},defaultuser:{type:_0x9c08x5[_0xe640[6]],allowNull:true},host:{type:_0x9c08x5[_0xe640[6]],allowNull:true,defaultValue:_0xe640[7]},type:{type:_0x9c08x5.ENUM(_0xe640[8],_0xe640[9],_0xe640[10]),allowNull:true,defaultValue:_0xe640[8]},context:{type:_0x9c08x5[_0xe640[6]],allowNull:true,defaultValue:_0xe640[11]},permit:{type:_0x9c08x5[_0xe640[6]],allowNull:true},deny:{type:_0x9c08x5[_0xe640[6]],allowNull:true},secret:{type:_0x9c08x5[_0xe640[6]],allowNull:true},transport:{type:_0x9c08x5[_0xe640[6]],allowNull:true,defaultValue:_0xe640[12]},dtmfmode:{type:_0x9c08x5.ENUM(_0xe640[13],_0xe640[14],_0xe640[15],_0xe640[16],_0xe640[17]),allowNull:true,defaultValue:_0xe640[13]},directmedia:{type:_0x9c08x5.ENUM(_0xe640[18],_0xe640[19],_0xe640[20],_0xe640[21]),allowNull:true,defaultValue:_0xe640[19]},nat:{type:_0x9c08x5[_0xe640[6]],allowNull:true,defaultValue:_0xe640[22]},language:{type:_0x9c08x5[_0xe640[6]],allowNull:true,defaultValue:_0xe640[23]},disallow:{type:_0x9c08x5[_0xe640[6]],allowNull:true},allow:{type:_0x9c08x5[_0xe640[6]],allowNull:true,defaultValue:_0xe640[24]},insecure:{type:_0x9c08x5[_0xe640[6]],allowNull:true,defaultValue:_0xe640[25]},trustrpid:{type:_0x9c08x5.ENUM(_0xe640[18],_0xe640[19]),allowNull:true,defaultValue:_0xe640[19]},progressinband:{type:_0x9c08x5.ENUM(_0xe640[18],_0xe640[19],_0xe640[26]),allowNull:true},promiscredir:{type:_0x9c08x5.ENUM(_0xe640[18],_0xe640[19]),allowNull:true},useclientcode:{type:_0x9c08x5.ENUM(_0xe640[18],_0xe640[19]),allowNull:true},accountcode:{type:_0x9c08x5.INTEGER(11),allowNull:true},setvar:{type:_0x9c08x5[_0xe640[6]],allowNull:true},otherFields:{type:_0x9c08x5[_0xe640[6]],allowNull:true},callerid:{type:_0x9c08x5[_0xe640[6]],allowNull:true,defaultValue:_0xe640[27]},amaflags:{type:_0x9c08x5[_0xe640[6]],allowNull:true},callcounter:{type:_0x9c08x5.ENUM(_0xe640[18],_0xe640[19]),allowNull:true,defaultValue:_0xe640[18]},busylevel:{type:_0x9c08x5.INTEGER(11),allowNull:true},allowoverlap:{type:_0x9c08x5.ENUM(_0xe640[18],_0xe640[19]),allowNull:true},allowsubscribe:{type:_0x9c08x5.ENUM(_0xe640[18],_0xe640[19]),allowNull:true},maxcallbitrate:{type:_0x9c08x5.INTEGER(11),allowNull:true},rfc2833compensate:{type:_0x9c08x5.ENUM(_0xe640[18],_0xe640[19]),allowNull:true},t38pt_usertpsource:{type:_0x9c08x5[_0xe640[6]],allowNull:true},regexten:{type:_0x9c08x5[_0xe640[6]],allowNull:true},fromdomain:{type:_0x9c08x5[_0xe640[6]],allowNull:true},fromuser:{type:_0x9c08x5[_0xe640[6]],allowNull:true},qualify:{type:_0x9c08x5.ENUM(_0xe640[18],_0xe640[19]),allowNull:true,defaultValue:_0xe640[18]},defaultip:{type:_0x9c08x5[_0xe640[6]],allowNull:true},rtptimeout:{type:_0x9c08x5.INTEGER(11),allowNull:true},rtpholdtimeout:{type:_0x9c08x5.INTEGER(11),allowNull:true},sendrpid:{type:_0x9c08x5.ENUM(_0xe640[18],_0xe640[19]),allowNull:true,defaultValue:_0xe640[19]},outboundproxy:{type:_0x9c08x5[_0xe640[6]],allowNull:true},callbackextension:{type:_0x9c08x5[_0xe640[6]],allowNull:true},qualifyfreq:{type:_0x9c08x5.INTEGER(11),allowNull:true},constantssrc:{type:_0x9c08x5.ENUM(_0xe640[18],_0xe640[19]),allowNull:true},contactpermit:{type:_0x9c08x5[_0xe640[6]],allowNull:true},contactdeny:{type:_0x9c08x5[_0xe640[6]],allowNull:true},usereqphone:{type:_0x9c08x5.ENUM(_0xe640[18],_0xe640[19]),allowNull:true,defaultValue:_0xe640[19]},textsupport:{type:_0x9c08x5.ENUM(_0xe640[18],_0xe640[19]),allowNull:true},faxdetect:{type:_0x9c08x5.ENUM(_0xe640[18],_0xe640[19]),allowNull:true},buggymwi:{type:_0x9c08x5.ENUM(_0xe640[18],_0xe640[19]),allowNull:true},auth:{type:_0x9c08x5[_0xe640[6]],allowNull:true},fullname:{type:_0x9c08x5[_0xe640[6]],allowNull:true},trunkname:{type:_0x9c08x5[_0xe640[6]],allowNull:true},cid_number:{type:_0x9c08x5[_0xe640[6]],allowNull:true},callingpres:{type:_0x9c08x5.ENUM(_0xe640[28],_0xe640[29],_0xe640[30],_0xe640[31],_0xe640[32],_0xe640[33],_0xe640[34],_0xe640[35]),allowNull:true},mohinterpret:{type:_0x9c08x5[_0xe640[6]],allowNull:true},mohsuggest:{type:_0x9c08x5[_0xe640[6]],allowNull:true},subscribemwi:{type:_0x9c08x5.ENUM(_0xe640[18],_0xe640[19]),allowNull:true},vmexten:{type:_0x9c08x5[_0xe640[6]],allowNull:true},description:{type:_0x9c08x5[_0xe640[6]],allowNull:true},autoframing:{type:_0x9c08x5.ENUM(_0xe640[18],_0xe640[19]),allowNull:true},limitonpeers:{type:_0x9c08x5.ENUM(_0xe640[18],_0xe640[19]),allowNull:true,defaultValue:_0xe640[18]},rtpkeepalive:{type:_0x9c08x5.INTEGER(11),allowNull:true},"\x63\x61\x6C\x6C\x2D\x6C\x69\x6D\x69\x74":{type:_0x9c08x5.INTEGER(11),allowNull:true,defaultValue:null},g726nonstandard:{type:_0x9c08x5.ENUM(_0xe640[18],_0xe640[19]),allowNull:true},ignoresdpversion:{type:_0x9c08x5.ENUM(_0xe640[18],_0xe640[19]),allowNull:true},allowtransfer:{type:_0x9c08x5.ENUM(_0xe640[18],_0xe640[19]),allowNull:true},dynamic:{type:_0x9c08x5.ENUM(_0xe640[18],_0xe640[19]),allowNull:true},encryption:{type:_0x9c08x5.ENUM(_0xe640[18],_0xe640[19]),allowNull:true,defaultValue:_0xe640[19]},registry:{type:_0x9c08x5[_0xe640[6]],allowNull:true}},{tableName:_0xe640[36],associate:function(_0x9c08x7){}});return _0x9c08x6}
\ No newline at end of file