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