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