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