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