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