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