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