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