1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xe247=['registry','host','port','domain','domainport','refresh','stateRegistry','address','defaultuser','exports','active','name','state','unknown','stateTime'];(function(_0x4792c8,_0x5158a1){var _0x35edb1=function(_0x2472d3){while(--_0x2472d3){_0x4792c8['push'](_0x4792c8['shift']());}};_0x35edb1(++_0x5158a1);}(_0xe247,0x190));var _0x7e24=function(_0xc38adc,_0x18bcc2){_0xc38adc=_0xc38adc-0x0;var _0x270197=_0xe247[_0xc38adc];return _0x270197;};'use strict';function Trunk(_0x5b9b0f){this['id']=_0x5b9b0f['id']||0x0;this['active']=_0x5b9b0f[_0x7e24('0x0')]||![];this['name']=_0x5b9b0f[_0x7e24('0x1')]||'';this[_0x7e24('0x2')]=_0x7e24('0x3');this[_0x7e24('0x4')]=0x0;this['status']=_0x7e24('0x3');this[_0x7e24('0x5')]=_0x5b9b0f[_0x7e24('0x5')]&&_0x5b9b0f[_0x7e24('0x5')]['indexOf'](':')?_0x5b9b0f[_0x7e24('0x5')]['split'](':')[0x0]:'';this[_0x7e24('0x6')]='';this[_0x7e24('0x7')]='';this[_0x7e24('0x8')]='';this[_0x7e24('0x9')]='';this[_0x7e24('0xa')]='';this[_0x7e24('0xb')]='unknown';this['registrationtime']='';this[_0x7e24('0xc')]='';this[_0x7e24('0xd')]=_0x5b9b0f['defaultuser']||'';}module[_0x7e24('0xe')]=Trunk;