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