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