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