Built motion from commit (unavailable).|2.0.76
[motion2.git] / server / api / user / user.attributes.js
index eb3213a..49402fe 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf7d6=['from-sip','ALLOWED_PASSED_SCREEN','ALLOWED_FAILED_SCREEN','ALLOWED','PROHIB_NOT_SCREENED','PROHIB_PASSED_SCREEN','PROHIB_FAILED_SCREEN','PROHIB','join','transport','split','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22udp\x22,\x20\x22tcp\x22]','rfc2833','info','shortinfo','yes','nonat','update','outgoing','force_rport,comedia','nat','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22force_rport\x22,\x20\x22comedia\x22]','all','ulaw;alaw;gsm','allow','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22ulaw\x22,\x20\x22alaw\x22,\x20\x22gsm\x22]','insecure','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22port\x22,\x20\x22invite\x22]','never','always','accept','uac','uas','fingerprint','certificate','active','passive','actpass','update,nonat','showWebBar','get','isArray','udp','wss','encryption','avpf','dtlsenable','dtlsverify','dtlssetup','dtlscertfile','dtlsprivatekey','rtcp_mux','force_avp','icesupport','/etc/pki/tls/certs/motion.crt','/etc/pki/tls/private/motion.key','TEXT','permissions','map','sequelize','moment','util','lodash','exports','STRING','name','defaultuser','The\x20name\x20of\x20the\x20user','fullname','setDataValue','callerid','format','getDataValue','internal','email','toLowerCase','ENUM','admin','user','agent','local','INTEGER','\x22%s\x22\x20<%s>','BOOLEAN','DATE','dynamic','friend','peer'];(function(_0x19d980,_0x5490a8){var _0x4f0713=function(_0x27042a){while(--_0x27042a){_0x19d980['push'](_0x19d980['shift']());}};_0x4f0713(++_0x5490a8);}(_0xf7d6,0x93));var _0x6f7d=function(_0x465028,_0x4570ac){_0x465028=_0x465028-0x0;var _0xb783d4=_0xf7d6[_0x465028];return _0xb783d4;};'use strict';var Sequelize=require(_0x6f7d('0x0'));var moment=require(_0x6f7d('0x1'));var util=require(_0x6f7d('0x2'));var _=require(_0x6f7d('0x3'));module[_0x6f7d('0x4')]={'name':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':![],'unique':_0x6f7d('0x6'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i},'set':function(_0x25a3d1){this['setDataValue'](_0x6f7d('0x6'),_0x25a3d1);this['setDataValue'](_0x6f7d('0x7'),_0x25a3d1);},'comment':_0x6f7d('0x8')},'fullname':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':![],'set':function(_0x4b94c4){this['setDataValue'](_0x6f7d('0x9'),_0x4b94c4);this[_0x6f7d('0xa')](_0x6f7d('0xb'),util[_0x6f7d('0xc')]('\x22%s\x22\x20<%s>',_0x4b94c4,this[_0x6f7d('0xd')](_0x6f7d('0xe'))));}},'alias':{'type':Sequelize[_0x6f7d('0x5')]},'email':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':![],'unique':_0x6f7d('0xf'),'validate':{'isEmail':!![]},'set':function(_0x9c026c){if(_0x9c026c){this[_0x6f7d('0xa')](_0x6f7d('0xf'),_0x9c026c[_0x6f7d('0x10')]());}}},'role':{'type':Sequelize[_0x6f7d('0x11')](_0x6f7d('0x12'),_0x6f7d('0x13'),_0x6f7d('0x14'),'telephone'),'allowNull':![]},'password':{'type':Sequelize['STRING'],'allowNull':![],'validate':{'notEmpty':!![]}},'provider':{'type':Sequelize[_0x6f7d('0x5')],'defaultValue':_0x6f7d('0x15')},'internal':{'type':Sequelize[_0x6f7d('0x16')](0xb),'allowNull':![],'unique':_0x6f7d('0xe'),'set':function(_0x111868){this[_0x6f7d('0xa')](_0x6f7d('0xe'),_0x111868);this[_0x6f7d('0xa')]('accountcode',_0x111868);this[_0x6f7d('0xa')](_0x6f7d('0xb'),util[_0x6f7d('0xc')](_0x6f7d('0x17'),this[_0x6f7d('0xd')](_0x6f7d('0x9')),_0x111868));}},'salt':{'type':Sequelize[_0x6f7d('0x5')]},'phone':{'type':Sequelize[_0x6f7d('0x5')]},'mobile':{'type':Sequelize[_0x6f7d('0x5')]},'address':{'type':Sequelize[_0x6f7d('0x5')]},'zipcode':{'type':Sequelize[_0x6f7d('0x5')]},'userpic':{'type':Sequelize['STRING']},'city':{'type':Sequelize[_0x6f7d('0x5')]},'country':{'type':Sequelize[_0x6f7d('0x5')]},'online':{'type':Sequelize[_0x6f7d('0x18')],'defaultValue':![]},'lastLoginAt':{'type':Sequelize[_0x6f7d('0x19')]},'voicePause':{'type':Sequelize[_0x6f7d('0x18')],'defaultValue':![]},'chatPause':{'type':Sequelize[_0x6f7d('0x18')],'defaultValue':![]},'mailPause':{'type':Sequelize[_0x6f7d('0x18')],'defaultValue':![]},'faxPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'smsPause':{'type':Sequelize[_0x6f7d('0x18')],'defaultValue':![]},'openchannelPause':{'type':Sequelize[_0x6f7d('0x18')],'defaultValue':![]},'pauseType':{'type':Sequelize['STRING'],'defaultValue':'DEFAULT\x20PAUSE'},'lastPauseAt':{'type':Sequelize[_0x6f7d('0x19')]},'chatCapacity':{'type':Sequelize[_0x6f7d('0x16')],'defaultValue':0x0},'mailCapacity':{'type':Sequelize[_0x6f7d('0x16')],'defaultValue':0x0},'faxCapacity':{'type':Sequelize[_0x6f7d('0x16')],'defaultValue':0x0},'smsCapacity':{'type':Sequelize[_0x6f7d('0x16')],'defaultValue':0x0},'openchannelCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'phoneBarAutoAnswer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarEnableSettings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'phoneBarListenPort':{'type':Sequelize[_0x6f7d('0x16')](0x5),'defaultValue':0x13c4},'phoneBarExpires':{'type':Sequelize[_0x6f7d('0x16')](0x5),'defaultValue':0x78},'phoneBarRemoteControl':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarRemoteControlPort':{'type':Sequelize[_0x6f7d('0x16')],'defaultValue':0x26a0},'phoneBarEnableRecording':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarRingInUse':{'type':Sequelize[_0x6f7d('0x18')],'defaultValue':![]},'chanspy':{'type':Sequelize[_0x6f7d('0x18')],'defaultValue':![]},'description':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':!![]},'host':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':!![],'defaultValue':_0x6f7d('0x1a')},'ipaddr':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':!![]},'port':{'type':Sequelize['INTEGER'](0x5),'allowNull':!![]},'regseconds':{'type':Sequelize[_0x6f7d('0x16')](0xb),'allowNull':!![]},'fullcontact':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':!![]},'regserver':{'type':Sequelize['STRING'],'allowNull':!![]},'useragent':{'type':Sequelize['STRING'],'allowNull':!![]},'lastms':{'type':Sequelize[_0x6f7d('0x16')](0xb),'allowNull':!![]},'type':{'type':Sequelize['ENUM'](_0x6f7d('0x1b'),'user',_0x6f7d('0x1c')),'allowNull':!![],'defaultValue':_0x6f7d('0x1b')},'context':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':!![],'defaultValue':_0x6f7d('0x1d')},'callingpres':{'type':Sequelize[_0x6f7d('0x11')]('ALLOWED_NOT_SCREENED',_0x6f7d('0x1e'),_0x6f7d('0x1f'),_0x6f7d('0x20'),_0x6f7d('0x21'),_0x6f7d('0x22'),_0x6f7d('0x23'),_0x6f7d('0x24')),'allowNull':!![]},'deny':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':!![]},'permit':{'type':Sequelize['STRING'],'allowNull':!![]},'secret':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':!![]},'md5secret':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':!![]},'remotesecret':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':!![]},'transport':{'type':Sequelize['STRING'],'allowNull':!![],'defaultValue':'udp','set':function(_0xe6849e){this[_0x6f7d('0xa')]('transport',_0xe6849e?_0xe6849e[_0x6f7d('0x25')](','):null);},'get':function(){return this[_0x6f7d('0xd')](_0x6f7d('0x26'))?this[_0x6f7d('0xd')](_0x6f7d('0x26'))[_0x6f7d('0x27')](','):null;},'comment':_0x6f7d('0x28')},'dtmfmode':{'type':Sequelize[_0x6f7d('0x11')](_0x6f7d('0x29'),_0x6f7d('0x2a'),_0x6f7d('0x2b'),'inband','auto'),'allowNull':!![],'defaultValue':'rfc2833'},'directmedia':{'type':Sequelize[_0x6f7d('0x11')](_0x6f7d('0x2c'),'no',_0x6f7d('0x2d'),_0x6f7d('0x2e'),_0x6f7d('0x2f')),'allowNull':!![],'defaultValue':'no'},'directrtpsetup':{'type':Sequelize[_0x6f7d('0x11')](_0x6f7d('0x2c'),'no'),'allowNull':!![],'defaultValue':'no'},'directmediapermit':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':!![]},'directmediadeny':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':!![]},'nat':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':!![],'defaultValue':_0x6f7d('0x30'),'set':function(_0x2cf366){this['setDataValue'](_0x6f7d('0x31'),_0x2cf366?_0x2cf366[_0x6f7d('0x25')](','):null);},'get':function(){return this['getDataValue'](_0x6f7d('0x31'))?this['getDataValue'](_0x6f7d('0x31'))[_0x6f7d('0x27')](','):null;},'comment':_0x6f7d('0x32')},'callgroup':{'type':Sequelize[_0x6f7d('0x5')]},'namedcallgroup':{'type':Sequelize[_0x6f7d('0x5')]},'pickupgroup':{'type':Sequelize['STRING']},'namedpickupgroup':{'type':Sequelize[_0x6f7d('0x5')]},'language':{'type':Sequelize[_0x6f7d('0x5')],'defaultValue':'en'},'tonezone':{'type':Sequelize[_0x6f7d('0x5')]},'disallow':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':![],'defaultValue':_0x6f7d('0x33')},'allow':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':![],'defaultValue':_0x6f7d('0x34'),'set':function(_0x3d03a8){this[_0x6f7d('0xa')](_0x6f7d('0x35'),_0x3d03a8?_0x3d03a8[_0x6f7d('0x25')](';'):'ulaw;alaw;gsm');},'get':function(){return this[_0x6f7d('0xd')](_0x6f7d('0x35'))?this[_0x6f7d('0xd')]('allow')[_0x6f7d('0x27')](';'):null;},'comment':_0x6f7d('0x36')},'autoframing':{'type':Sequelize['ENUM'](_0x6f7d('0x2c'),'no'),'allowNull':!![]},'insecure':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':!![],'set':function(_0x5bd3a2){this['setDataValue'](_0x6f7d('0x37'),_0x5bd3a2?_0x5bd3a2[_0x6f7d('0x25')](','):null);},'get':function(){return this['getDataValue'](_0x6f7d('0x37'))?this[_0x6f7d('0xd')]('insecure')[_0x6f7d('0x27')](','):null;},'comment':_0x6f7d('0x38')},'trustrpid':{'type':Sequelize[_0x6f7d('0x11')](_0x6f7d('0x2c'),'no'),'allowNull':!![],'defaultValue':'no'},'trust_id_outbound':{'type':Sequelize[_0x6f7d('0x11')](_0x6f7d('0x2c'),'no'),'allowNull':!![],'defaultValue':'no'},'progressinband':{'type':Sequelize[_0x6f7d('0x11')](_0x6f7d('0x2c'),'no',_0x6f7d('0x39')),'allowNull':!![]},'promiscredir':{'type':Sequelize['ENUM'](_0x6f7d('0x2c'),'no'),'allowNull':!![]},'useclientcode':{'type':Sequelize[_0x6f7d('0x11')](_0x6f7d('0x2c'),'no'),'allowNull':!![]},'accountcode':{'type':Sequelize[_0x6f7d('0x16')](0xb),'allowNull':!![]},'setvar':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':!![]},'callerid':{'type':Sequelize['STRING'],'allowNull':!![],'defaultValue':'\x22\x22\x20<>'},'amaflags':{'type':Sequelize['STRING'],'allowNull':!![]},'callcounter':{'type':Sequelize[_0x6f7d('0x11')](_0x6f7d('0x2c'),'no'),'allowNull':!![],'defaultValue':_0x6f7d('0x2c')},'busylevel':{'type':Sequelize[_0x6f7d('0x16')](0xb),'allowNull':!![]},'allowoverlap':{'type':Sequelize[_0x6f7d('0x11')](_0x6f7d('0x2c'),'no'),'allowNull':!![]},'allowsubscribe':{'type':Sequelize[_0x6f7d('0x11')](_0x6f7d('0x2c'),'no'),'allowNull':!![]},'allowtransfer':{'type':Sequelize[_0x6f7d('0x11')]('yes','no'),'allowNull':!![]},'ignoresdpversion':{'type':Sequelize['ENUM'](_0x6f7d('0x2c'),'no'),'allowNull':!![]},'subscribecontext':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':!![]},'template':{'type':Sequelize['STRING'],'allowNull':!![]},'videosupport':{'type':Sequelize['ENUM'](_0x6f7d('0x2c'),'no',_0x6f7d('0x3a')),'allowNull':!![],'defaultValue':'no'},'maxcallbitrate':{'type':Sequelize[_0x6f7d('0x16')](0xb),'allowNull':!![]},'rfc2833compensate':{'type':Sequelize['ENUM'](_0x6f7d('0x2c'),'no'),'allowNull':!![]},'mailbox':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':!![]},'session_timers':{'type':Sequelize[_0x6f7d('0x11')](_0x6f7d('0x3b'),'refuse','originate'),'allowNull':!![]},'session_expires':{'type':Sequelize[_0x6f7d('0x16')](0xb),'allowNull':!![]},'session_minse':{'type':Sequelize[_0x6f7d('0x16')](0xb),'allowNull':!![]},'session_refresher':{'type':Sequelize[_0x6f7d('0x11')](_0x6f7d('0x3c'),_0x6f7d('0x3d')),'allowNull':!![],'defaultValue':_0x6f7d('0x3d')},'t38pt_usertpsource':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':!![]},'regexten':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':!![]},'fromdomain':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':!![]},'fromuser':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':!![]},'qualify':{'type':Sequelize[_0x6f7d('0x11')]('yes','no'),'allowNull':!![],'defaultValue':_0x6f7d('0x2c')},'keepalive':{'type':Sequelize[_0x6f7d('0x16')](0xb),'allowNull':!![]},'defaultip':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':!![]},'defaultuser':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':!![]},'rtptimeout':{'type':Sequelize[_0x6f7d('0x16')](0xb),'allowNull':!![]},'rtpholdtimeout':{'type':Sequelize[_0x6f7d('0x16')](0xb),'allowNull':!![]},'rtpkeepalive':{'type':Sequelize[_0x6f7d('0x16')](0xb),'allowNull':!![]},'sendrpid':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![],'defaultValue':'no'},'outboundproxy':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':!![]},'callbackextension':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':!![]},'timert1':{'type':Sequelize[_0x6f7d('0x16')](0xb),'allowNull':!![]},'timerb':{'type':Sequelize[_0x6f7d('0x16')](0xb),'allowNull':!![]},'qualifyfreq':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'contactpermit':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':!![]},'contactdeny':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':!![]},'contactacl':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':!![]},'unsolicited_mailbox':{'type':Sequelize['STRING'],'allowNull':!![]},'use_q850_reason':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':!![]},'maxforwards':{'type':Sequelize[_0x6f7d('0x16')](0xb),'allowNull':!![]},'encryption':{'type':Sequelize[_0x6f7d('0x11')](_0x6f7d('0x2c'),'no'),'allowNull':!![],'defaultValue':'no'},'avpf':{'type':Sequelize[_0x6f7d('0x11')](_0x6f7d('0x2c'),'no'),'allowNull':!![]},'force_avp':{'type':Sequelize[_0x6f7d('0x11')](_0x6f7d('0x2c'),'no'),'allowNull':!![]},'icesupport':{'type':Sequelize[_0x6f7d('0x11')](_0x6f7d('0x2c'),'no'),'allowNull':!![]},'dtlsenable':{'type':Sequelize[_0x6f7d('0x11')]('yes','no'),'allowNull':!![]},'dtlsverify':{'type':Sequelize['ENUM'](_0x6f7d('0x2c'),'no',_0x6f7d('0x3e'),_0x6f7d('0x3f')),'allowNull':!![]},'dtlsrekey':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'dtlscertfile':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':!![]},'dtlsprivatekey':{'type':Sequelize['STRING'],'allowNull':!![]},'dtlscipher':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':!![]},'dtlscafile':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':!![]},'dtlscapath':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':!![]},'dtlssetup':{'type':Sequelize['ENUM'](_0x6f7d('0x40'),_0x6f7d('0x41'),_0x6f7d('0x42')),'allowNull':!![]},'dtlsfingerprint':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':!![]},'usereqphone':{'type':Sequelize[_0x6f7d('0x11')](_0x6f7d('0x2c'),'no'),'allowNull':!![],'defaultValue':'no'},'recordonfeature':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':!![]},'recordofffeature':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':!![]},'call_limit':{'type':Sequelize[_0x6f7d('0x16')](0xb),'allowNull':!![],'defaultValue':0xa},'registertrying':{'type':Sequelize[_0x6f7d('0x11')](_0x6f7d('0x2c'),'no'),'allowNull':!![]},'subscribemwi':{'type':Sequelize[_0x6f7d('0x11')](_0x6f7d('0x2c'),'no'),'allowNull':!![]},'vmexten':{'type':Sequelize['STRING'],'allowNull':!![]},'mohinterpret':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':!![]},'mohsuggest':{'type':Sequelize[_0x6f7d('0x5')],'allowNull':!![]},'parkinglot':{'type':Sequelize['STRING'],'allowNull':!![]},'canreinvite':{'type':Sequelize['ENUM']('yes','no','nonat','update',_0x6f7d('0x43')),'allowNull':!![],'defaultValue':'no'},'loginInPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'resetPasswordToken':{'type':Sequelize[_0x6f7d('0x5')]},'resetPasswordExpires':{'type':Sequelize['DATE']},'showWebBar':{'type':Sequelize[_0x6f7d('0x16')],'defaultValue':0x0,'set':function(_0x39db62){this[_0x6f7d('0xa')](_0x6f7d('0x44'),_0x39db62);var _0x2bd577=this[_0x6f7d('0x45')]({'plain':!![]});switch(_0x39db62){case 0x0:case 0x1:var _0xbe52dc=_0x2bd577[_0x6f7d('0x26')]?_[_0x6f7d('0x46')](_0x2bd577[_0x6f7d('0x26')])?_0x2bd577['transport'][_0x6f7d('0x25')]():_0x2bd577[_0x6f7d('0x26')]:_0x6f7d('0x47');if(_0xbe52dc===_0x6f7d('0x48')){_0xbe52dc=_0x6f7d('0x47');}this[_0x6f7d('0xa')](_0x6f7d('0x26'),_0xbe52dc);this[_0x6f7d('0xa')](_0x6f7d('0x49'),'no');this[_0x6f7d('0xa')](_0x6f7d('0x4a'),null);this[_0x6f7d('0xa')]('force_avp',null);this[_0x6f7d('0xa')]('icesupport',null);this[_0x6f7d('0xa')](_0x6f7d('0x4b'),null);this[_0x6f7d('0xa')](_0x6f7d('0x4c'),null);this[_0x6f7d('0xa')](_0x6f7d('0x4d'),null);this[_0x6f7d('0xa')](_0x6f7d('0x4e'),null);this['setDataValue'](_0x6f7d('0x4f'),null);this[_0x6f7d('0xa')](_0x6f7d('0x50'),'no');break;case 0x2:this[_0x6f7d('0xa')](_0x6f7d('0x26'),_0x6f7d('0x48'));this[_0x6f7d('0xa')]('encryption',_0x6f7d('0x2c'));this[_0x6f7d('0xa')](_0x6f7d('0x4a'),_0x6f7d('0x2c'));this[_0x6f7d('0xa')](_0x6f7d('0x51'),'yes');this[_0x6f7d('0xa')](_0x6f7d('0x52'),_0x6f7d('0x2c'));this[_0x6f7d('0xa')]('dtlsenable',_0x6f7d('0x2c'));this['setDataValue'](_0x6f7d('0x4c'),'no');this['setDataValue'](_0x6f7d('0x4d'),_0x6f7d('0x42'));this['setDataValue'](_0x6f7d('0x4e'),_0x2bd577['dtlscertfile']||_0x6f7d('0x53'));this[_0x6f7d('0xa')](_0x6f7d('0x4f'),_0x2bd577['dtlsprivatekey']||_0x6f7d('0x54'));this[_0x6f7d('0xa')](_0x6f7d('0x50'),_0x6f7d('0x2c'));break;default:}}},'permissions':{'type':Sequelize[_0x6f7d('0x55')],'set':function(_0x1d814e){this[_0x6f7d('0xa')](_0x6f7d('0x56'),_0x1d814e?_0x1d814e['join'](','):[]);},'get':function(){return this['getDataValue'](_0x6f7d('0x56'))?_[_0x6f7d('0x57')](this[_0x6f7d('0xd')](_0x6f7d('0x56'))['split'](','),function(_0x49f12f){return parseInt(_0x49f12f,0xa);}):[];}},'phoneBarUnconditionalNumber':{'type':Sequelize['STRING']},'phoneBarNoReplyNumber':{'type':Sequelize[_0x6f7d('0x5')]},'phoneBarBusyNumber':{'type':Sequelize[_0x6f7d('0x5')]},'phoneBarUnconditional':{'type':Sequelize[_0x6f7d('0x18')],'defaultValue':![]},'phoneBarNoReply':{'type':Sequelize[_0x6f7d('0x18')],'defaultValue':![]},'phoneBarBusy':{'type':Sequelize[_0x6f7d('0x18')],'defaultValue':![]},'phoneBarDnd':{'type':Sequelize[_0x6f7d('0x18')],'defaultValue':!![]},'phoneBarUnansweredCallBadge':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'phoneBarEnableDtmfTone':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarAutoAnswerDelay':{'type':Sequelize[_0x6f7d('0x16')],'defaultValue':0x0},'extensionMonitor':{'type':Sequelize[_0x6f7d('0x5')],'defaultValue':''},'crudPermissions':{'type':Sequelize[_0x6f7d('0x16')],'defaultValue':0x0},'rtcp_mux':{'type':Sequelize['ENUM'](_0x6f7d('0x2c'),'no'),'defaultValue':'no'},'allowmessenger':{'type':Sequelize[_0x6f7d('0x18')],'defaultValue':!![]},'phoneBarOutboundProxy':{'type':Sequelize[_0x6f7d('0x5')]},'passwordResetAt':{'type':Sequelize[_0x6f7d('0x19')],'defaultValue':null},'phoneBarEnableJaws':{'type':Sequelize[_0x6f7d('0x18')],'defaultValue':![]},'phoneBarEnableVideoRecording':{'type':Sequelize[_0x6f7d('0x18')],'defaultValue':![]},'phoneBarPrefixRequired':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};
\ No newline at end of file
+var _0xc3e4=['local','INTEGER','accountcode','format','BOOLEAN','DATE','DEFAULT\x20PAUSE','dynamic','friend','peer','from-sip','ALLOWED_FAILED_SCREEN','ALLOWED','PROHIB_PASSED_SCREEN','PROHIB_FAILED_SCREEN','PROHIB','udp','transport','split','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22udp\x22,\x20\x22tcp\x22]','rfc2833','info','shortinfo','inband','auto','nonat','outgoing','yes','force_rport,comedia','nat','join','ulaw;alaw;gsm','allow','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22ulaw\x22,\x20\x22alaw\x22,\x20\x22gsm\x22]','insecure','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22port\x22,\x20\x22invite\x22]','never','\x22\x22\x20<>','always','accept','originate','uac','uas','fingerprint','passive','actpass','get','encryption','avpf','icesupport','dtlsverify','dtlssetup','dtlscertfile','dtlsprivatekey','wss','force_avp','/etc/pki/tls/private/motion.key','rtcp_mux','TEXT','permissions','map','moment','util','lodash','exports','STRING','name','setDataValue','The\x20name\x20of\x20the\x20user','fullname','callerid','\x22%s\x22\x20<%s>','getDataValue','internal','email','toLowerCase','ENUM','admin','user','telephone'];(function(_0x4d92dd,_0x4cfbd6){var _0x3a67c9=function(_0x3b84db){while(--_0x3b84db){_0x4d92dd['push'](_0x4d92dd['shift']());}};_0x3a67c9(++_0x4cfbd6);}(_0xc3e4,0x12d));var _0x4c3e=function(_0x2d0ad4,_0x2c5ffe){_0x2d0ad4=_0x2d0ad4-0x0;var _0xce13e=_0xc3e4[_0x2d0ad4];return _0xce13e;};'use strict';var Sequelize=require('sequelize');var moment=require(_0x4c3e('0x0'));var util=require(_0x4c3e('0x1'));var _=require(_0x4c3e('0x2'));module[_0x4c3e('0x3')]={'name':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':![],'unique':_0x4c3e('0x5'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i},'set':function(_0x2a2f34){this[_0x4c3e('0x6')](_0x4c3e('0x5'),_0x2a2f34);this[_0x4c3e('0x6')]('defaultuser',_0x2a2f34);},'comment':_0x4c3e('0x7')},'fullname':{'type':Sequelize['STRING'],'allowNull':![],'set':function(_0x538326){this[_0x4c3e('0x6')](_0x4c3e('0x8'),_0x538326);this['setDataValue'](_0x4c3e('0x9'),util['format'](_0x4c3e('0xa'),_0x538326,this[_0x4c3e('0xb')](_0x4c3e('0xc'))));}},'alias':{'type':Sequelize['STRING']},'email':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':![],'unique':_0x4c3e('0xd'),'validate':{'isEmail':!![]},'set':function(_0x59c1a3){if(_0x59c1a3){this[_0x4c3e('0x6')]('email',_0x59c1a3[_0x4c3e('0xe')]());}}},'role':{'type':Sequelize[_0x4c3e('0xf')](_0x4c3e('0x10'),_0x4c3e('0x11'),'agent',_0x4c3e('0x12')),'allowNull':![]},'password':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':![],'validate':{'notEmpty':!![]}},'provider':{'type':Sequelize['STRING'],'defaultValue':_0x4c3e('0x13')},'internal':{'type':Sequelize[_0x4c3e('0x14')](0xb),'allowNull':![],'unique':_0x4c3e('0xc'),'set':function(_0x14ce94){this[_0x4c3e('0x6')]('internal',_0x14ce94);this[_0x4c3e('0x6')](_0x4c3e('0x15'),_0x14ce94);this[_0x4c3e('0x6')](_0x4c3e('0x9'),util[_0x4c3e('0x16')](_0x4c3e('0xa'),this['getDataValue'](_0x4c3e('0x8')),_0x14ce94));}},'salt':{'type':Sequelize['STRING']},'phone':{'type':Sequelize[_0x4c3e('0x4')]},'mobile':{'type':Sequelize[_0x4c3e('0x4')]},'address':{'type':Sequelize['STRING']},'zipcode':{'type':Sequelize[_0x4c3e('0x4')]},'userpic':{'type':Sequelize['STRING']},'city':{'type':Sequelize[_0x4c3e('0x4')]},'country':{'type':Sequelize[_0x4c3e('0x4')]},'online':{'type':Sequelize[_0x4c3e('0x17')],'defaultValue':![]},'lastLoginAt':{'type':Sequelize[_0x4c3e('0x18')]},'voicePause':{'type':Sequelize[_0x4c3e('0x17')],'defaultValue':![]},'chatPause':{'type':Sequelize[_0x4c3e('0x17')],'defaultValue':![]},'mailPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'faxPause':{'type':Sequelize[_0x4c3e('0x17')],'defaultValue':![]},'smsPause':{'type':Sequelize[_0x4c3e('0x17')],'defaultValue':![]},'openchannelPause':{'type':Sequelize[_0x4c3e('0x17')],'defaultValue':![]},'pauseType':{'type':Sequelize[_0x4c3e('0x4')],'defaultValue':_0x4c3e('0x19')},'lastPauseAt':{'type':Sequelize[_0x4c3e('0x18')]},'chatCapacity':{'type':Sequelize[_0x4c3e('0x14')],'defaultValue':0x0},'mailCapacity':{'type':Sequelize[_0x4c3e('0x14')],'defaultValue':0x0},'faxCapacity':{'type':Sequelize[_0x4c3e('0x14')],'defaultValue':0x0},'smsCapacity':{'type':Sequelize[_0x4c3e('0x14')],'defaultValue':0x0},'openchannelCapacity':{'type':Sequelize[_0x4c3e('0x14')],'defaultValue':0x0},'phoneBarAutoAnswer':{'type':Sequelize[_0x4c3e('0x17')],'defaultValue':![]},'phoneBarEnableSettings':{'type':Sequelize[_0x4c3e('0x17')],'defaultValue':!![]},'phoneBarListenPort':{'type':Sequelize[_0x4c3e('0x14')](0x5),'defaultValue':0x13c4},'phoneBarExpires':{'type':Sequelize[_0x4c3e('0x14')](0x5),'defaultValue':0x78},'phoneBarRemoteControl':{'type':Sequelize[_0x4c3e('0x17')],'defaultValue':![]},'phoneBarRemoteControlPort':{'type':Sequelize['INTEGER'],'defaultValue':0x26a0},'phoneBarEnableRecording':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarRingInUse':{'type':Sequelize[_0x4c3e('0x17')],'defaultValue':![]},'chanspy':{'type':Sequelize[_0x4c3e('0x17')],'defaultValue':![]},'description':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':!![]},'host':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':!![],'defaultValue':_0x4c3e('0x1a')},'ipaddr':{'type':Sequelize['STRING'],'allowNull':!![]},'port':{'type':Sequelize[_0x4c3e('0x14')](0x5),'allowNull':!![]},'regseconds':{'type':Sequelize[_0x4c3e('0x14')](0xb),'allowNull':!![]},'fullcontact':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':!![]},'regserver':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':!![]},'useragent':{'type':Sequelize['STRING'],'allowNull':!![]},'lastms':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'type':{'type':Sequelize[_0x4c3e('0xf')](_0x4c3e('0x1b'),_0x4c3e('0x11'),_0x4c3e('0x1c')),'allowNull':!![],'defaultValue':_0x4c3e('0x1b')},'context':{'type':Sequelize['STRING'],'allowNull':!![],'defaultValue':_0x4c3e('0x1d')},'callingpres':{'type':Sequelize[_0x4c3e('0xf')]('ALLOWED_NOT_SCREENED','ALLOWED_PASSED_SCREEN',_0x4c3e('0x1e'),_0x4c3e('0x1f'),'PROHIB_NOT_SCREENED',_0x4c3e('0x20'),_0x4c3e('0x21'),_0x4c3e('0x22')),'allowNull':!![]},'deny':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':!![]},'permit':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':!![]},'secret':{'type':Sequelize['STRING'],'allowNull':!![]},'md5secret':{'type':Sequelize['STRING'],'allowNull':!![]},'remotesecret':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':!![]},'transport':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':!![],'defaultValue':_0x4c3e('0x23'),'set':function(_0x1610b6){this[_0x4c3e('0x6')](_0x4c3e('0x24'),_0x1610b6?_0x1610b6['join'](','):null);},'get':function(){return this[_0x4c3e('0xb')]('transport')?this[_0x4c3e('0xb')](_0x4c3e('0x24'))[_0x4c3e('0x25')](','):null;},'comment':_0x4c3e('0x26')},'dtmfmode':{'type':Sequelize['ENUM'](_0x4c3e('0x27'),_0x4c3e('0x28'),_0x4c3e('0x29'),_0x4c3e('0x2a'),_0x4c3e('0x2b')),'allowNull':!![],'defaultValue':_0x4c3e('0x27')},'directmedia':{'type':Sequelize[_0x4c3e('0xf')]('yes','no',_0x4c3e('0x2c'),'update',_0x4c3e('0x2d')),'allowNull':!![],'defaultValue':'no'},'directrtpsetup':{'type':Sequelize[_0x4c3e('0xf')](_0x4c3e('0x2e'),'no'),'allowNull':!![],'defaultValue':'no'},'directmediapermit':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':!![]},'directmediadeny':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':!![]},'nat':{'type':Sequelize['STRING'],'allowNull':!![],'defaultValue':_0x4c3e('0x2f'),'set':function(_0x5800aa){this[_0x4c3e('0x6')](_0x4c3e('0x30'),_0x5800aa?_0x5800aa[_0x4c3e('0x31')](','):null);},'get':function(){return this[_0x4c3e('0xb')](_0x4c3e('0x30'))?this[_0x4c3e('0xb')](_0x4c3e('0x30'))[_0x4c3e('0x25')](','):null;},'comment':'String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22force_rport\x22,\x20\x22comedia\x22]'},'callgroup':{'type':Sequelize[_0x4c3e('0x4')]},'namedcallgroup':{'type':Sequelize[_0x4c3e('0x4')]},'pickupgroup':{'type':Sequelize[_0x4c3e('0x4')]},'namedpickupgroup':{'type':Sequelize[_0x4c3e('0x4')]},'language':{'type':Sequelize[_0x4c3e('0x4')],'defaultValue':'en'},'tonezone':{'type':Sequelize[_0x4c3e('0x4')]},'disallow':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':![],'defaultValue':'all'},'allow':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0x4c3e('0x32'),'set':function(_0x57a140){this[_0x4c3e('0x6')]('allow',_0x57a140?_0x57a140[_0x4c3e('0x31')](';'):'ulaw;alaw;gsm');},'get':function(){return this[_0x4c3e('0xb')](_0x4c3e('0x33'))?this[_0x4c3e('0xb')](_0x4c3e('0x33'))['split'](';'):null;},'comment':_0x4c3e('0x34')},'autoframing':{'type':Sequelize['ENUM'](_0x4c3e('0x2e'),'no'),'allowNull':!![]},'insecure':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':!![],'set':function(_0x485261){this['setDataValue'](_0x4c3e('0x35'),_0x485261?_0x485261['join'](','):null);},'get':function(){return this[_0x4c3e('0xb')](_0x4c3e('0x35'))?this[_0x4c3e('0xb')]('insecure')[_0x4c3e('0x25')](','):null;},'comment':_0x4c3e('0x36')},'trustrpid':{'type':Sequelize[_0x4c3e('0xf')](_0x4c3e('0x2e'),'no'),'allowNull':!![],'defaultValue':'no'},'trust_id_outbound':{'type':Sequelize[_0x4c3e('0xf')](_0x4c3e('0x2e'),'no'),'allowNull':!![],'defaultValue':'no'},'progressinband':{'type':Sequelize[_0x4c3e('0xf')](_0x4c3e('0x2e'),'no',_0x4c3e('0x37')),'allowNull':!![]},'promiscredir':{'type':Sequelize[_0x4c3e('0xf')](_0x4c3e('0x2e'),'no'),'allowNull':!![]},'useclientcode':{'type':Sequelize[_0x4c3e('0xf')]('yes','no'),'allowNull':!![]},'accountcode':{'type':Sequelize[_0x4c3e('0x14')](0xb),'allowNull':!![]},'setvar':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':!![]},'callerid':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':!![],'defaultValue':_0x4c3e('0x38')},'amaflags':{'type':Sequelize['STRING'],'allowNull':!![]},'callcounter':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![],'defaultValue':'yes'},'busylevel':{'type':Sequelize[_0x4c3e('0x14')](0xb),'allowNull':!![]},'allowoverlap':{'type':Sequelize[_0x4c3e('0xf')](_0x4c3e('0x2e'),'no'),'allowNull':!![]},'allowsubscribe':{'type':Sequelize[_0x4c3e('0xf')](_0x4c3e('0x2e'),'no'),'allowNull':!![]},'allowtransfer':{'type':Sequelize[_0x4c3e('0xf')](_0x4c3e('0x2e'),'no'),'allowNull':!![]},'ignoresdpversion':{'type':Sequelize[_0x4c3e('0xf')](_0x4c3e('0x2e'),'no'),'allowNull':!![]},'subscribecontext':{'type':Sequelize['STRING'],'allowNull':!![]},'template':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':!![]},'videosupport':{'type':Sequelize[_0x4c3e('0xf')](_0x4c3e('0x2e'),'no',_0x4c3e('0x39')),'allowNull':!![],'defaultValue':'no'},'maxcallbitrate':{'type':Sequelize[_0x4c3e('0x14')](0xb),'allowNull':!![]},'rfc2833compensate':{'type':Sequelize['ENUM'](_0x4c3e('0x2e'),'no'),'allowNull':!![]},'mailbox':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':!![]},'session_timers':{'type':Sequelize['ENUM'](_0x4c3e('0x3a'),'refuse',_0x4c3e('0x3b')),'allowNull':!![]},'session_expires':{'type':Sequelize[_0x4c3e('0x14')](0xb),'allowNull':!![]},'session_minse':{'type':Sequelize[_0x4c3e('0x14')](0xb),'allowNull':!![]},'session_refresher':{'type':Sequelize['ENUM'](_0x4c3e('0x3c'),_0x4c3e('0x3d')),'allowNull':!![],'defaultValue':_0x4c3e('0x3d')},'t38pt_usertpsource':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':!![]},'regexten':{'type':Sequelize['STRING'],'allowNull':!![]},'fromdomain':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':!![]},'fromuser':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':!![]},'qualify':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![],'defaultValue':_0x4c3e('0x2e')},'keepalive':{'type':Sequelize[_0x4c3e('0x14')](0xb),'allowNull':!![]},'defaultip':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':!![]},'defaultuser':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':!![]},'rtptimeout':{'type':Sequelize[_0x4c3e('0x14')](0xb),'allowNull':!![]},'rtpholdtimeout':{'type':Sequelize[_0x4c3e('0x14')](0xb),'allowNull':!![]},'rtpkeepalive':{'type':Sequelize[_0x4c3e('0x14')](0xb),'allowNull':!![]},'sendrpid':{'type':Sequelize[_0x4c3e('0xf')](_0x4c3e('0x2e'),'no'),'allowNull':!![],'defaultValue':'no'},'outboundproxy':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':!![]},'callbackextension':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':!![]},'timert1':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'timerb':{'type':Sequelize[_0x4c3e('0x14')](0xb),'allowNull':!![]},'qualifyfreq':{'type':Sequelize[_0x4c3e('0x14')](0xb),'allowNull':!![]},'contactpermit':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':!![]},'contactdeny':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':!![]},'contactacl':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':!![]},'unsolicited_mailbox':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':!![]},'use_q850_reason':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':!![]},'maxforwards':{'type':Sequelize[_0x4c3e('0x14')](0xb),'allowNull':!![]},'encryption':{'type':Sequelize[_0x4c3e('0xf')](_0x4c3e('0x2e'),'no'),'allowNull':!![],'defaultValue':'no'},'avpf':{'type':Sequelize[_0x4c3e('0xf')]('yes','no'),'allowNull':!![]},'force_avp':{'type':Sequelize['ENUM'](_0x4c3e('0x2e'),'no'),'allowNull':!![]},'icesupport':{'type':Sequelize[_0x4c3e('0xf')](_0x4c3e('0x2e'),'no'),'allowNull':!![]},'dtlsenable':{'type':Sequelize[_0x4c3e('0xf')](_0x4c3e('0x2e'),'no'),'allowNull':!![]},'dtlsverify':{'type':Sequelize['ENUM'](_0x4c3e('0x2e'),'no',_0x4c3e('0x3e'),'certificate'),'allowNull':!![]},'dtlsrekey':{'type':Sequelize[_0x4c3e('0x14')](0xb),'allowNull':!![]},'dtlscertfile':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':!![]},'dtlsprivatekey':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':!![]},'dtlscipher':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':!![]},'dtlscafile':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':!![]},'dtlscapath':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':!![]},'dtlssetup':{'type':Sequelize[_0x4c3e('0xf')]('active',_0x4c3e('0x3f'),_0x4c3e('0x40')),'allowNull':!![]},'dtlsfingerprint':{'type':Sequelize['STRING'],'allowNull':!![]},'usereqphone':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![],'defaultValue':'no'},'recordonfeature':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':!![]},'recordofffeature':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':!![]},'call_limit':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![],'defaultValue':0xa},'registertrying':{'type':Sequelize[_0x4c3e('0xf')](_0x4c3e('0x2e'),'no'),'allowNull':!![]},'subscribemwi':{'type':Sequelize[_0x4c3e('0xf')]('yes','no'),'allowNull':!![]},'vmexten':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':!![]},'mohinterpret':{'type':Sequelize['STRING'],'allowNull':!![]},'mohsuggest':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':!![]},'parkinglot':{'type':Sequelize[_0x4c3e('0x4')],'allowNull':!![]},'canreinvite':{'type':Sequelize[_0x4c3e('0xf')](_0x4c3e('0x2e'),'no',_0x4c3e('0x2c'),'update','update,nonat'),'allowNull':!![],'defaultValue':'no'},'loginInPause':{'type':Sequelize[_0x4c3e('0x17')],'defaultValue':![]},'resetPasswordToken':{'type':Sequelize[_0x4c3e('0x4')]},'resetPasswordExpires':{'type':Sequelize[_0x4c3e('0x18')]},'showWebBar':{'type':Sequelize[_0x4c3e('0x14')],'defaultValue':0x0,'set':function(_0x418d00){this[_0x4c3e('0x6')]('showWebBar',_0x418d00);var _0x5d9709=this[_0x4c3e('0x41')]({'plain':!![]});switch(_0x418d00){case 0x0:case 0x1:var _0x39eee1=_0x5d9709[_0x4c3e('0x24')]?_['isArray'](_0x5d9709[_0x4c3e('0x24')])?_0x5d9709[_0x4c3e('0x24')][_0x4c3e('0x31')]():_0x5d9709['transport']:_0x4c3e('0x23');if(_0x39eee1==='wss'){_0x39eee1=_0x4c3e('0x23');}this[_0x4c3e('0x6')]('transport',_0x39eee1);this[_0x4c3e('0x6')](_0x4c3e('0x42'),'no');this[_0x4c3e('0x6')](_0x4c3e('0x43'),null);this[_0x4c3e('0x6')]('force_avp',null);this[_0x4c3e('0x6')](_0x4c3e('0x44'),null);this[_0x4c3e('0x6')]('dtlsenable',null);this[_0x4c3e('0x6')](_0x4c3e('0x45'),null);this[_0x4c3e('0x6')](_0x4c3e('0x46'),null);this[_0x4c3e('0x6')](_0x4c3e('0x47'),null);this[_0x4c3e('0x6')](_0x4c3e('0x48'),null);this[_0x4c3e('0x6')]('rtcp_mux','no');break;case 0x2:this[_0x4c3e('0x6')](_0x4c3e('0x24'),_0x4c3e('0x49'));this['setDataValue']('encryption',_0x4c3e('0x2e'));this[_0x4c3e('0x6')]('avpf',_0x4c3e('0x2e'));this[_0x4c3e('0x6')](_0x4c3e('0x4a'),_0x4c3e('0x2e'));this['setDataValue'](_0x4c3e('0x44'),_0x4c3e('0x2e'));this['setDataValue']('dtlsenable','yes');this[_0x4c3e('0x6')](_0x4c3e('0x45'),'no');this[_0x4c3e('0x6')](_0x4c3e('0x46'),_0x4c3e('0x40'));this[_0x4c3e('0x6')]('dtlscertfile',_0x5d9709[_0x4c3e('0x47')]||'/etc/pki/tls/certs/motion.crt');this[_0x4c3e('0x6')](_0x4c3e('0x48'),_0x5d9709[_0x4c3e('0x48')]||_0x4c3e('0x4b'));this[_0x4c3e('0x6')](_0x4c3e('0x4c'),'yes');break;default:}}},'permissions':{'type':Sequelize[_0x4c3e('0x4d')],'set':function(_0x3202eb){this[_0x4c3e('0x6')](_0x4c3e('0x4e'),_0x3202eb?_0x3202eb[_0x4c3e('0x31')](','):[]);},'get':function(){return this[_0x4c3e('0xb')]('permissions')?_[_0x4c3e('0x4f')](this['getDataValue'](_0x4c3e('0x4e'))[_0x4c3e('0x25')](','),function(_0x155480){return parseInt(_0x155480,0xa);}):[];}},'phoneBarUnconditionalNumber':{'type':Sequelize[_0x4c3e('0x4')]},'phoneBarNoReplyNumber':{'type':Sequelize['STRING']},'phoneBarBusyNumber':{'type':Sequelize[_0x4c3e('0x4')]},'phoneBarUnconditional':{'type':Sequelize[_0x4c3e('0x17')],'defaultValue':![]},'phoneBarNoReply':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarBusy':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarDnd':{'type':Sequelize[_0x4c3e('0x17')],'defaultValue':!![]},'phoneBarUnansweredCallBadge':{'type':Sequelize[_0x4c3e('0x17')],'defaultValue':!![]},'phoneBarEnableDtmfTone':{'type':Sequelize[_0x4c3e('0x17')],'defaultValue':![]},'phoneBarAutoAnswerDelay':{'type':Sequelize[_0x4c3e('0x14')],'defaultValue':0x0},'extensionMonitor':{'type':Sequelize[_0x4c3e('0x4')],'defaultValue':''},'crudPermissions':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'rtcp_mux':{'type':Sequelize[_0x4c3e('0xf')]('yes','no'),'defaultValue':'no'},'allowmessenger':{'type':Sequelize[_0x4c3e('0x17')],'defaultValue':!![]},'phoneBarOutboundProxy':{'type':Sequelize[_0x4c3e('0x4')]},'passwordResetAt':{'type':Sequelize[_0x4c3e('0x18')],'defaultValue':null},'phoneBarEnableJaws':{'type':Sequelize[_0x4c3e('0x17')],'defaultValue':![]},'phoneBarEnableVideoRecording':{'type':Sequelize[_0x4c3e('0x17')],'defaultValue':![]},'phoneBarPrefixRequired':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'hotdesk':{'type':Sequelize[_0x4c3e('0x17')],'defaultValue':![]}};
\ No newline at end of file