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