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