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