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