Built motion from commit f738f9592c388b9f9eb3948f400a5c9d717a3561. Version 3.0.0...
[motion-next.git] / server / api / user / user.attributes.js
1 const a774_0x4c20=['icesupport','blockedAt','split','util','INTEGER','isArray','\x22\x22\x20<>','update','getDataValue','STRING','from-sip','rfc2833','admin','user','accept','wss','PROHIB','allow','lodash','join','defaultuser','rtcp_mux','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22ulaw\x22,\x20\x22alaw\x22,\x20\x22gsm\x22]','friend','udp','info','format','nat','setDataValue','toLowerCase','/etc/pki/tls/private/motion.key','shortinfo','permissions','\x22%s\x22\x20<%s>','all','ulaw;alaw;gsm','actpass','TEXT','transport','ALLOWED_NOT_SCREENED','DATE','sequelize','VIRTUAL','showWebBar','BOOLEAN','dtlsenable','dtlssetup','refuse','force_avp','phoneBarEnableScreenRecordingByAgent','moment','auto','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22port\x22,\x20\x22invite\x22]','yes','string','screenrecording','ENUM','PROHIB_FAILED_SCREEN','local','name','fullname','peer','always','PROHIB_NOT_SCREENED','DEFAULT\x20PAUSE','encryption','email','insecure','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22udp\x22,\x20\x22tcp\x22]','The\x20name\x20of\x20the\x20user','attributes','dtlsprivatekey','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22force_rport\x22,\x20\x22comedia\x22]','true','update,nonat','ALLOWED_PASSED_SCREEN','inband','nonat','dtlscertfile','PROHIB_PASSED_SCREEN','callerid','uac','loginAttempts','internal','/etc/pki/tls/certs/motion.crt','false','avpf','uas','originate','certificate','outgoing','exports','telephone'];(function(_0x5c145d,_0x328fed){const _0x4c20f0=function(_0x462916){while(--_0x462916){_0x5c145d['push'](_0x5c145d['shift']());}};_0x4c20f0(++_0x328fed);}(a774_0x4c20,0x15a));const a774_0x4629=function(_0x5c145d,_0x328fed){_0x5c145d=_0x5c145d-0xcd;let _0x4c20f0=a774_0x4c20[_0x5c145d];return _0x4c20f0;};const a774_0x449513=a774_0x4629;'use strict';const {DataTypes}=require(a774_0x449513(0x110)),moment=require(a774_0x449513(0x119)),util=require(a774_0x449513(0xea)),_=require(a774_0x449513(0xf9)),attributes={'name':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':![],'unique':a774_0x449513(0x122),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9._]+$/i},'set':function(_0x41fa7a){const _0x2b2ce7=a774_0x449513;this[_0x2b2ce7(0x103)]('name',_0x41fa7a),this[_0x2b2ce7(0x103)](_0x2b2ce7(0xfb),_0x41fa7a);},'comment':a774_0x449513(0xcf)},'fullname':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':![],'set':function(_0x2f0a25){const _0x24ce4=a774_0x449513;this['setDataValue'](_0x24ce4(0x123),_0x2f0a25),this[_0x24ce4(0x103)](_0x24ce4(0xda),util['format']('\x22%s\x22\x20<%s>',_0x2f0a25,this[_0x24ce4(0xef)](_0x24ce4(0xdd))));}},'alias':{'type':DataTypes[a774_0x449513(0xf0)]},'email':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':![],'unique':a774_0x449513(0x129),'validate':{'isEmail':!![]},'set':function(_0x55e083){const _0x4ae1ef=a774_0x449513;_0x55e083&&this[_0x4ae1ef(0x103)](_0x4ae1ef(0x129),_0x55e083[_0x4ae1ef(0x104)]());}},'role':{'type':DataTypes[a774_0x449513(0x11f)](a774_0x449513(0xf3),a774_0x449513(0xf4),'agent',a774_0x449513(0xe6)),'allowNull':![]},'password':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':![],'validate':{'notEmpty':!![]}},'provider':{'type':DataTypes[a774_0x449513(0xf0)],'defaultValue':a774_0x449513(0x121)},'internal':{'type':DataTypes[a774_0x449513(0xeb)]({'length':0xb}),'allowNull':![],'unique':a774_0x449513(0xdd),'set':function(_0x363e21){const _0x44a6cf=a774_0x449513;this[_0x44a6cf(0x103)](_0x44a6cf(0xdd),_0x363e21),this[_0x44a6cf(0x103)]('accountcode',_0x363e21),this[_0x44a6cf(0x103)](_0x44a6cf(0xda),util[_0x44a6cf(0x101)](_0x44a6cf(0x108),this[_0x44a6cf(0xef)](_0x44a6cf(0x123)),_0x363e21));}},'salt':{'type':DataTypes['STRING']},'phone':{'type':DataTypes[a774_0x449513(0xf0)]},'mobile':{'type':DataTypes[a774_0x449513(0xf0)]},'address':{'type':DataTypes[a774_0x449513(0xf0)]},'zipcode':{'type':DataTypes[a774_0x449513(0xf0)]},'userpic':{'type':DataTypes[a774_0x449513(0xf0)]},'city':{'type':DataTypes[a774_0x449513(0xf0)]},'country':{'type':DataTypes[a774_0x449513(0xf0)]},'online':{'type':DataTypes[a774_0x449513(0x113)],'defaultValue':![]},'lastLoginAt':{'type':DataTypes[a774_0x449513(0x10f)]},'voicePause':{'type':DataTypes[a774_0x449513(0x113)],'defaultValue':![]},'chatPause':{'type':DataTypes[a774_0x449513(0x113)],'defaultValue':![]},'mailPause':{'type':DataTypes[a774_0x449513(0x113)],'defaultValue':![]},'faxPause':{'type':DataTypes[a774_0x449513(0x113)],'defaultValue':![]},'smsPause':{'type':DataTypes[a774_0x449513(0x113)],'defaultValue':![]},'whatsappPause':{'type':DataTypes[a774_0x449513(0x113)],'defaultValue':![]},'openchannelPause':{'type':DataTypes['BOOLEAN'],'defaultValue':![]},'pauseType':{'type':DataTypes['STRING'],'defaultValue':a774_0x449513(0x127)},'lastPauseAt':{'type':DataTypes[a774_0x449513(0x10f)]},'chatCapacity':{'type':DataTypes['INTEGER'],'defaultValue':0x0},'mailCapacity':{'type':DataTypes[a774_0x449513(0xeb)],'defaultValue':0x0},'faxCapacity':{'type':DataTypes[a774_0x449513(0xeb)],'defaultValue':0x0},'smsCapacity':{'type':DataTypes[a774_0x449513(0xeb)],'defaultValue':0x0},'whatsappCapacity':{'type':DataTypes[a774_0x449513(0xeb)],'defaultValue':0x0},'openchannelCapacity':{'type':DataTypes[a774_0x449513(0xeb)],'defaultValue':0x0},'phoneBarAutoAnswer':{'type':DataTypes[a774_0x449513(0x113)],'defaultValue':![]},'phoneBarEnableSettings':{'type':DataTypes[a774_0x449513(0x113)],'defaultValue':!![]},'phoneBarListenPort':{'type':DataTypes[a774_0x449513(0xeb)]({'length':0x5}),'defaultValue':0x1428},'phoneBarExpires':{'type':DataTypes[a774_0x449513(0xeb)]({'length':0x5}),'defaultValue':0x78},'phoneBarRemoteControl':{'type':DataTypes[a774_0x449513(0x113)],'defaultValue':![]},'phoneBarRemoteControlPort':{'type':DataTypes['INTEGER'],'defaultValue':0x26a0},'phoneBarEnableRecording':{'type':DataTypes[a774_0x449513(0x113)],'defaultValue':![]},'phoneBarRingInUse':{'type':DataTypes[a774_0x449513(0x113)],'defaultValue':![]},'chanspy':{'type':DataTypes[a774_0x449513(0x113)],'defaultValue':![]},'description':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':!![]},'host':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':!![],'defaultValue':'dynamic'},'ipaddr':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':!![]},'port':{'type':DataTypes['INTEGER']({'length':0x5}),'allowNull':!![]},'regseconds':{'type':DataTypes['INTEGER']({'length':0xb}),'allowNull':!![]},'fullcontact':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':!![]},'regserver':{'type':DataTypes['STRING'],'allowNull':!![]},'useragent':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':!![]},'lastms':{'type':DataTypes['INTEGER']({'length':0xb}),'allowNull':!![]},'type':{'type':DataTypes['ENUM'](a774_0x449513(0xfe),a774_0x449513(0xf4),a774_0x449513(0x124)),'allowNull':!![],'defaultValue':a774_0x449513(0xfe)},'context':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':!![],'defaultValue':a774_0x449513(0xf1)},'callingpres':{'type':DataTypes[a774_0x449513(0x11f)](a774_0x449513(0x10e),a774_0x449513(0xd5),'ALLOWED_FAILED_SCREEN','ALLOWED',a774_0x449513(0x126),a774_0x449513(0xd9),a774_0x449513(0x120),a774_0x449513(0xf7)),'allowNull':!![]},'deny':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':!![]},'permit':{'type':DataTypes['STRING'],'allowNull':!![]},'secret':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':!![]},'md5secret':{'type':DataTypes['STRING'],'allowNull':!![]},'remotesecret':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':!![]},'transport':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':!![],'defaultValue':a774_0x449513(0xff),'set':function(_0x4f722f){const _0x5169a1=a774_0x449513;this[_0x5169a1(0x103)]('transport',typeof _0x4f722f===_0x5169a1(0x11d)?_0x4f722f:Array[_0x5169a1(0xec)](_0x4f722f)?_0x4f722f['join'](','):null);},'get':function(){const _0x30b92c=a774_0x449513;return this[_0x30b92c(0xef)](_0x30b92c(0x10d))?this[_0x30b92c(0xef)]('transport')[_0x30b92c(0xe9)](','):null;},'comment':a774_0x449513(0xce)},'dtmfmode':{'type':DataTypes[a774_0x449513(0x11f)](a774_0x449513(0xf2),a774_0x449513(0x100),a774_0x449513(0x106),a774_0x449513(0xd6),a774_0x449513(0x11a)),'allowNull':!![],'defaultValue':a774_0x449513(0xf2)},'directmedia':{'type':DataTypes[a774_0x449513(0x11f)]('yes','no',a774_0x449513(0xd7),'update',a774_0x449513(0xe4)),'allowNull':!![],'defaultValue':'no'},'directrtpsetup':{'type':DataTypes['ENUM'](a774_0x449513(0x11c),'no'),'allowNull':!![],'defaultValue':'no'},'directmediapermit':{'type':DataTypes['STRING'],'allowNull':!![]},'directmediadeny':{'type':DataTypes['STRING'],'allowNull':!![]},'nat':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':!![],'defaultValue':'force_rport,comedia','set':function(_0x5d4ded){const _0x54b2b0=a774_0x449513;this[_0x54b2b0(0x103)](_0x54b2b0(0x102),typeof _0x5d4ded===_0x54b2b0(0x11d)?_0x5d4ded:Array[_0x54b2b0(0xec)](_0x5d4ded)?_0x5d4ded[_0x54b2b0(0xfa)](','):null);},'get':function(){const _0x4e61f4=a774_0x449513;return this[_0x4e61f4(0xef)]('nat')?this[_0x4e61f4(0xef)](_0x4e61f4(0x102))[_0x4e61f4(0xe9)](','):null;},'comment':a774_0x449513(0xd2)},'callgroup':{'type':DataTypes['STRING']},'namedcallgroup':{'type':DataTypes['STRING']},'pickupgroup':{'type':DataTypes[a774_0x449513(0xf0)]},'namedpickupgroup':{'type':DataTypes[a774_0x449513(0xf0)]},'language':{'type':DataTypes[a774_0x449513(0xf0)],'defaultValue':'en'},'tonezone':{'type':DataTypes[a774_0x449513(0xf0)]},'disallow':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':![],'defaultValue':a774_0x449513(0x109)},'allow':{'type':DataTypes['STRING'],'allowNull':![],'defaultValue':a774_0x449513(0x10a),'set':function(_0x54b063){const _0x51423d=a774_0x449513;this[_0x51423d(0x103)]('allow',typeof _0x54b063===_0x51423d(0x11d)?_0x54b063:Array[_0x51423d(0xec)](_0x54b063)?_0x54b063[_0x51423d(0xfa)](';'):_0x51423d(0x10a));},'get':function(){const _0x24ec1a=a774_0x449513;return this[_0x24ec1a(0xef)](_0x24ec1a(0xf8))?this[_0x24ec1a(0xef)](_0x24ec1a(0xf8))[_0x24ec1a(0xe9)](';'):null;},'comment':a774_0x449513(0xfd)},'autoframing':{'type':DataTypes[a774_0x449513(0x11f)](a774_0x449513(0x11c),'no'),'allowNull':!![]},'insecure':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':!![],'set':function(_0x439aaf){const _0x1050e4=a774_0x449513;this[_0x1050e4(0x103)](_0x1050e4(0xcd),typeof _0x439aaf==='string'?_0x439aaf:Array[_0x1050e4(0xec)](_0x439aaf)?_0x439aaf[_0x1050e4(0xfa)](','):null);},'get':function(){const _0x7c2ed4=a774_0x449513;return this['getDataValue']('insecure')?this[_0x7c2ed4(0xef)](_0x7c2ed4(0xcd))[_0x7c2ed4(0xe9)](','):null;},'comment':a774_0x449513(0x11b)},'trustrpid':{'type':DataTypes[a774_0x449513(0x11f)](a774_0x449513(0x11c),'no'),'allowNull':!![],'defaultValue':'no'},'trust_id_outbound':{'type':DataTypes['ENUM']('yes','no'),'allowNull':!![],'defaultValue':'no'},'progressinband':{'type':DataTypes[a774_0x449513(0x11f)](a774_0x449513(0x11c),'no','never'),'allowNull':!![]},'promiscredir':{'type':DataTypes[a774_0x449513(0x11f)](a774_0x449513(0x11c),'no'),'allowNull':!![]},'useclientcode':{'type':DataTypes[a774_0x449513(0x11f)](a774_0x449513(0x11c),'no'),'allowNull':!![]},'accountcode':{'type':DataTypes[a774_0x449513(0xeb)]({'length':0xb}),'allowNull':!![]},'setvar':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':!![]},'callerid':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':!![],'defaultValue':a774_0x449513(0xed)},'amaflags':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':!![]},'callcounter':{'type':DataTypes['ENUM'](a774_0x449513(0x11c),'no'),'allowNull':!![],'defaultValue':a774_0x449513(0x11c)},'busylevel':{'type':DataTypes[a774_0x449513(0xeb)]({'length':0xb}),'allowNull':!![]},'allowoverlap':{'type':DataTypes['ENUM'](a774_0x449513(0x11c),'no'),'allowNull':!![]},'allowsubscribe':{'type':DataTypes[a774_0x449513(0x11f)](a774_0x449513(0x11c),'no'),'allowNull':!![]},'allowtransfer':{'type':DataTypes[a774_0x449513(0x11f)]('yes','no'),'allowNull':!![]},'ignoresdpversion':{'type':DataTypes['ENUM']('yes','no'),'allowNull':!![]},'subscribecontext':{'type':DataTypes['STRING'],'allowNull':!![]},'template':{'type':DataTypes['STRING'],'allowNull':!![]},'videosupport':{'type':DataTypes[a774_0x449513(0x11f)](a774_0x449513(0x11c),'no',a774_0x449513(0x125)),'allowNull':!![],'defaultValue':'no'},'maxcallbitrate':{'type':DataTypes['INTEGER']({'length':0xb}),'allowNull':!![]},'rfc2833compensate':{'type':DataTypes['ENUM'](a774_0x449513(0x11c),'no'),'allowNull':!![]},'mailbox':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':!![]},'session_timers':{'type':DataTypes[a774_0x449513(0x11f)](a774_0x449513(0xf5),a774_0x449513(0x116),a774_0x449513(0xe2)),'allowNull':!![]},'session_expires':{'type':DataTypes['INTEGER']({'length':0xb}),'allowNull':!![]},'session_minse':{'type':DataTypes['INTEGER']({'length':0xb}),'allowNull':!![]},'session_refresher':{'type':DataTypes['ENUM'](a774_0x449513(0xdb),a774_0x449513(0xe1)),'allowNull':!![],'defaultValue':a774_0x449513(0xe1)},'t38pt_usertpsource':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':!![]},'regexten':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':!![]},'fromdomain':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':!![]},'fromuser':{'type':DataTypes['STRING'],'allowNull':!![]},'qualify':{'type':DataTypes[a774_0x449513(0x11f)](a774_0x449513(0x11c),'no'),'allowNull':!![],'defaultValue':a774_0x449513(0x11c)},'keepalive':{'type':DataTypes[a774_0x449513(0xeb)]({'length':0xb}),'allowNull':!![]},'defaultip':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':!![]},'defaultuser':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':!![]},'rtptimeout':{'type':DataTypes[a774_0x449513(0xeb)]({'length':0xb}),'allowNull':!![]},'rtpholdtimeout':{'type':DataTypes['INTEGER']({'length':0xb}),'allowNull':!![]},'rtpkeepalive':{'type':DataTypes[a774_0x449513(0xeb)]({'length':0xb}),'allowNull':!![]},'sendrpid':{'type':DataTypes[a774_0x449513(0x11f)](a774_0x449513(0x11c),'no'),'allowNull':!![],'defaultValue':'no'},'outboundproxy':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':!![]},'callbackextension':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':!![]},'timert1':{'type':DataTypes['INTEGER']({'length':0xb}),'allowNull':!![]},'timerb':{'type':DataTypes[a774_0x449513(0xeb)]({'length':0xb}),'allowNull':!![]},'qualifyfreq':{'type':DataTypes['INTEGER']({'length':0xb}),'allowNull':!![]},'contactpermit':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':!![]},'contactdeny':{'type':DataTypes['STRING'],'allowNull':!![]},'contactacl':{'type':DataTypes['STRING'],'allowNull':!![]},'unsolicited_mailbox':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':!![]},'use_q850_reason':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':!![]},'maxforwards':{'type':DataTypes[a774_0x449513(0xeb)]({'length':0xb}),'allowNull':!![]},'encryption':{'type':DataTypes['ENUM'](a774_0x449513(0x11c),'no'),'allowNull':!![],'defaultValue':'no'},'avpf':{'type':DataTypes[a774_0x449513(0x11f)](a774_0x449513(0x11c),'no'),'allowNull':!![]},'force_avp':{'type':DataTypes[a774_0x449513(0x11f)](a774_0x449513(0x11c),'no'),'allowNull':!![]},'icesupport':{'type':DataTypes[a774_0x449513(0x11f)](a774_0x449513(0x11c),'no'),'allowNull':!![]},'dtlsenable':{'type':DataTypes['ENUM'](a774_0x449513(0x11c),'no'),'allowNull':!![]},'dtlsverify':{'type':DataTypes[a774_0x449513(0x11f)](a774_0x449513(0x11c),'no','fingerprint',a774_0x449513(0xe3)),'allowNull':!![]},'dtlsrekey':{'type':DataTypes[a774_0x449513(0xeb)]({'length':0xb}),'allowNull':!![]},'dtlscertfile':{'type':DataTypes['STRING'],'allowNull':!![]},'dtlsprivatekey':{'type':DataTypes['STRING'],'allowNull':!![]},'dtlscipher':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':!![]},'dtlscafile':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':!![]},'dtlscapath':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':!![]},'dtlssetup':{'type':DataTypes[a774_0x449513(0x11f)]('active','passive',a774_0x449513(0x10b)),'allowNull':!![]},'dtlsfingerprint':{'type':DataTypes['STRING'],'allowNull':!![]},'usereqphone':{'type':DataTypes['ENUM'](a774_0x449513(0x11c),'no'),'allowNull':!![],'defaultValue':'no'},'recordonfeature':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':!![]},'recordofffeature':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':!![]},'call_limit':{'type':DataTypes[a774_0x449513(0xeb)]({'length':0xb}),'allowNull':!![],'defaultValue':0xa},'registertrying':{'type':DataTypes[a774_0x449513(0x11f)](a774_0x449513(0x11c),'no'),'allowNull':!![]},'subscribemwi':{'type':DataTypes[a774_0x449513(0x11f)](a774_0x449513(0x11c),'no'),'allowNull':!![]},'vmexten':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':!![]},'mohinterpret':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':!![]},'mohsuggest':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':!![]},'parkinglot':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':!![]},'canreinvite':{'type':DataTypes[a774_0x449513(0x11f)](a774_0x449513(0x11c),'no',a774_0x449513(0xd7),a774_0x449513(0xee),a774_0x449513(0xd4)),'allowNull':!![],'defaultValue':'no'},'loginInPause':{'type':DataTypes['BOOLEAN'],'defaultValue':![]},'resetPasswordToken':{'type':DataTypes[a774_0x449513(0xf0)]},'resetPasswordExpires':{'type':DataTypes['DATE']},'passwordResetAt':{'type':DataTypes[a774_0x449513(0x10f)],'defaultValue':null},'previousPasswords':{'type':DataTypes['STRING']},'showWebBar':{'type':DataTypes[a774_0x449513(0xeb)],'defaultValue':0x0,'set':function(_0x1f761d){const _0x206648=a774_0x449513;this[_0x206648(0x103)](_0x206648(0x112),_0x1f761d);const _0x3677b9=this['get']({'plain':!![]});switch(_0x1f761d){case 0x0:case 0x1:{let _0x22787d=_0x3677b9['transport']?_[_0x206648(0xec)](_0x3677b9[_0x206648(0x10d)])?_0x3677b9['transport'][_0x206648(0xfa)]():_0x3677b9[_0x206648(0x10d)]:'udp';_0x22787d===_0x206648(0xf6)&&(_0x22787d='udp'),this[_0x206648(0x103)](_0x206648(0x10d),_0x22787d),this['setDataValue'](_0x206648(0x128),'no'),this[_0x206648(0x103)](_0x206648(0xe0),null),this[_0x206648(0x103)](_0x206648(0x117),null),this['setDataValue'](_0x206648(0xe7),null),this[_0x206648(0x103)](_0x206648(0x114),null),this[_0x206648(0x103)]('dtlsverify',null),this[_0x206648(0x103)]('dtlssetup',null),this['setDataValue']('dtlscertfile',null),this[_0x206648(0x103)](_0x206648(0xd1),null),this[_0x206648(0x103)](_0x206648(0xfc),'no');}break;case 0x2:this[_0x206648(0x103)](_0x206648(0x10d),_0x206648(0xf6)),this[_0x206648(0x103)](_0x206648(0x128),_0x206648(0x11c)),this['setDataValue']('avpf',_0x206648(0x11c)),this[_0x206648(0x103)](_0x206648(0x117),_0x206648(0x11c)),this['setDataValue'](_0x206648(0xe7),'yes'),this['setDataValue']('dtlsenable','yes'),this[_0x206648(0x103)]('dtlsverify','no'),this[_0x206648(0x103)](_0x206648(0x115),'actpass'),this[_0x206648(0x103)](_0x206648(0xd8),_0x3677b9[_0x206648(0xd8)]||_0x206648(0xde)),this[_0x206648(0x103)](_0x206648(0xd1),_0x3677b9[_0x206648(0xd1)]||_0x206648(0x105)),this[_0x206648(0x103)](_0x206648(0xfc),_0x206648(0x11c));break;default:}}},'permissions':{'type':DataTypes[a774_0x449513(0x10c)],'set':function(_0x12dfbe){const _0x2809d1=a774_0x449513;this['setDataValue'](_0x2809d1(0x107),typeof _0x12dfbe===_0x2809d1(0x11d)?_0x12dfbe:Array[_0x2809d1(0xec)](_0x12dfbe)?_0x12dfbe['join'](','):[]);},'get':function(){const _0x2b6f7a=a774_0x449513;return this[_0x2b6f7a(0xef)](_0x2b6f7a(0x107))?_['map'](this['getDataValue'](_0x2b6f7a(0x107))[_0x2b6f7a(0xe9)](','),function(_0x1afacf){return parseInt(_0x1afacf,0xa);}):[];}},'phoneBarUnconditionalNumber':{'type':DataTypes['STRING']},'phoneBarNoReplyNumber':{'type':DataTypes['STRING']},'phoneBarBusyNumber':{'type':DataTypes[a774_0x449513(0xf0)]},'phoneBarUnconditional':{'type':DataTypes['BOOLEAN'],'defaultValue':![]},'phoneBarNoReply':{'type':DataTypes['BOOLEAN'],'defaultValue':![]},'phoneBarBusy':{'type':DataTypes[a774_0x449513(0x113)],'defaultValue':![]},'phoneBarDnd':{'type':DataTypes[a774_0x449513(0x113)],'defaultValue':!![]},'phoneBarUnansweredCallBadge':{'type':DataTypes['BOOLEAN'],'defaultValue':!![]},'phoneBarEnableDtmfTone':{'type':DataTypes['BOOLEAN'],'defaultValue':![]},'phoneBarAutoAnswerDelay':{'type':DataTypes[a774_0x449513(0xeb)],'defaultValue':0x0},'extensionMonitor':{'type':DataTypes[a774_0x449513(0xf0)],'defaultValue':''},'crudPermissions':{'type':DataTypes['INTEGER'],'defaultValue':0x0},'rtcp_mux':{'type':DataTypes[a774_0x449513(0x11f)]('yes','no'),'defaultValue':'no'},'allowmessenger':{'type':DataTypes[a774_0x449513(0x113)],'defaultValue':!![]},'phoneBarOutboundProxy':{'type':DataTypes[a774_0x449513(0xf0)]},'phoneBarEnableJaws':{'type':DataTypes[a774_0x449513(0x113)],'defaultValue':![]},'phoneBarEnableScreenRecordingByAgent':{'type':DataTypes[a774_0x449513(0x113)],'defaultValue':![]},'phoneBarEnableVideoRecording':{'type':DataTypes[a774_0x449513(0x111)],'get':function(){const _0x459886=a774_0x449513;return this[_0x459886(0xef)](_0x459886(0x118))?this[_0x459886(0xef)](_0x459886(0x118)):![];}},'phoneBarEnableAutomaticScreenRecording':{'type':DataTypes['BOOLEAN'],'defaultValue':![]},'phoneBarPrefixRequired':{'type':DataTypes['BOOLEAN'],'defaultValue':![]},'hotdesk':{'type':DataTypes[a774_0x449513(0x113)],'defaultValue':![]},'interface':{'type':DataTypes[a774_0x449513(0xf0)],'defaultValue':null},'privacyEnabled':{'type':DataTypes[a774_0x449513(0x113)],'defaultValue':![]},'apiKeyNonce':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':!![]},'apiKeyIat':{'type':DataTypes[a774_0x449513(0xf0)],'allowNull':!![]},'screenrecording':{'type':DataTypes[a774_0x449513(0x113)],'defaultValue':![],'set':function(_0x52f8c7){const _0x3e84e8=a774_0x449513;if(typeof _0x52f8c7==='string'){const _0x41c844=_0x52f8c7==='1'?!![]:_0x52f8c7==='0'?![]:_0x52f8c7===_0x3e84e8(0xd3)?!![]:_0x52f8c7===_0x3e84e8(0xdf)?![]:![];this[_0x3e84e8(0x103)](_0x3e84e8(0x11e),_0x41c844);}else this[_0x3e84e8(0x103)]('screenrecording',_0x52f8c7);}},'blocked':{'type':DataTypes[a774_0x449513(0x113)],'defaultValue':![],'set':function(_0x359b83){const _0x187ed4=a774_0x449513;this[_0x187ed4(0x103)]('blocked',_0x359b83),_0x359b83===!![]?(this[_0x187ed4(0x103)](_0x187ed4(0xe8),moment()),this['setDataValue'](_0x187ed4(0xdc),0x0)):this[_0x187ed4(0x103)](_0x187ed4(0xe8),null);}},'blockedAt':{'type':DataTypes[a774_0x449513(0x10f)],'defaultValue':null},'loginAttempts':{'type':DataTypes[a774_0x449513(0xeb)],'defaultValue':0x0},'disabled':{'type':DataTypes['BOOLEAN'],'defaultValue':![]},'settingsEnabled':{'type':DataTypes[a774_0x449513(0x113)],'defaultValue':!![]}};module[a774_0x449513(0xe5)][a774_0x449513(0xd0)]=attributes;