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