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