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