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