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