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