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