Built motion from commit (unavailable).|2.3.1
[motion2.git] / server / api / user / user.attributes.js
index 02e123f..d17ea8d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x05d6=['auto','yes','nonat','update','outgoing','nat','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22force_rport\x22,\x20\x22comedia\x22]','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]','\x22\x22\x20<>','always','accept','refuse','originate','uac','uas','fingerprint','certificate','active','actpass','update,nonat','DATE','showWebBar','get','wss','avpf','force_avp','dtlsenable','icesupport','dtlscertfile','/etc/pki/tls/certs/motion.crt','dtlsprivatekey','/etc/pki/tls/private/motion.key','rtcp_mux','TEXT','permissions','map','moment','util','exports','STRING','setDataValue','name','defaultuser','fullname','callerid','\x22%s\x22\x20<%s>','getDataValue','internal','email','toLowerCase','admin','user','agent','local','INTEGER','accountcode','format','BOOLEAN','DEFAULT\x20PAUSE','dynamic','ENUM','friend','peer','from-sip','ALLOWED_NOT_SCREENED','ALLOWED_PASSED_SCREEN','ALLOWED','PROHIB_FAILED_SCREEN','PROHIB','udp','transport','join','split','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22udp\x22,\x20\x22tcp\x22]','rfc2833','shortinfo','inband'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x05d6,0x1bd));var _0x605d=function(_0x349e4e,_0x562f82){_0x349e4e=_0x349e4e-0x0;var _0x28aef4=_0x05d6[_0x349e4e];return _0x28aef4;};'use strict';var Sequelize=require('sequelize');var moment=require(_0x605d('0x0'));var util=require(_0x605d('0x1'));var _=require('lodash');module[_0x605d('0x2')]={'name':{'type':Sequelize[_0x605d('0x3')],'allowNull':![],'unique':'name','validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i},'set':function(_0x233277){this[_0x605d('0x4')](_0x605d('0x5'),_0x233277);this[_0x605d('0x4')](_0x605d('0x6'),_0x233277);},'comment':'The\x20name\x20of\x20the\x20user'},'fullname':{'type':Sequelize[_0x605d('0x3')],'allowNull':![],'set':function(_0x5d8e43){this[_0x605d('0x4')](_0x605d('0x7'),_0x5d8e43);this[_0x605d('0x4')](_0x605d('0x8'),util['format'](_0x605d('0x9'),_0x5d8e43,this[_0x605d('0xa')](_0x605d('0xb'))));}},'alias':{'type':Sequelize[_0x605d('0x3')]},'email':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x605d('0xc'),'validate':{'isEmail':!![]},'set':function(_0x47a0b5){if(_0x47a0b5){this[_0x605d('0x4')](_0x605d('0xc'),_0x47a0b5[_0x605d('0xd')]());}}},'role':{'type':Sequelize['ENUM'](_0x605d('0xe'),_0x605d('0xf'),_0x605d('0x10'),'telephone'),'allowNull':![]},'password':{'type':Sequelize[_0x605d('0x3')],'allowNull':![],'validate':{'notEmpty':!![]}},'provider':{'type':Sequelize[_0x605d('0x3')],'defaultValue':_0x605d('0x11')},'internal':{'type':Sequelize[_0x605d('0x12')](0xb),'allowNull':![],'unique':_0x605d('0xb'),'set':function(_0x25adf1){this[_0x605d('0x4')]('internal',_0x25adf1);this[_0x605d('0x4')](_0x605d('0x13'),_0x25adf1);this[_0x605d('0x4')](_0x605d('0x8'),util[_0x605d('0x14')](_0x605d('0x9'),this[_0x605d('0xa')](_0x605d('0x7')),_0x25adf1));}},'salt':{'type':Sequelize[_0x605d('0x3')]},'phone':{'type':Sequelize[_0x605d('0x3')]},'mobile':{'type':Sequelize[_0x605d('0x3')]},'address':{'type':Sequelize[_0x605d('0x3')]},'zipcode':{'type':Sequelize[_0x605d('0x3')]},'userpic':{'type':Sequelize[_0x605d('0x3')]},'city':{'type':Sequelize[_0x605d('0x3')]},'country':{'type':Sequelize[_0x605d('0x3')]},'online':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'lastLoginAt':{'type':Sequelize['DATE']},'voicePause':{'type':Sequelize[_0x605d('0x15')],'defaultValue':![]},'chatPause':{'type':Sequelize[_0x605d('0x15')],'defaultValue':![]},'mailPause':{'type':Sequelize[_0x605d('0x15')],'defaultValue':![]},'faxPause':{'type':Sequelize[_0x605d('0x15')],'defaultValue':![]},'smsPause':{'type':Sequelize[_0x605d('0x15')],'defaultValue':![]},'openchannelPause':{'type':Sequelize[_0x605d('0x15')],'defaultValue':![]},'pauseType':{'type':Sequelize[_0x605d('0x3')],'defaultValue':_0x605d('0x16')},'lastPauseAt':{'type':Sequelize['DATE']},'chatCapacity':{'type':Sequelize[_0x605d('0x12')],'defaultValue':0x0},'mailCapacity':{'type':Sequelize[_0x605d('0x12')],'defaultValue':0x0},'faxCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'smsCapacity':{'type':Sequelize[_0x605d('0x12')],'defaultValue':0x0},'openchannelCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'phoneBarAutoAnswer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarEnableSettings':{'type':Sequelize[_0x605d('0x15')],'defaultValue':!![]},'phoneBarListenPort':{'type':Sequelize[_0x605d('0x12')](0x5),'defaultValue':0x1428},'phoneBarExpires':{'type':Sequelize[_0x605d('0x12')](0x5),'defaultValue':0x78},'phoneBarRemoteControl':{'type':Sequelize[_0x605d('0x15')],'defaultValue':![]},'phoneBarRemoteControlPort':{'type':Sequelize[_0x605d('0x12')],'defaultValue':0x26a0},'phoneBarEnableRecording':{'type':Sequelize[_0x605d('0x15')],'defaultValue':![]},'phoneBarRingInUse':{'type':Sequelize[_0x605d('0x15')],'defaultValue':![]},'chanspy':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'description':{'type':Sequelize['STRING'],'allowNull':!![]},'host':{'type':Sequelize['STRING'],'allowNull':!![],'defaultValue':_0x605d('0x17')},'ipaddr':{'type':Sequelize[_0x605d('0x3')],'allowNull':!![]},'port':{'type':Sequelize[_0x605d('0x12')](0x5),'allowNull':!![]},'regseconds':{'type':Sequelize[_0x605d('0x12')](0xb),'allowNull':!![]},'fullcontact':{'type':Sequelize[_0x605d('0x3')],'allowNull':!![]},'regserver':{'type':Sequelize['STRING'],'allowNull':!![]},'useragent':{'type':Sequelize['STRING'],'allowNull':!![]},'lastms':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'type':{'type':Sequelize[_0x605d('0x18')](_0x605d('0x19'),'user',_0x605d('0x1a')),'allowNull':!![],'defaultValue':_0x605d('0x19')},'context':{'type':Sequelize['STRING'],'allowNull':!![],'defaultValue':_0x605d('0x1b')},'callingpres':{'type':Sequelize[_0x605d('0x18')](_0x605d('0x1c'),_0x605d('0x1d'),'ALLOWED_FAILED_SCREEN',_0x605d('0x1e'),'PROHIB_NOT_SCREENED','PROHIB_PASSED_SCREEN',_0x605d('0x1f'),_0x605d('0x20')),'allowNull':!![]},'deny':{'type':Sequelize[_0x605d('0x3')],'allowNull':!![]},'permit':{'type':Sequelize[_0x605d('0x3')],'allowNull':!![]},'secret':{'type':Sequelize['STRING'],'allowNull':!![]},'md5secret':{'type':Sequelize['STRING'],'allowNull':!![]},'remotesecret':{'type':Sequelize['STRING'],'allowNull':!![]},'transport':{'type':Sequelize[_0x605d('0x3')],'allowNull':!![],'defaultValue':_0x605d('0x21'),'set':function(_0x53847d){this[_0x605d('0x4')](_0x605d('0x22'),_0x53847d?_0x53847d[_0x605d('0x23')](','):null);},'get':function(){return this['getDataValue']('transport')?this[_0x605d('0xa')](_0x605d('0x22'))[_0x605d('0x24')](','):null;},'comment':_0x605d('0x25')},'dtmfmode':{'type':Sequelize[_0x605d('0x18')](_0x605d('0x26'),'info',_0x605d('0x27'),_0x605d('0x28'),_0x605d('0x29')),'allowNull':!![],'defaultValue':_0x605d('0x26')},'directmedia':{'type':Sequelize[_0x605d('0x18')](_0x605d('0x2a'),'no',_0x605d('0x2b'),_0x605d('0x2c'),_0x605d('0x2d')),'allowNull':!![],'defaultValue':'no'},'directrtpsetup':{'type':Sequelize['ENUM'](_0x605d('0x2a'),'no'),'allowNull':!![],'defaultValue':'no'},'directmediapermit':{'type':Sequelize['STRING'],'allowNull':!![]},'directmediadeny':{'type':Sequelize['STRING'],'allowNull':!![]},'nat':{'type':Sequelize[_0x605d('0x3')],'allowNull':!![],'defaultValue':'force_rport,comedia','set':function(_0x51924c){this[_0x605d('0x4')](_0x605d('0x2e'),_0x51924c?_0x51924c[_0x605d('0x23')](','):null);},'get':function(){return this['getDataValue'](_0x605d('0x2e'))?this[_0x605d('0xa')](_0x605d('0x2e'))[_0x605d('0x24')](','):null;},'comment':_0x605d('0x2f')},'callgroup':{'type':Sequelize['STRING']},'namedcallgroup':{'type':Sequelize['STRING']},'pickupgroup':{'type':Sequelize[_0x605d('0x3')]},'namedpickupgroup':{'type':Sequelize[_0x605d('0x3')]},'language':{'type':Sequelize[_0x605d('0x3')],'defaultValue':'en'},'tonezone':{'type':Sequelize['STRING']},'disallow':{'type':Sequelize[_0x605d('0x3')],'allowNull':![],'defaultValue':'all'},'allow':{'type':Sequelize[_0x605d('0x3')],'allowNull':![],'defaultValue':_0x605d('0x30'),'set':function(_0x5ba8f9){this[_0x605d('0x4')](_0x605d('0x31'),_0x5ba8f9?_0x5ba8f9[_0x605d('0x23')](';'):_0x605d('0x30'));},'get':function(){return this[_0x605d('0xa')](_0x605d('0x31'))?this['getDataValue']('allow')['split'](';'):null;},'comment':_0x605d('0x32')},'autoframing':{'type':Sequelize[_0x605d('0x18')](_0x605d('0x2a'),'no'),'allowNull':!![]},'insecure':{'type':Sequelize[_0x605d('0x3')],'allowNull':!![],'set':function(_0xe57b47){this[_0x605d('0x4')](_0x605d('0x33'),_0xe57b47?_0xe57b47['join'](','):null);},'get':function(){return this['getDataValue'](_0x605d('0x33'))?this[_0x605d('0xa')]('insecure')[_0x605d('0x24')](','):null;},'comment':_0x605d('0x34')},'trustrpid':{'type':Sequelize[_0x605d('0x18')]('yes','no'),'allowNull':!![],'defaultValue':'no'},'trust_id_outbound':{'type':Sequelize[_0x605d('0x18')](_0x605d('0x2a'),'no'),'allowNull':!![],'defaultValue':'no'},'progressinband':{'type':Sequelize[_0x605d('0x18')]('yes','no','never'),'allowNull':!![]},'promiscredir':{'type':Sequelize[_0x605d('0x18')]('yes','no'),'allowNull':!![]},'useclientcode':{'type':Sequelize[_0x605d('0x18')](_0x605d('0x2a'),'no'),'allowNull':!![]},'accountcode':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'setvar':{'type':Sequelize[_0x605d('0x3')],'allowNull':!![]},'callerid':{'type':Sequelize[_0x605d('0x3')],'allowNull':!![],'defaultValue':_0x605d('0x35')},'amaflags':{'type':Sequelize[_0x605d('0x3')],'allowNull':!![]},'callcounter':{'type':Sequelize['ENUM'](_0x605d('0x2a'),'no'),'allowNull':!![],'defaultValue':'yes'},'busylevel':{'type':Sequelize[_0x605d('0x12')](0xb),'allowNull':!![]},'allowoverlap':{'type':Sequelize[_0x605d('0x18')](_0x605d('0x2a'),'no'),'allowNull':!![]},'allowsubscribe':{'type':Sequelize['ENUM'](_0x605d('0x2a'),'no'),'allowNull':!![]},'allowtransfer':{'type':Sequelize[_0x605d('0x18')](_0x605d('0x2a'),'no'),'allowNull':!![]},'ignoresdpversion':{'type':Sequelize[_0x605d('0x18')](_0x605d('0x2a'),'no'),'allowNull':!![]},'subscribecontext':{'type':Sequelize[_0x605d('0x3')],'allowNull':!![]},'template':{'type':Sequelize['STRING'],'allowNull':!![]},'videosupport':{'type':Sequelize[_0x605d('0x18')](_0x605d('0x2a'),'no',_0x605d('0x36')),'allowNull':!![],'defaultValue':'no'},'maxcallbitrate':{'type':Sequelize[_0x605d('0x12')](0xb),'allowNull':!![]},'rfc2833compensate':{'type':Sequelize[_0x605d('0x18')]('yes','no'),'allowNull':!![]},'mailbox':{'type':Sequelize[_0x605d('0x3')],'allowNull':!![]},'session_timers':{'type':Sequelize[_0x605d('0x18')](_0x605d('0x37'),_0x605d('0x38'),_0x605d('0x39')),'allowNull':!![]},'session_expires':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'session_minse':{'type':Sequelize[_0x605d('0x12')](0xb),'allowNull':!![]},'session_refresher':{'type':Sequelize['ENUM'](_0x605d('0x3a'),_0x605d('0x3b')),'allowNull':!![],'defaultValue':'uas'},'t38pt_usertpsource':{'type':Sequelize[_0x605d('0x3')],'allowNull':!![]},'regexten':{'type':Sequelize['STRING'],'allowNull':!![]},'fromdomain':{'type':Sequelize[_0x605d('0x3')],'allowNull':!![]},'fromuser':{'type':Sequelize['STRING'],'allowNull':!![]},'qualify':{'type':Sequelize[_0x605d('0x18')](_0x605d('0x2a'),'no'),'allowNull':!![],'defaultValue':_0x605d('0x2a')},'keepalive':{'type':Sequelize[_0x605d('0x12')](0xb),'allowNull':!![]},'defaultip':{'type':Sequelize[_0x605d('0x3')],'allowNull':!![]},'defaultuser':{'type':Sequelize[_0x605d('0x3')],'allowNull':!![]},'rtptimeout':{'type':Sequelize[_0x605d('0x12')](0xb),'allowNull':!![]},'rtpholdtimeout':{'type':Sequelize[_0x605d('0x12')](0xb),'allowNull':!![]},'rtpkeepalive':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'sendrpid':{'type':Sequelize[_0x605d('0x18')]('yes','no'),'allowNull':!![],'defaultValue':'no'},'outboundproxy':{'type':Sequelize[_0x605d('0x3')],'allowNull':!![]},'callbackextension':{'type':Sequelize['STRING'],'allowNull':!![]},'timert1':{'type':Sequelize[_0x605d('0x12')](0xb),'allowNull':!![]},'timerb':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'qualifyfreq':{'type':Sequelize[_0x605d('0x12')](0xb),'allowNull':!![]},'contactpermit':{'type':Sequelize[_0x605d('0x3')],'allowNull':!![]},'contactdeny':{'type':Sequelize[_0x605d('0x3')],'allowNull':!![]},'contactacl':{'type':Sequelize[_0x605d('0x3')],'allowNull':!![]},'unsolicited_mailbox':{'type':Sequelize[_0x605d('0x3')],'allowNull':!![]},'use_q850_reason':{'type':Sequelize[_0x605d('0x3')],'allowNull':!![]},'maxforwards':{'type':Sequelize[_0x605d('0x12')](0xb),'allowNull':!![]},'encryption':{'type':Sequelize[_0x605d('0x18')]('yes','no'),'allowNull':!![],'defaultValue':'no'},'avpf':{'type':Sequelize[_0x605d('0x18')](_0x605d('0x2a'),'no'),'allowNull':!![]},'force_avp':{'type':Sequelize['ENUM'](_0x605d('0x2a'),'no'),'allowNull':!![]},'icesupport':{'type':Sequelize['ENUM'](_0x605d('0x2a'),'no'),'allowNull':!![]},'dtlsenable':{'type':Sequelize[_0x605d('0x18')]('yes','no'),'allowNull':!![]},'dtlsverify':{'type':Sequelize[_0x605d('0x18')](_0x605d('0x2a'),'no',_0x605d('0x3c'),_0x605d('0x3d')),'allowNull':!![]},'dtlsrekey':{'type':Sequelize[_0x605d('0x12')](0xb),'allowNull':!![]},'dtlscertfile':{'type':Sequelize[_0x605d('0x3')],'allowNull':!![]},'dtlsprivatekey':{'type':Sequelize[_0x605d('0x3')],'allowNull':!![]},'dtlscipher':{'type':Sequelize['STRING'],'allowNull':!![]},'dtlscafile':{'type':Sequelize[_0x605d('0x3')],'allowNull':!![]},'dtlscapath':{'type':Sequelize[_0x605d('0x3')],'allowNull':!![]},'dtlssetup':{'type':Sequelize[_0x605d('0x18')](_0x605d('0x3e'),'passive',_0x605d('0x3f')),'allowNull':!![]},'dtlsfingerprint':{'type':Sequelize['STRING'],'allowNull':!![]},'usereqphone':{'type':Sequelize[_0x605d('0x18')](_0x605d('0x2a'),'no'),'allowNull':!![],'defaultValue':'no'},'recordonfeature':{'type':Sequelize[_0x605d('0x3')],'allowNull':!![]},'recordofffeature':{'type':Sequelize['STRING'],'allowNull':!![]},'call_limit':{'type':Sequelize[_0x605d('0x12')](0xb),'allowNull':!![],'defaultValue':0xa},'registertrying':{'type':Sequelize[_0x605d('0x18')]('yes','no'),'allowNull':!![]},'subscribemwi':{'type':Sequelize[_0x605d('0x18')]('yes','no'),'allowNull':!![]},'vmexten':{'type':Sequelize[_0x605d('0x3')],'allowNull':!![]},'mohinterpret':{'type':Sequelize[_0x605d('0x3')],'allowNull':!![]},'mohsuggest':{'type':Sequelize[_0x605d('0x3')],'allowNull':!![]},'parkinglot':{'type':Sequelize[_0x605d('0x3')],'allowNull':!![]},'canreinvite':{'type':Sequelize[_0x605d('0x18')](_0x605d('0x2a'),'no',_0x605d('0x2b'),'update',_0x605d('0x40')),'allowNull':!![],'defaultValue':'no'},'loginInPause':{'type':Sequelize[_0x605d('0x15')],'defaultValue':![]},'resetPasswordToken':{'type':Sequelize[_0x605d('0x3')]},'resetPasswordExpires':{'type':Sequelize[_0x605d('0x41')]},'showWebBar':{'type':Sequelize[_0x605d('0x12')],'defaultValue':0x0,'set':function(_0x4ef1fa){this[_0x605d('0x4')](_0x605d('0x42'),_0x4ef1fa);var _0x58e3fb=this[_0x605d('0x43')]({'plain':!![]});switch(_0x4ef1fa){case 0x0:case 0x1:var _0x576c5f=_0x58e3fb['transport']?_['isArray'](_0x58e3fb['transport'])?_0x58e3fb['transport'][_0x605d('0x23')]():_0x58e3fb[_0x605d('0x22')]:_0x605d('0x21');if(_0x576c5f===_0x605d('0x44')){_0x576c5f='udp';}this[_0x605d('0x4')](_0x605d('0x22'),_0x576c5f);this[_0x605d('0x4')]('encryption','no');this[_0x605d('0x4')](_0x605d('0x45'),null);this[_0x605d('0x4')](_0x605d('0x46'),null);this['setDataValue']('icesupport',null);this['setDataValue'](_0x605d('0x47'),null);this[_0x605d('0x4')]('dtlsverify',null);this[_0x605d('0x4')]('dtlssetup',null);this[_0x605d('0x4')]('dtlscertfile',null);this[_0x605d('0x4')]('dtlsprivatekey',null);this[_0x605d('0x4')]('rtcp_mux','no');break;case 0x2:this[_0x605d('0x4')](_0x605d('0x22'),_0x605d('0x44'));this[_0x605d('0x4')]('encryption','yes');this['setDataValue']('avpf',_0x605d('0x2a'));this[_0x605d('0x4')](_0x605d('0x46'),_0x605d('0x2a'));this[_0x605d('0x4')](_0x605d('0x48'),_0x605d('0x2a'));this[_0x605d('0x4')](_0x605d('0x47'),'yes');this[_0x605d('0x4')]('dtlsverify','no');this[_0x605d('0x4')]('dtlssetup',_0x605d('0x3f'));this[_0x605d('0x4')](_0x605d('0x49'),_0x58e3fb[_0x605d('0x49')]||_0x605d('0x4a'));this[_0x605d('0x4')](_0x605d('0x4b'),_0x58e3fb[_0x605d('0x4b')]||_0x605d('0x4c'));this[_0x605d('0x4')](_0x605d('0x4d'),'yes');break;default:}}},'permissions':{'type':Sequelize[_0x605d('0x4e')],'set':function(_0xd8b3d7){this[_0x605d('0x4')](_0x605d('0x4f'),_0xd8b3d7?_0xd8b3d7[_0x605d('0x23')](','):[]);},'get':function(){return this[_0x605d('0xa')](_0x605d('0x4f'))?_[_0x605d('0x50')](this[_0x605d('0xa')]('permissions')[_0x605d('0x24')](','),function(_0x1ecae0){return parseInt(_0x1ecae0,0xa);}):[];}},'phoneBarUnconditionalNumber':{'type':Sequelize[_0x605d('0x3')]},'phoneBarNoReplyNumber':{'type':Sequelize[_0x605d('0x3')]},'phoneBarBusyNumber':{'type':Sequelize['STRING']},'phoneBarUnconditional':{'type':Sequelize[_0x605d('0x15')],'defaultValue':![]},'phoneBarNoReply':{'type':Sequelize[_0x605d('0x15')],'defaultValue':![]},'phoneBarBusy':{'type':Sequelize[_0x605d('0x15')],'defaultValue':![]},'phoneBarDnd':{'type':Sequelize[_0x605d('0x15')],'defaultValue':!![]},'phoneBarUnansweredCallBadge':{'type':Sequelize[_0x605d('0x15')],'defaultValue':!![]},'phoneBarEnableDtmfTone':{'type':Sequelize[_0x605d('0x15')],'defaultValue':![]},'phoneBarAutoAnswerDelay':{'type':Sequelize[_0x605d('0x12')],'defaultValue':0x0},'extensionMonitor':{'type':Sequelize[_0x605d('0x3')],'defaultValue':''},'crudPermissions':{'type':Sequelize[_0x605d('0x12')],'defaultValue':0x0},'rtcp_mux':{'type':Sequelize[_0x605d('0x18')](_0x605d('0x2a'),'no'),'defaultValue':'no'},'allowmessenger':{'type':Sequelize[_0x605d('0x15')],'defaultValue':!![]},'phoneBarOutboundProxy':{'type':Sequelize[_0x605d('0x3')]},'passwordResetAt':{'type':Sequelize['DATE'],'defaultValue':null},'phoneBarEnableJaws':{'type':Sequelize[_0x605d('0x15')],'defaultValue':![]},'phoneBarEnableVideoRecording':{'type':Sequelize[_0x605d('0x15')],'defaultValue':![]},'phoneBarPrefixRequired':{'type':Sequelize[_0x605d('0x15')],'defaultValue':![]},'hotdesk':{'type':Sequelize[_0x605d('0x15')],'defaultValue':![]},'interface':{'type':Sequelize['STRING'],'defaultValue':null},'privacyEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'apiKeyNonce':{'type':Sequelize['STRING'],'allowNull':!![]},'apiKeyIat':{'type':Sequelize[_0x605d('0x3')],'allowNull':!![]}};
\ No newline at end of file
+var _0x1fe4=['DEFAULT\x20PAUSE','DATE','dynamic','friend','peer','from-sip','ALLOWED_NOT_SCREENED','ALLOWED_PASSED_SCREEN','ALLOWED_FAILED_SCREEN','ALLOWED','PROHIB_NOT_SCREENED','PROHIB_FAILED_SCREEN','transport','split','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22udp\x22,\x20\x22tcp\x22]','rfc2833','info','shortinfo','inband','auto','yes','nonat','update','outgoing','force_rport,comedia','join','nat','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22force_rport\x22,\x20\x22comedia\x22]','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','refuse','uac','uas','fingerprint','certificate','active','passive','actpass','update,nonat','showWebBar','isArray','udp','encryption','force_avp','icesupport','dtlsverify','dtlssetup','dtlscertfile','dtlsprivatekey','rtcp_mux','wss','avpf','dtlsenable','/etc/pki/tls/private/motion.key','TEXT','permissions','sequelize','moment','util','name','setDataValue','The\x20name\x20of\x20the\x20user','fullname','callerid','format','getDataValue','internal','STRING','email','toLowerCase','ENUM','admin','user','telephone','local','INTEGER','\x22%s\x22\x20<%s>','BOOLEAN'];(function(_0x286595,_0x29f350){var _0x3ea6b8=function(_0x157dc3){while(--_0x157dc3){_0x286595['push'](_0x286595['shift']());}};_0x3ea6b8(++_0x29f350);}(_0x1fe4,0xe9));var _0x41fe=function(_0x99facc,_0x548cd6){_0x99facc=_0x99facc-0x0;var _0xd39ed0=_0x1fe4[_0x99facc];return _0xd39ed0;};'use strict';var Sequelize=require(_0x41fe('0x0'));var moment=require(_0x41fe('0x1'));var util=require(_0x41fe('0x2'));var _=require('lodash');module['exports']={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x41fe('0x3'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i},'set':function(_0x33a433){this[_0x41fe('0x4')]('name',_0x33a433);this['setDataValue']('defaultuser',_0x33a433);},'comment':_0x41fe('0x5')},'fullname':{'type':Sequelize['STRING'],'allowNull':![],'set':function(_0x1df900){this[_0x41fe('0x4')](_0x41fe('0x6'),_0x1df900);this[_0x41fe('0x4')](_0x41fe('0x7'),util[_0x41fe('0x8')]('\x22%s\x22\x20<%s>',_0x1df900,this[_0x41fe('0x9')](_0x41fe('0xa'))));}},'alias':{'type':Sequelize[_0x41fe('0xb')]},'email':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x41fe('0xc'),'validate':{'isEmail':!![]},'set':function(_0x3fba35){if(_0x3fba35){this[_0x41fe('0x4')]('email',_0x3fba35[_0x41fe('0xd')]());}}},'role':{'type':Sequelize[_0x41fe('0xe')](_0x41fe('0xf'),_0x41fe('0x10'),'agent',_0x41fe('0x11')),'allowNull':![]},'password':{'type':Sequelize[_0x41fe('0xb')],'allowNull':![],'validate':{'notEmpty':!![]}},'provider':{'type':Sequelize[_0x41fe('0xb')],'defaultValue':_0x41fe('0x12')},'internal':{'type':Sequelize[_0x41fe('0x13')](0xb),'allowNull':![],'unique':_0x41fe('0xa'),'set':function(_0x50970a){this[_0x41fe('0x4')](_0x41fe('0xa'),_0x50970a);this[_0x41fe('0x4')]('accountcode',_0x50970a);this['setDataValue'](_0x41fe('0x7'),util['format'](_0x41fe('0x14'),this[_0x41fe('0x9')]('fullname'),_0x50970a));}},'salt':{'type':Sequelize['STRING']},'phone':{'type':Sequelize[_0x41fe('0xb')]},'mobile':{'type':Sequelize[_0x41fe('0xb')]},'address':{'type':Sequelize[_0x41fe('0xb')]},'zipcode':{'type':Sequelize[_0x41fe('0xb')]},'userpic':{'type':Sequelize[_0x41fe('0xb')]},'city':{'type':Sequelize[_0x41fe('0xb')]},'country':{'type':Sequelize[_0x41fe('0xb')]},'online':{'type':Sequelize[_0x41fe('0x15')],'defaultValue':![]},'lastLoginAt':{'type':Sequelize['DATE']},'voicePause':{'type':Sequelize[_0x41fe('0x15')],'defaultValue':![]},'chatPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'mailPause':{'type':Sequelize[_0x41fe('0x15')],'defaultValue':![]},'faxPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'smsPause':{'type':Sequelize[_0x41fe('0x15')],'defaultValue':![]},'openchannelPause':{'type':Sequelize[_0x41fe('0x15')],'defaultValue':![]},'pauseType':{'type':Sequelize[_0x41fe('0xb')],'defaultValue':_0x41fe('0x16')},'lastPauseAt':{'type':Sequelize[_0x41fe('0x17')]},'chatCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'mailCapacity':{'type':Sequelize[_0x41fe('0x13')],'defaultValue':0x0},'faxCapacity':{'type':Sequelize[_0x41fe('0x13')],'defaultValue':0x0},'smsCapacity':{'type':Sequelize[_0x41fe('0x13')],'defaultValue':0x0},'openchannelCapacity':{'type':Sequelize[_0x41fe('0x13')],'defaultValue':0x0},'phoneBarAutoAnswer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarEnableSettings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'phoneBarListenPort':{'type':Sequelize[_0x41fe('0x13')](0x5),'defaultValue':0x1428},'phoneBarExpires':{'type':Sequelize[_0x41fe('0x13')](0x5),'defaultValue':0x78},'phoneBarRemoteControl':{'type':Sequelize[_0x41fe('0x15')],'defaultValue':![]},'phoneBarRemoteControlPort':{'type':Sequelize[_0x41fe('0x13')],'defaultValue':0x26a0},'phoneBarEnableRecording':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarRingInUse':{'type':Sequelize[_0x41fe('0x15')],'defaultValue':![]},'chanspy':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'description':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]},'host':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![],'defaultValue':_0x41fe('0x18')},'ipaddr':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]},'port':{'type':Sequelize[_0x41fe('0x13')](0x5),'allowNull':!![]},'regseconds':{'type':Sequelize[_0x41fe('0x13')](0xb),'allowNull':!![]},'fullcontact':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]},'regserver':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]},'useragent':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]},'lastms':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'type':{'type':Sequelize[_0x41fe('0xe')](_0x41fe('0x19'),_0x41fe('0x10'),_0x41fe('0x1a')),'allowNull':!![],'defaultValue':'friend'},'context':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![],'defaultValue':_0x41fe('0x1b')},'callingpres':{'type':Sequelize[_0x41fe('0xe')](_0x41fe('0x1c'),_0x41fe('0x1d'),_0x41fe('0x1e'),_0x41fe('0x1f'),_0x41fe('0x20'),'PROHIB_PASSED_SCREEN',_0x41fe('0x21'),'PROHIB'),'allowNull':!![]},'deny':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]},'permit':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]},'secret':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]},'md5secret':{'type':Sequelize['STRING'],'allowNull':!![]},'remotesecret':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]},'transport':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![],'defaultValue':'udp','set':function(_0x454eaf){this[_0x41fe('0x4')](_0x41fe('0x22'),_0x454eaf?_0x454eaf['join'](','):null);},'get':function(){return this[_0x41fe('0x9')](_0x41fe('0x22'))?this[_0x41fe('0x9')]('transport')[_0x41fe('0x23')](','):null;},'comment':_0x41fe('0x24')},'dtmfmode':{'type':Sequelize[_0x41fe('0xe')](_0x41fe('0x25'),_0x41fe('0x26'),_0x41fe('0x27'),_0x41fe('0x28'),_0x41fe('0x29')),'allowNull':!![],'defaultValue':_0x41fe('0x25')},'directmedia':{'type':Sequelize[_0x41fe('0xe')](_0x41fe('0x2a'),'no',_0x41fe('0x2b'),_0x41fe('0x2c'),_0x41fe('0x2d')),'allowNull':!![],'defaultValue':'no'},'directrtpsetup':{'type':Sequelize[_0x41fe('0xe')](_0x41fe('0x2a'),'no'),'allowNull':!![],'defaultValue':'no'},'directmediapermit':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]},'directmediadeny':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]},'nat':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![],'defaultValue':_0x41fe('0x2e'),'set':function(_0x408007){this[_0x41fe('0x4')]('nat',_0x408007?_0x408007[_0x41fe('0x2f')](','):null);},'get':function(){return this[_0x41fe('0x9')]('nat')?this[_0x41fe('0x9')](_0x41fe('0x30'))[_0x41fe('0x23')](','):null;},'comment':_0x41fe('0x31')},'callgroup':{'type':Sequelize[_0x41fe('0xb')]},'namedcallgroup':{'type':Sequelize[_0x41fe('0xb')]},'pickupgroup':{'type':Sequelize['STRING']},'namedpickupgroup':{'type':Sequelize[_0x41fe('0xb')]},'language':{'type':Sequelize[_0x41fe('0xb')],'defaultValue':'en'},'tonezone':{'type':Sequelize[_0x41fe('0xb')]},'disallow':{'type':Sequelize[_0x41fe('0xb')],'allowNull':![],'defaultValue':'all'},'allow':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0x41fe('0x32'),'set':function(_0x4e6ca5){this[_0x41fe('0x4')](_0x41fe('0x33'),_0x4e6ca5?_0x4e6ca5['join'](';'):_0x41fe('0x32'));},'get':function(){return this['getDataValue'](_0x41fe('0x33'))?this[_0x41fe('0x9')](_0x41fe('0x33'))[_0x41fe('0x23')](';'):null;},'comment':_0x41fe('0x34')},'autoframing':{'type':Sequelize[_0x41fe('0xe')]('yes','no'),'allowNull':!![]},'insecure':{'type':Sequelize['STRING'],'allowNull':!![],'set':function(_0x18bcf9){this['setDataValue'](_0x41fe('0x35'),_0x18bcf9?_0x18bcf9[_0x41fe('0x2f')](','):null);},'get':function(){return this[_0x41fe('0x9')](_0x41fe('0x35'))?this[_0x41fe('0x9')](_0x41fe('0x35'))[_0x41fe('0x23')](','):null;},'comment':_0x41fe('0x36')},'trustrpid':{'type':Sequelize['ENUM'](_0x41fe('0x2a'),'no'),'allowNull':!![],'defaultValue':'no'},'trust_id_outbound':{'type':Sequelize[_0x41fe('0xe')](_0x41fe('0x2a'),'no'),'allowNull':!![],'defaultValue':'no'},'progressinband':{'type':Sequelize['ENUM'](_0x41fe('0x2a'),'no',_0x41fe('0x37')),'allowNull':!![]},'promiscredir':{'type':Sequelize[_0x41fe('0xe')](_0x41fe('0x2a'),'no'),'allowNull':!![]},'useclientcode':{'type':Sequelize[_0x41fe('0xe')](_0x41fe('0x2a'),'no'),'allowNull':!![]},'accountcode':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'setvar':{'type':Sequelize['STRING'],'allowNull':!![]},'callerid':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![],'defaultValue':_0x41fe('0x38')},'amaflags':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]},'callcounter':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![],'defaultValue':_0x41fe('0x2a')},'busylevel':{'type':Sequelize[_0x41fe('0x13')](0xb),'allowNull':!![]},'allowoverlap':{'type':Sequelize[_0x41fe('0xe')](_0x41fe('0x2a'),'no'),'allowNull':!![]},'allowsubscribe':{'type':Sequelize[_0x41fe('0xe')](_0x41fe('0x2a'),'no'),'allowNull':!![]},'allowtransfer':{'type':Sequelize[_0x41fe('0xe')]('yes','no'),'allowNull':!![]},'ignoresdpversion':{'type':Sequelize[_0x41fe('0xe')](_0x41fe('0x2a'),'no'),'allowNull':!![]},'subscribecontext':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]},'template':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]},'videosupport':{'type':Sequelize[_0x41fe('0xe')]('yes','no',_0x41fe('0x39')),'allowNull':!![],'defaultValue':'no'},'maxcallbitrate':{'type':Sequelize[_0x41fe('0x13')](0xb),'allowNull':!![]},'rfc2833compensate':{'type':Sequelize[_0x41fe('0xe')]('yes','no'),'allowNull':!![]},'mailbox':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]},'session_timers':{'type':Sequelize['ENUM'](_0x41fe('0x3a'),_0x41fe('0x3b'),'originate'),'allowNull':!![]},'session_expires':{'type':Sequelize[_0x41fe('0x13')](0xb),'allowNull':!![]},'session_minse':{'type':Sequelize[_0x41fe('0x13')](0xb),'allowNull':!![]},'session_refresher':{'type':Sequelize[_0x41fe('0xe')](_0x41fe('0x3c'),'uas'),'allowNull':!![],'defaultValue':_0x41fe('0x3d')},'t38pt_usertpsource':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]},'regexten':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]},'fromdomain':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]},'fromuser':{'type':Sequelize['STRING'],'allowNull':!![]},'qualify':{'type':Sequelize[_0x41fe('0xe')](_0x41fe('0x2a'),'no'),'allowNull':!![],'defaultValue':_0x41fe('0x2a')},'keepalive':{'type':Sequelize[_0x41fe('0x13')](0xb),'allowNull':!![]},'defaultip':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]},'defaultuser':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]},'rtptimeout':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'rtpholdtimeout':{'type':Sequelize[_0x41fe('0x13')](0xb),'allowNull':!![]},'rtpkeepalive':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'sendrpid':{'type':Sequelize['ENUM'](_0x41fe('0x2a'),'no'),'allowNull':!![],'defaultValue':'no'},'outboundproxy':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]},'callbackextension':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]},'timert1':{'type':Sequelize[_0x41fe('0x13')](0xb),'allowNull':!![]},'timerb':{'type':Sequelize[_0x41fe('0x13')](0xb),'allowNull':!![]},'qualifyfreq':{'type':Sequelize[_0x41fe('0x13')](0xb),'allowNull':!![]},'contactpermit':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]},'contactdeny':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]},'contactacl':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]},'unsolicited_mailbox':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]},'use_q850_reason':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]},'maxforwards':{'type':Sequelize[_0x41fe('0x13')](0xb),'allowNull':!![]},'encryption':{'type':Sequelize[_0x41fe('0xe')]('yes','no'),'allowNull':!![],'defaultValue':'no'},'avpf':{'type':Sequelize[_0x41fe('0xe')]('yes','no'),'allowNull':!![]},'force_avp':{'type':Sequelize[_0x41fe('0xe')](_0x41fe('0x2a'),'no'),'allowNull':!![]},'icesupport':{'type':Sequelize['ENUM'](_0x41fe('0x2a'),'no'),'allowNull':!![]},'dtlsenable':{'type':Sequelize[_0x41fe('0xe')]('yes','no'),'allowNull':!![]},'dtlsverify':{'type':Sequelize['ENUM'](_0x41fe('0x2a'),'no',_0x41fe('0x3e'),_0x41fe('0x3f')),'allowNull':!![]},'dtlsrekey':{'type':Sequelize[_0x41fe('0x13')](0xb),'allowNull':!![]},'dtlscertfile':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]},'dtlsprivatekey':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]},'dtlscipher':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]},'dtlscafile':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]},'dtlscapath':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]},'dtlssetup':{'type':Sequelize[_0x41fe('0xe')](_0x41fe('0x40'),_0x41fe('0x41'),_0x41fe('0x42')),'allowNull':!![]},'dtlsfingerprint':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]},'usereqphone':{'type':Sequelize[_0x41fe('0xe')](_0x41fe('0x2a'),'no'),'allowNull':!![],'defaultValue':'no'},'recordonfeature':{'type':Sequelize['STRING'],'allowNull':!![]},'recordofffeature':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]},'call_limit':{'type':Sequelize[_0x41fe('0x13')](0xb),'allowNull':!![],'defaultValue':0xa},'registertrying':{'type':Sequelize[_0x41fe('0xe')](_0x41fe('0x2a'),'no'),'allowNull':!![]},'subscribemwi':{'type':Sequelize[_0x41fe('0xe')](_0x41fe('0x2a'),'no'),'allowNull':!![]},'vmexten':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]},'mohinterpret':{'type':Sequelize['STRING'],'allowNull':!![]},'mohsuggest':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]},'parkinglot':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]},'canreinvite':{'type':Sequelize[_0x41fe('0xe')](_0x41fe('0x2a'),'no',_0x41fe('0x2b'),'update',_0x41fe('0x43')),'allowNull':!![],'defaultValue':'no'},'loginInPause':{'type':Sequelize[_0x41fe('0x15')],'defaultValue':![]},'resetPasswordToken':{'type':Sequelize[_0x41fe('0xb')]},'resetPasswordExpires':{'type':Sequelize[_0x41fe('0x17')]},'showWebBar':{'type':Sequelize['INTEGER'],'defaultValue':0x0,'set':function(_0xf5f15e){this[_0x41fe('0x4')](_0x41fe('0x44'),_0xf5f15e);var _0x32f31d=this['get']({'plain':!![]});switch(_0xf5f15e){case 0x0:case 0x1:var _0x240d55=_0x32f31d['transport']?_[_0x41fe('0x45')](_0x32f31d[_0x41fe('0x22')])?_0x32f31d[_0x41fe('0x22')][_0x41fe('0x2f')]():_0x32f31d[_0x41fe('0x22')]:_0x41fe('0x46');if(_0x240d55==='wss'){_0x240d55='udp';}this[_0x41fe('0x4')]('transport',_0x240d55);this[_0x41fe('0x4')](_0x41fe('0x47'),'no');this[_0x41fe('0x4')]('avpf',null);this[_0x41fe('0x4')](_0x41fe('0x48'),null);this[_0x41fe('0x4')](_0x41fe('0x49'),null);this['setDataValue']('dtlsenable',null);this[_0x41fe('0x4')](_0x41fe('0x4a'),null);this[_0x41fe('0x4')](_0x41fe('0x4b'),null);this[_0x41fe('0x4')](_0x41fe('0x4c'),null);this[_0x41fe('0x4')](_0x41fe('0x4d'),null);this[_0x41fe('0x4')](_0x41fe('0x4e'),'no');break;case 0x2:this['setDataValue']('transport',_0x41fe('0x4f'));this[_0x41fe('0x4')](_0x41fe('0x47'),_0x41fe('0x2a'));this[_0x41fe('0x4')](_0x41fe('0x50'),'yes');this[_0x41fe('0x4')]('force_avp','yes');this['setDataValue'](_0x41fe('0x49'),_0x41fe('0x2a'));this[_0x41fe('0x4')](_0x41fe('0x51'),_0x41fe('0x2a'));this[_0x41fe('0x4')](_0x41fe('0x4a'),'no');this[_0x41fe('0x4')](_0x41fe('0x4b'),'actpass');this[_0x41fe('0x4')]('dtlscertfile',_0x32f31d[_0x41fe('0x4c')]||'/etc/pki/tls/certs/motion.crt');this[_0x41fe('0x4')](_0x41fe('0x4d'),_0x32f31d[_0x41fe('0x4d')]||_0x41fe('0x52'));this[_0x41fe('0x4')](_0x41fe('0x4e'),_0x41fe('0x2a'));break;default:}}},'permissions':{'type':Sequelize[_0x41fe('0x53')],'set':function(_0xd26468){this['setDataValue']('permissions',_0xd26468?_0xd26468[_0x41fe('0x2f')](','):[]);},'get':function(){return this[_0x41fe('0x9')]('permissions')?_['map'](this['getDataValue'](_0x41fe('0x54'))[_0x41fe('0x23')](','),function(_0x5d13bd){return parseInt(_0x5d13bd,0xa);}):[];}},'phoneBarUnconditionalNumber':{'type':Sequelize[_0x41fe('0xb')]},'phoneBarNoReplyNumber':{'type':Sequelize[_0x41fe('0xb')]},'phoneBarBusyNumber':{'type':Sequelize[_0x41fe('0xb')]},'phoneBarUnconditional':{'type':Sequelize[_0x41fe('0x15')],'defaultValue':![]},'phoneBarNoReply':{'type':Sequelize[_0x41fe('0x15')],'defaultValue':![]},'phoneBarBusy':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarDnd':{'type':Sequelize[_0x41fe('0x15')],'defaultValue':!![]},'phoneBarUnansweredCallBadge':{'type':Sequelize[_0x41fe('0x15')],'defaultValue':!![]},'phoneBarEnableDtmfTone':{'type':Sequelize[_0x41fe('0x15')],'defaultValue':![]},'phoneBarAutoAnswerDelay':{'type':Sequelize[_0x41fe('0x13')],'defaultValue':0x0},'extensionMonitor':{'type':Sequelize[_0x41fe('0xb')],'defaultValue':''},'crudPermissions':{'type':Sequelize[_0x41fe('0x13')],'defaultValue':0x0},'rtcp_mux':{'type':Sequelize[_0x41fe('0xe')](_0x41fe('0x2a'),'no'),'defaultValue':'no'},'allowmessenger':{'type':Sequelize[_0x41fe('0x15')],'defaultValue':!![]},'phoneBarOutboundProxy':{'type':Sequelize[_0x41fe('0xb')]},'passwordResetAt':{'type':Sequelize[_0x41fe('0x17')],'defaultValue':null},'phoneBarEnableJaws':{'type':Sequelize[_0x41fe('0x15')],'defaultValue':![]},'phoneBarEnableVideoRecording':{'type':Sequelize[_0x41fe('0x15')],'defaultValue':![]},'phoneBarPrefixRequired':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'hotdesk':{'type':Sequelize[_0x41fe('0x15')],'defaultValue':![]},'interface':{'type':Sequelize[_0x41fe('0xb')],'defaultValue':null},'privacyEnabled':{'type':Sequelize[_0x41fe('0x15')],'defaultValue':![]},'apiKeyNonce':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]},'apiKeyIat':{'type':Sequelize[_0x41fe('0xb')],'allowNull':!![]}};
\ No newline at end of file