Built motion from commit 9d7072cc.|2.5.39
[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 _0xfbf0=['all','ulaw;alaw;gsm','allow','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22ulaw\x22,\x20\x22alaw\x22,\x20\x22alaw\x22]','port,invite','insecure','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22port\x22,\x20\x22invite\x22]','never','INTEGER','always','accept','refuse','originate','uac','uas','pai','active','passive','dynamic','BOOLEAN','sequelize','exports','name','ENUM','friend','user','peer','STRING','from-voip-provider','ALLOWED_NOT_SCREENED','ALLOWED_PASSED_SCREEN','ALLOWED','PROHIB_NOT_SCREENED','PROHIB_PASSED_SCREEN','PROHIB_FAILED_SCREEN','PROHIB','udp','setDataValue','transport','join','getDataValue','split','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22udp\x22,\x20\x22tcp\x22]','rfc2833','info','shortinfo','inband','auto','yes','nonat','nat','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22force_rport\x22,\x20\x22comedia\x22]'];(function(_0x1e6e4e,_0x2b1b09){var _0x3d746b=function(_0x4483dd){while(--_0x4483dd){_0x1e6e4e['push'](_0x1e6e4e['shift']());}};_0x3d746b(++_0x2b1b09);}(_0xfbf0,0x1b4));var _0x0fbf=function(_0x59c301,_0x359c50){_0x59c301=_0x59c301-0x0;var _0x3866b9=_0xfbf0[_0x59c301];return _0x3866b9;};'use strict';var Sequelize=require(_0x0fbf('0x0'));module[_0x0fbf('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x0fbf('0x2'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'type':{'type':Sequelize[_0x0fbf('0x3')](_0x0fbf('0x4'),_0x0fbf('0x5'),_0x0fbf('0x6')),'allowNull':![],'defaultValue':_0x0fbf('0x4')},'context':{'type':Sequelize[_0x0fbf('0x7')],'allowNull':![],'defaultValue':_0x0fbf('0x8')},'callingpres':{'type':Sequelize[_0x0fbf('0x3')](_0x0fbf('0x9'),_0x0fbf('0xa'),'ALLOWED_FAILED_SCREEN',_0x0fbf('0xb'),_0x0fbf('0xc'),_0x0fbf('0xd'),_0x0fbf('0xe'),_0x0fbf('0xf'))},'deny':{'type':Sequelize[_0x0fbf('0x7')]},'permit':{'type':Sequelize[_0x0fbf('0x7')]},'secret':{'type':Sequelize[_0x0fbf('0x7')]},'md5secret':{'type':Sequelize[_0x0fbf('0x7')]},'remotesecret':{'type':Sequelize[_0x0fbf('0x7')]},'transport':{'type':Sequelize['STRING'],'defaultValue':_0x0fbf('0x10'),'set':function(_0x1facc9){this[_0x0fbf('0x11')](_0x0fbf('0x12'),_0x1facc9?_0x1facc9[_0x0fbf('0x13')](','):null);},'get':function(){return this[_0x0fbf('0x14')](_0x0fbf('0x12'))?this['getDataValue'](_0x0fbf('0x12'))[_0x0fbf('0x15')](','):null;},'comment':_0x0fbf('0x16')},'dtmfmode':{'type':Sequelize['ENUM'](_0x0fbf('0x17'),_0x0fbf('0x18'),_0x0fbf('0x19'),_0x0fbf('0x1a'),_0x0fbf('0x1b')),'defaultValue':_0x0fbf('0x17')},'directmedia':{'type':Sequelize[_0x0fbf('0x3')](_0x0fbf('0x1c'),'no',_0x0fbf('0x1d'),'update','outgoing'),'defaultValue':'no'},'directrtpsetup':{'type':Sequelize['ENUM'](_0x0fbf('0x1c'),'no'),'defaultValue':'no'},'directmediapermit':{'type':Sequelize[_0x0fbf('0x7')]},'directmediadeny':{'type':Sequelize[_0x0fbf('0x7')]},'nat':{'type':Sequelize[_0x0fbf('0x7')],'defaultValue':'force_rport,comedia','set':function(_0x1e39de){this[_0x0fbf('0x11')]('nat',_0x1e39de?_0x1e39de[_0x0fbf('0x13')](','):null);},'get':function(){return this[_0x0fbf('0x14')](_0x0fbf('0x1e'))?this[_0x0fbf('0x14')](_0x0fbf('0x1e'))['split'](','):null;},'comment':_0x0fbf('0x1f')},'callgroup':{'type':Sequelize[_0x0fbf('0x7')]},'namedcallgroup':{'type':Sequelize['STRING']},'pickupgroup':{'type':Sequelize['STRING']},'namedpickupgroup':{'type':Sequelize[_0x0fbf('0x7')]},'language':{'type':Sequelize[_0x0fbf('0x7')],'defaultValue':'en'},'tonezone':{'type':Sequelize[_0x0fbf('0x7')],'allowNull':!![]},'disallow':{'type':Sequelize['STRING'],'defaultValue':_0x0fbf('0x20')},'allow':{'type':Sequelize[_0x0fbf('0x7')],'allowNull':![],'defaultValue':_0x0fbf('0x21'),'set':function(_0xdd546f){this['setDataValue'](_0x0fbf('0x22'),_0xdd546f?_0xdd546f[_0x0fbf('0x13')](';'):_0x0fbf('0x21'));},'get':function(){return this[_0x0fbf('0x14')]('allow')?this[_0x0fbf('0x14')](_0x0fbf('0x22'))[_0x0fbf('0x15')](';'):null;},'comment':_0x0fbf('0x23')},'autoframing':{'type':Sequelize['ENUM'](_0x0fbf('0x1c'),'no')},'insecure':{'type':Sequelize[_0x0fbf('0x7')],'defaultValue':_0x0fbf('0x24'),'set':function(_0x3d87c2){this[_0x0fbf('0x11')](_0x0fbf('0x25'),_0x3d87c2?_0x3d87c2[_0x0fbf('0x13')](','):null);},'get':function(){return this[_0x0fbf('0x14')]('insecure')?this[_0x0fbf('0x14')](_0x0fbf('0x25'))[_0x0fbf('0x15')](','):null;},'comment':_0x0fbf('0x26')},'trustrpid':{'type':Sequelize[_0x0fbf('0x3')](_0x0fbf('0x1c'),'no'),'defaultValue':'no'},'trust_id_outbound':{'type':Sequelize[_0x0fbf('0x3')](_0x0fbf('0x1c'),'no'),'defaultValue':'no'},'progressinband':{'type':Sequelize['ENUM'](_0x0fbf('0x1c'),'no',_0x0fbf('0x27'))},'promiscredir':{'type':Sequelize[_0x0fbf('0x3')](_0x0fbf('0x1c'),'no')},'useclientcode':{'type':Sequelize[_0x0fbf('0x3')](_0x0fbf('0x1c'),'no')},'accountcode':{'type':Sequelize[_0x0fbf('0x28')](0xb)},'setvar':{'type':Sequelize['STRING']},'callerid':{'type':Sequelize[_0x0fbf('0x7')],'defaultValue':'\x22\x22\x20<>'},'amaflags':{'type':Sequelize['STRING']},'callcounter':{'type':Sequelize[_0x0fbf('0x3')](_0x0fbf('0x1c'),'no'),'defaultValue':_0x0fbf('0x1c')},'busylevel':{'type':Sequelize[_0x0fbf('0x28')](0xb)},'allowoverlap':{'type':Sequelize[_0x0fbf('0x3')](_0x0fbf('0x1c'),'no')},'allowsubscribe':{'type':Sequelize[_0x0fbf('0x3')](_0x0fbf('0x1c'),'no')},'allowtransfer':{'type':Sequelize[_0x0fbf('0x3')](_0x0fbf('0x1c'),'no')},'ignoresdpversion':{'type':Sequelize[_0x0fbf('0x3')](_0x0fbf('0x1c'),'no')},'subscribecontext':{'type':Sequelize[_0x0fbf('0x7')]},'template':{'type':Sequelize[_0x0fbf('0x7')]},'videosupport':{'type':Sequelize[_0x0fbf('0x3')]('yes','no',_0x0fbf('0x29')),'defaultValue':'no'},'maxcallbitrate':{'type':Sequelize[_0x0fbf('0x28')](0xb)},'rfc2833compensate':{'type':Sequelize[_0x0fbf('0x3')](_0x0fbf('0x1c'),'no')},'mailbox':{'type':Sequelize[_0x0fbf('0x7')]},'session_timers':{'type':Sequelize[_0x0fbf('0x3')](_0x0fbf('0x2a'),_0x0fbf('0x2b'),_0x0fbf('0x2c'))},'session_expires':{'type':Sequelize['INTEGER'](0xb)},'session_minse':{'type':Sequelize[_0x0fbf('0x28')](0xb)},'session_refresher':{'type':Sequelize[_0x0fbf('0x3')](_0x0fbf('0x2d'),_0x0fbf('0x2e')),'defaultValue':_0x0fbf('0x2e')},'t38pt_usertpsource':{'type':Sequelize[_0x0fbf('0x7')]},'regexten':{'type':Sequelize['STRING']},'fromdomain':{'type':Sequelize[_0x0fbf('0x7')]},'fromuser':{'type':Sequelize[_0x0fbf('0x7')]},'port':{'type':Sequelize[_0x0fbf('0x28')](0x5)},'qualify':{'type':Sequelize[_0x0fbf('0x3')](_0x0fbf('0x1c'),'no'),'defaultValue':_0x0fbf('0x1c')},'keepalive':{'type':Sequelize[_0x0fbf('0x28')](0xb)},'defaultip':{'type':Sequelize[_0x0fbf('0x7')]},'defaultuser':{'type':Sequelize['STRING']},'rtptimeout':{'type':Sequelize[_0x0fbf('0x28')](0xb)},'rtpholdtimeout':{'type':Sequelize[_0x0fbf('0x28')](0xb)},'rtpkeepalive':{'type':Sequelize[_0x0fbf('0x28')](0xb)},'sendrpid':{'type':Sequelize['ENUM']('yes','no',_0x0fbf('0x2f')),'defaultValue':'no'},'outboundproxy':{'type':Sequelize['STRING']},'callbackextension':{'type':Sequelize[_0x0fbf('0x7')]},'timert1':{'type':Sequelize[_0x0fbf('0x28')](0xb)},'timerb':{'type':Sequelize[_0x0fbf('0x28')](0xb)},'qualifyfreq':{'type':Sequelize[_0x0fbf('0x28')](0xb)},'contactpermit':{'type':Sequelize[_0x0fbf('0x7')]},'contactdeny':{'type':Sequelize[_0x0fbf('0x7')]},'contactacl':{'type':Sequelize[_0x0fbf('0x7')]},'unsolicited_mailbox':{'type':Sequelize[_0x0fbf('0x7')]},'use_q850_reason':{'type':Sequelize[_0x0fbf('0x7')]},'maxforwards':{'type':Sequelize[_0x0fbf('0x28')](0xb)},'encryption':{'type':Sequelize[_0x0fbf('0x3')](_0x0fbf('0x1c'),'no'),'defaultValue':'no'},'avpf':{'type':Sequelize[_0x0fbf('0x3')](_0x0fbf('0x1c'),'no')},'force_avp':{'type':Sequelize[_0x0fbf('0x3')](_0x0fbf('0x1c'),'no')},'icesupport':{'type':Sequelize[_0x0fbf('0x3')](_0x0fbf('0x1c'),'no')},'dtlsenable':{'type':Sequelize[_0x0fbf('0x3')]('yes','no')},'dtlsverify':{'type':Sequelize[_0x0fbf('0x3')](_0x0fbf('0x1c'),'no','fingerprint','certificate')},'dtlsrekey':{'type':Sequelize[_0x0fbf('0x28')](0xb)},'dtlscertfile':{'type':Sequelize[_0x0fbf('0x7')]},'dtlsprivatekey':{'type':Sequelize['STRING']},'dtlscipher':{'type':Sequelize[_0x0fbf('0x7')]},'dtlscafile':{'type':Sequelize[_0x0fbf('0x7')]},'dtlscapath':{'type':Sequelize[_0x0fbf('0x7')]},'dtlssetup':{'type':Sequelize[_0x0fbf('0x3')](_0x0fbf('0x30'),_0x0fbf('0x31'),'actpass'),'allowNull':!![]},'dtlsfingerprint':{'type':Sequelize[_0x0fbf('0x7')]},'usereqphone':{'type':Sequelize[_0x0fbf('0x3')](_0x0fbf('0x1c'),'no'),'defaultValue':'no'},'recordonfeature':{'type':Sequelize['STRING']},'recordofffeature':{'type':Sequelize['STRING']},'call_limit':{'type':Sequelize[_0x0fbf('0x28')](0xb),'defaultValue':0x3e8},'registertrying':{'type':Sequelize[_0x0fbf('0x3')](_0x0fbf('0x1c'),'no')},'subscribemwi':{'type':Sequelize[_0x0fbf('0x3')]('yes','no')},'vmexten':{'type':Sequelize[_0x0fbf('0x7')]},'mohinterpret':{'type':Sequelize[_0x0fbf('0x7')]},'mohsuggest':{'type':Sequelize[_0x0fbf('0x7')]},'parkinglot':{'type':Sequelize[_0x0fbf('0x7')]},'description':{'type':Sequelize[_0x0fbf('0x7')]},'host':{'type':Sequelize[_0x0fbf('0x7')],'defaultValue':_0x0fbf('0x32')},'canreinvite':{'type':Sequelize[_0x0fbf('0x3')]('yes','no',_0x0fbf('0x1d'),'update','update,nonat'),'defaultValue':'no'},'registry':{'type':Sequelize['STRING']},'otherFields':{'type':Sequelize['STRING']},'active':{'type':Sequelize[_0x0fbf('0x33')],'allowNull':![],'defaultValue':!![]},'t38pt_udptl':{'type':Sequelize['STRING'],'defaultValue':'no'}};