d47871f6fe7898155db4cc978091feceea1a768c
[motion.git] / server / models / trunk.js
1 var _0x6069=["\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","\x54\x72\x75\x6E\x6B\x49\x64","\x68\x61\x73\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];_0x6069[0];var crypto=require(_0x6069[1]);var md5=require(_0x6069[2]);var _=require(_0x6069[3]);module[_0x6069[4]]=function(_0x3079x4,_0x3079x5){var _0x3079x6=_0x3079x4[_0x6069[39]](_0x6069[5],{name:{type:_0x3079x5[_0x6069[6]],unique:true,validate:{notEmpty:true}},port:{type:_0x3079x5.INTEGER(5),allowNull:true},defaultuser:{type:_0x3079x5[_0x6069[6]],allowNull:true},host:{type:_0x3079x5[_0x6069[6]],allowNull:true,defaultValue:_0x6069[7]},type:{type:_0x3079x5.ENUM(_0x6069[8],_0x6069[9],_0x6069[10]),allowNull:true,defaultValue:_0x6069[8]},context:{type:_0x3079x5[_0x6069[6]],allowNull:true,defaultValue:_0x6069[11]},permit:{type:_0x3079x5[_0x6069[6]],allowNull:true},deny:{type:_0x3079x5[_0x6069[6]],allowNull:true},secret:{type:_0x3079x5[_0x6069[6]],allowNull:true},transport:{type:_0x3079x5[_0x6069[6]],allowNull:true,defaultValue:_0x6069[12]},dtmfmode:{type:_0x3079x5.ENUM(_0x6069[13],_0x6069[14],_0x6069[15],_0x6069[16],_0x6069[17]),allowNull:true,defaultValue:_0x6069[13]},directmedia:{type:_0x3079x5.ENUM(_0x6069[18],_0x6069[19],_0x6069[20],_0x6069[21]),allowNull:true,defaultValue:_0x6069[19]},nat:{type:_0x3079x5[_0x6069[6]],allowNull:true,defaultValue:_0x6069[22]},language:{type:_0x3079x5[_0x6069[6]],allowNull:true,defaultValue:_0x6069[23]},disallow:{type:_0x3079x5[_0x6069[6]],allowNull:true},allow:{type:_0x3079x5[_0x6069[6]],allowNull:true,defaultValue:_0x6069[24]},insecure:{type:_0x3079x5[_0x6069[6]],allowNull:true,defaultValue:_0x6069[25]},trustrpid:{type:_0x3079x5.ENUM(_0x6069[18],_0x6069[19]),allowNull:true,defaultValue:_0x6069[19]},progressinband:{type:_0x3079x5.ENUM(_0x6069[18],_0x6069[19],_0x6069[26]),allowNull:true},promiscredir:{type:_0x3079x5.ENUM(_0x6069[18],_0x6069[19]),allowNull:true},useclientcode:{type:_0x3079x5.ENUM(_0x6069[18],_0x6069[19]),allowNull:true},accountcode:{type:_0x3079x5.INTEGER(11),allowNull:true},setvar:{type:_0x3079x5[_0x6069[6]],allowNull:true},otherFields:{type:_0x3079x5[_0x6069[6]],allowNull:true},callerid:{type:_0x3079x5[_0x6069[6]],allowNull:true,defaultValue:_0x6069[27]},amaflags:{type:_0x3079x5[_0x6069[6]],allowNull:true},callcounter:{type:_0x3079x5.ENUM(_0x6069[18],_0x6069[19]),allowNull:true,defaultValue:_0x6069[18]},busylevel:{type:_0x3079x5.INTEGER(11),allowNull:true},allowoverlap:{type:_0x3079x5.ENUM(_0x6069[18],_0x6069[19]),allowNull:true},allowsubscribe:{type:_0x3079x5.ENUM(_0x6069[18],_0x6069[19]),allowNull:true},maxcallbitrate:{type:_0x3079x5.INTEGER(11),allowNull:true},rfc2833compensate:{type:_0x3079x5.ENUM(_0x6069[18],_0x6069[19]),allowNull:true},t38pt_usertpsource:{type:_0x3079x5[_0x6069[6]],allowNull:true},regexten:{type:_0x3079x5[_0x6069[6]],allowNull:true},fromdomain:{type:_0x3079x5[_0x6069[6]],allowNull:true},fromuser:{type:_0x3079x5[_0x6069[6]],allowNull:true},qualify:{type:_0x3079x5.ENUM(_0x6069[18],_0x6069[19]),allowNull:true,defaultValue:_0x6069[18]},defaultip:{type:_0x3079x5[_0x6069[6]],allowNull:true},rtptimeout:{type:_0x3079x5.INTEGER(11),allowNull:true},rtpholdtimeout:{type:_0x3079x5.INTEGER(11),allowNull:true},sendrpid:{type:_0x3079x5.ENUM(_0x6069[18],_0x6069[19]),allowNull:true,defaultValue:_0x6069[19]},outboundproxy:{type:_0x3079x5[_0x6069[6]],allowNull:true},callbackextension:{type:_0x3079x5[_0x6069[6]],allowNull:true},qualifyfreq:{type:_0x3079x5.INTEGER(11),allowNull:true},constantssrc:{type:_0x3079x5.ENUM(_0x6069[18],_0x6069[19]),allowNull:true},contactpermit:{type:_0x3079x5[_0x6069[6]],allowNull:true},contactdeny:{type:_0x3079x5[_0x6069[6]],allowNull:true},usereqphone:{type:_0x3079x5.ENUM(_0x6069[18],_0x6069[19]),allowNull:true,defaultValue:_0x6069[19]},textsupport:{type:_0x3079x5.ENUM(_0x6069[18],_0x6069[19]),allowNull:true},faxdetect:{type:_0x3079x5.ENUM(_0x6069[18],_0x6069[19]),allowNull:true},buggymwi:{type:_0x3079x5.ENUM(_0x6069[18],_0x6069[19]),allowNull:true},auth:{type:_0x3079x5[_0x6069[6]],allowNull:true},fullname:{type:_0x3079x5[_0x6069[6]],allowNull:true},trunkname:{type:_0x3079x5[_0x6069[6]],allowNull:true},cid_number:{type:_0x3079x5[_0x6069[6]],allowNull:true},callingpres:{type:_0x3079x5.ENUM(_0x6069[28],_0x6069[29],_0x6069[30],_0x6069[31],_0x6069[32],_0x6069[33],_0x6069[34],_0x6069[35]),allowNull:true},mohinterpret:{type:_0x3079x5[_0x6069[6]],allowNull:true},mohsuggest:{type:_0x3079x5[_0x6069[6]],allowNull:true},subscribemwi:{type:_0x3079x5.ENUM(_0x6069[18],_0x6069[19]),allowNull:true},vmexten:{type:_0x3079x5[_0x6069[6]],allowNull:true},description:{type:_0x3079x5[_0x6069[6]],allowNull:true},autoframing:{type:_0x3079x5.ENUM(_0x6069[18],_0x6069[19]),allowNull:true},limitonpeers:{type:_0x3079x5.ENUM(_0x6069[18],_0x6069[19]),allowNull:true,defaultValue:_0x6069[18]},rtpkeepalive:{type:_0x3079x5.INTEGER(11),allowNull:true},"\x63\x61\x6C\x6C\x2D\x6C\x69\x6D\x69\x74":{type:_0x3079x5.INTEGER(11),allowNull:true,defaultValue:null},g726nonstandard:{type:_0x3079x5.ENUM(_0x6069[18],_0x6069[19]),allowNull:true},ignoresdpversion:{type:_0x3079x5.ENUM(_0x6069[18],_0x6069[19]),allowNull:true},allowtransfer:{type:_0x3079x5.ENUM(_0x6069[18],_0x6069[19]),allowNull:true},dynamic:{type:_0x3079x5.ENUM(_0x6069[18],_0x6069[19]),allowNull:true},encryption:{type:_0x3079x5.ENUM(_0x6069[18],_0x6069[19]),allowNull:true,defaultValue:_0x6069[19]},registry:{type:_0x3079x5[_0x6069[6]],allowNull:true}},{tableName:_0x6069[36],getterMethods:{},associate:function(_0x3079x7){_0x3079x6[_0x6069[38]](_0x3079x7.VoiceExtension,{foreignKey:_0x6069[37]})}});return _0x3079x6;};