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