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 _0xb361=['unknown','registry','indexOf','split','host','port','domain','domainport','refresh','stateRegistry','registrationtime','address','exports','active','name','state','stateTime'];(function(_0xe2684b,_0x12aee0){var _0x572824=function(_0x3f9dfe){while(--_0x3f9dfe){_0xe2684b['push'](_0xe2684b['shift']());}};_0x572824(++_0x12aee0);}(_0xb361,0xfb));var _0x1b36=function(_0x52f3c1,_0x529b5c){_0x52f3c1=_0x52f3c1-0x0;var _0x59c169=_0xb361[_0x52f3c1];return _0x59c169;};'use strict';function Trunk(_0x9bae46){this['id']=_0x9bae46['id']||0x0;this[_0x1b36('0x0')]=_0x9bae46[_0x1b36('0x0')]||![];this['name']=_0x9bae46[_0x1b36('0x1')]||'';this[_0x1b36('0x2')]='unknown';this[_0x1b36('0x3')]=0x0;this['status']=_0x1b36('0x4');this[_0x1b36('0x5')]=_0x9bae46[_0x1b36('0x5')]&&_0x9bae46[_0x1b36('0x5')][_0x1b36('0x6')](':')?_0x9bae46[_0x1b36('0x5')][_0x1b36('0x7')](':')[0x0]:'';this[_0x1b36('0x8')]='';this[_0x1b36('0x9')]='';this[_0x1b36('0xa')]='';this[_0x1b36('0xb')]='';this[_0x1b36('0xc')]='';this[_0x1b36('0xd')]=_0x1b36('0x4');this[_0x1b36('0xe')]='';this[_0x1b36('0xf')]='';this['defaultuser']=_0x9bae46['defaultuser']||'';}module[_0x1b36('0x10')]=Trunk;