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