Built motion from commit 87cd5f02.|2.5.48
[motion2.git] / server / api / trunk / trunk.attributes.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xc4d4=['yes','nat','all','ulaw;alaw;gsm','allow','join','split','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22ulaw\x22,\x20\x22alaw\x22,\x20\x22alaw\x22]','port,invite','insecure','never','INTEGER','\x22\x22\x20<>','always','accept','originate','uac','uas','pai','fingerprint','certificate','passive','actpass','nonat','update,nonat','BOOLEAN','sequelize','exports','STRING','name','ENUM','user','peer','friend','from-voip-provider','ALLOWED_NOT_SCREENED','ALLOWED_PASSED_SCREEN','ALLOWED_FAILED_SCREEN','PROHIB_PASSED_SCREEN','PROHIB_FAILED_SCREEN','PROHIB','setDataValue','transport','getDataValue','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22udp\x22,\x20\x22tcp\x22]','info','shortinfo','inband','auto','rfc2833','update','outgoing'];(function(_0x142a07,_0x251e3c){var _0x101b6d=function(_0xcc9433){while(--_0xcc9433){_0x142a07['push'](_0x142a07['shift']());}};_0x101b6d(++_0x251e3c);}(_0xc4d4,0x1ee));var _0x4c4d=function(_0x45c262,_0x2e3ce5){_0x45c262=_0x45c262-0x0;var _0x4f2ba6=_0xc4d4[_0x45c262];return _0x4f2ba6;};'use strict';var Sequelize=require(_0x4c4d('0x0'));module[_0x4c4d('0x1')]={'name':{'type':Sequelize[_0x4c4d('0x2')],'allowNull':![],'unique':_0x4c4d('0x3'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'type':{'type':Sequelize[_0x4c4d('0x4')]('friend',_0x4c4d('0x5'),_0x4c4d('0x6')),'allowNull':![],'defaultValue':_0x4c4d('0x7')},'context':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0x4c4d('0x8')},'callingpres':{'type':Sequelize[_0x4c4d('0x4')](_0x4c4d('0x9'),_0x4c4d('0xa'),_0x4c4d('0xb'),'ALLOWED','PROHIB_NOT_SCREENED',_0x4c4d('0xc'),_0x4c4d('0xd'),_0x4c4d('0xe'))},'deny':{'type':Sequelize[_0x4c4d('0x2')]},'permit':{'type':Sequelize['STRING']},'secret':{'type':Sequelize['STRING']},'md5secret':{'type':Sequelize[_0x4c4d('0x2')]},'remotesecret':{'type':Sequelize[_0x4c4d('0x2')]},'transport':{'type':Sequelize[_0x4c4d('0x2')],'defaultValue':'udp','set':function(_0x30e8d2){this[_0x4c4d('0xf')](_0x4c4d('0x10'),_0x30e8d2?_0x30e8d2['join'](','):null);},'get':function(){return this[_0x4c4d('0x11')](_0x4c4d('0x10'))?this['getDataValue']('transport')['split'](','):null;},'comment':_0x4c4d('0x12')},'dtmfmode':{'type':Sequelize[_0x4c4d('0x4')]('rfc2833',_0x4c4d('0x13'),_0x4c4d('0x14'),_0x4c4d('0x15'),_0x4c4d('0x16')),'defaultValue':_0x4c4d('0x17')},'directmedia':{'type':Sequelize[_0x4c4d('0x4')]('yes','no','nonat',_0x4c4d('0x18'),_0x4c4d('0x19')),'defaultValue':'no'},'directrtpsetup':{'type':Sequelize[_0x4c4d('0x4')](_0x4c4d('0x1a'),'no'),'defaultValue':'no'},'directmediapermit':{'type':Sequelize[_0x4c4d('0x2')]},'directmediadeny':{'type':Sequelize[_0x4c4d('0x2')]},'nat':{'type':Sequelize[_0x4c4d('0x2')],'defaultValue':'force_rport,comedia','set':function(_0x499b64){this[_0x4c4d('0xf')](_0x4c4d('0x1b'),_0x499b64?_0x499b64['join'](','):null);},'get':function(){return this['getDataValue']('nat')?this['getDataValue'](_0x4c4d('0x1b'))['split'](','):null;},'comment':'String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22force_rport\x22,\x20\x22comedia\x22]'},'callgroup':{'type':Sequelize['STRING']},'namedcallgroup':{'type':Sequelize['STRING']},'pickupgroup':{'type':Sequelize[_0x4c4d('0x2')]},'namedpickupgroup':{'type':Sequelize[_0x4c4d('0x2')]},'language':{'type':Sequelize['STRING'],'defaultValue':'en'},'tonezone':{'type':Sequelize[_0x4c4d('0x2')],'allowNull':!![]},'disallow':{'type':Sequelize[_0x4c4d('0x2')],'defaultValue':_0x4c4d('0x1c')},'allow':{'type':Sequelize[_0x4c4d('0x2')],'allowNull':![],'defaultValue':_0x4c4d('0x1d'),'set':function(_0x30465c){this[_0x4c4d('0xf')](_0x4c4d('0x1e'),_0x30465c?_0x30465c[_0x4c4d('0x1f')](';'):_0x4c4d('0x1d'));},'get':function(){return this[_0x4c4d('0x11')]('allow')?this[_0x4c4d('0x11')](_0x4c4d('0x1e'))[_0x4c4d('0x20')](';'):null;},'comment':_0x4c4d('0x21')},'autoframing':{'type':Sequelize[_0x4c4d('0x4')]('yes','no')},'insecure':{'type':Sequelize[_0x4c4d('0x2')],'defaultValue':_0x4c4d('0x22'),'set':function(_0x1acd6c){this[_0x4c4d('0xf')](_0x4c4d('0x23'),_0x1acd6c?_0x1acd6c['join'](','):null);},'get':function(){return this[_0x4c4d('0x11')](_0x4c4d('0x23'))?this[_0x4c4d('0x11')](_0x4c4d('0x23'))[_0x4c4d('0x20')](','):null;},'comment':'String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22port\x22,\x20\x22invite\x22]'},'trustrpid':{'type':Sequelize[_0x4c4d('0x4')]('yes','no'),'defaultValue':'no'},'trust_id_outbound':{'type':Sequelize['ENUM']('yes','no'),'defaultValue':'no'},'progressinband':{'type':Sequelize[_0x4c4d('0x4')](_0x4c4d('0x1a'),'no',_0x4c4d('0x24'))},'promiscredir':{'type':Sequelize['ENUM'](_0x4c4d('0x1a'),'no')},'useclientcode':{'type':Sequelize[_0x4c4d('0x4')](_0x4c4d('0x1a'),'no')},'accountcode':{'type':Sequelize[_0x4c4d('0x25')](0xb)},'setvar':{'type':Sequelize['STRING']},'callerid':{'type':Sequelize['STRING'],'defaultValue':_0x4c4d('0x26')},'amaflags':{'type':Sequelize[_0x4c4d('0x2')]},'callcounter':{'type':Sequelize['ENUM']('yes','no'),'defaultValue':_0x4c4d('0x1a')},'busylevel':{'type':Sequelize[_0x4c4d('0x25')](0xb)},'allowoverlap':{'type':Sequelize[_0x4c4d('0x4')](_0x4c4d('0x1a'),'no')},'allowsubscribe':{'type':Sequelize[_0x4c4d('0x4')]('yes','no')},'allowtransfer':{'type':Sequelize['ENUM'](_0x4c4d('0x1a'),'no')},'ignoresdpversion':{'type':Sequelize[_0x4c4d('0x4')](_0x4c4d('0x1a'),'no')},'subscribecontext':{'type':Sequelize[_0x4c4d('0x2')]},'template':{'type':Sequelize[_0x4c4d('0x2')]},'videosupport':{'type':Sequelize[_0x4c4d('0x4')](_0x4c4d('0x1a'),'no',_0x4c4d('0x27')),'defaultValue':'no'},'maxcallbitrate':{'type':Sequelize[_0x4c4d('0x25')](0xb)},'rfc2833compensate':{'type':Sequelize[_0x4c4d('0x4')](_0x4c4d('0x1a'),'no')},'mailbox':{'type':Sequelize[_0x4c4d('0x2')]},'session_timers':{'type':Sequelize['ENUM'](_0x4c4d('0x28'),'refuse',_0x4c4d('0x29'))},'session_expires':{'type':Sequelize[_0x4c4d('0x25')](0xb)},'session_minse':{'type':Sequelize['INTEGER'](0xb)},'session_refresher':{'type':Sequelize[_0x4c4d('0x4')](_0x4c4d('0x2a'),_0x4c4d('0x2b')),'defaultValue':'uas'},'t38pt_usertpsource':{'type':Sequelize[_0x4c4d('0x2')]},'regexten':{'type':Sequelize[_0x4c4d('0x2')]},'fromdomain':{'type':Sequelize[_0x4c4d('0x2')]},'fromuser':{'type':Sequelize[_0x4c4d('0x2')]},'port':{'type':Sequelize['INTEGER'](0x5)},'qualify':{'type':Sequelize[_0x4c4d('0x4')](_0x4c4d('0x1a'),'no'),'defaultValue':'yes'},'keepalive':{'type':Sequelize[_0x4c4d('0x25')](0xb)},'defaultip':{'type':Sequelize[_0x4c4d('0x2')]},'defaultuser':{'type':Sequelize[_0x4c4d('0x2')]},'rtptimeout':{'type':Sequelize[_0x4c4d('0x25')](0xb)},'rtpholdtimeout':{'type':Sequelize['INTEGER'](0xb)},'rtpkeepalive':{'type':Sequelize[_0x4c4d('0x25')](0xb)},'sendrpid':{'type':Sequelize[_0x4c4d('0x4')](_0x4c4d('0x1a'),'no',_0x4c4d('0x2c')),'defaultValue':'no'},'outboundproxy':{'type':Sequelize[_0x4c4d('0x2')]},'callbackextension':{'type':Sequelize['STRING']},'timert1':{'type':Sequelize[_0x4c4d('0x25')](0xb)},'timerb':{'type':Sequelize[_0x4c4d('0x25')](0xb)},'qualifyfreq':{'type':Sequelize[_0x4c4d('0x25')](0xb)},'contactpermit':{'type':Sequelize['STRING']},'contactdeny':{'type':Sequelize['STRING']},'contactacl':{'type':Sequelize['STRING']},'unsolicited_mailbox':{'type':Sequelize['STRING']},'use_q850_reason':{'type':Sequelize[_0x4c4d('0x2')]},'maxforwards':{'type':Sequelize[_0x4c4d('0x25')](0xb)},'encryption':{'type':Sequelize[_0x4c4d('0x4')](_0x4c4d('0x1a'),'no'),'defaultValue':'no'},'avpf':{'type':Sequelize[_0x4c4d('0x4')](_0x4c4d('0x1a'),'no')},'force_avp':{'type':Sequelize[_0x4c4d('0x4')](_0x4c4d('0x1a'),'no')},'icesupport':{'type':Sequelize[_0x4c4d('0x4')]('yes','no')},'dtlsenable':{'type':Sequelize[_0x4c4d('0x4')](_0x4c4d('0x1a'),'no')},'dtlsverify':{'type':Sequelize[_0x4c4d('0x4')](_0x4c4d('0x1a'),'no',_0x4c4d('0x2d'),_0x4c4d('0x2e'))},'dtlsrekey':{'type':Sequelize[_0x4c4d('0x25')](0xb)},'dtlscertfile':{'type':Sequelize['STRING']},'dtlsprivatekey':{'type':Sequelize['STRING']},'dtlscipher':{'type':Sequelize[_0x4c4d('0x2')]},'dtlscafile':{'type':Sequelize['STRING']},'dtlscapath':{'type':Sequelize[_0x4c4d('0x2')]},'dtlssetup':{'type':Sequelize[_0x4c4d('0x4')]('active',_0x4c4d('0x2f'),_0x4c4d('0x30')),'allowNull':!![]},'dtlsfingerprint':{'type':Sequelize[_0x4c4d('0x2')]},'usereqphone':{'type':Sequelize[_0x4c4d('0x4')](_0x4c4d('0x1a'),'no'),'defaultValue':'no'},'recordonfeature':{'type':Sequelize[_0x4c4d('0x2')]},'recordofffeature':{'type':Sequelize['STRING']},'call_limit':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x3e8},'registertrying':{'type':Sequelize[_0x4c4d('0x4')](_0x4c4d('0x1a'),'no')},'subscribemwi':{'type':Sequelize['ENUM'](_0x4c4d('0x1a'),'no')},'vmexten':{'type':Sequelize[_0x4c4d('0x2')]},'mohinterpret':{'type':Sequelize[_0x4c4d('0x2')]},'mohsuggest':{'type':Sequelize['STRING']},'parkinglot':{'type':Sequelize['STRING']},'description':{'type':Sequelize['STRING']},'host':{'type':Sequelize[_0x4c4d('0x2')],'defaultValue':'dynamic'},'canreinvite':{'type':Sequelize[_0x4c4d('0x4')](_0x4c4d('0x1a'),'no',_0x4c4d('0x31'),_0x4c4d('0x18'),_0x4c4d('0x32')),'defaultValue':'no'},'registry':{'type':Sequelize['STRING']},'otherFields':{'type':Sequelize['STRING']},'active':{'type':Sequelize[_0x4c4d('0x33')],'allowNull':![],'defaultValue':!![]},'t38pt_udptl':{'type':Sequelize[_0x4c4d('0x2')],'defaultValue':'no'}};