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