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