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 _0x3ac1=['status','registry','indexOf','split','port','domain','domainport','refresh','stateRegistry','registrationtime','defaultuser','exports','active','name','unknown','stateTime'];(function(_0x3df25f,_0x10b54f){var _0x544a5c=function(_0x1add18){while(--_0x1add18){_0x3df25f['push'](_0x3df25f['shift']());}};_0x544a5c(++_0x10b54f);}(_0x3ac1,0x15c));var _0x13ac=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x3ac1[_0x3dd15e];return _0x231fd0;};'use strict';function Trunk(_0x5688f7){this['id']=_0x5688f7['id']||0x0;this['active']=_0x5688f7[_0x13ac('0x0')]||![];this['name']=_0x5688f7[_0x13ac('0x1')]||'';this['state']=_0x13ac('0x2');this[_0x13ac('0x3')]=0x0;this[_0x13ac('0x4')]=_0x13ac('0x2');this[_0x13ac('0x5')]=_0x5688f7[_0x13ac('0x5')]&&_0x5688f7['registry'][_0x13ac('0x6')](':')?_0x5688f7[_0x13ac('0x5')][_0x13ac('0x7')](':')[0x0]:'';this['host']='';this[_0x13ac('0x8')]='';this[_0x13ac('0x9')]='';this[_0x13ac('0xa')]='';this[_0x13ac('0xb')]='';this[_0x13ac('0xc')]=_0x13ac('0x2');this[_0x13ac('0xd')]='';this['address']='';this[_0x13ac('0xe')]=_0x5688f7['defaultuser']||'';}module[_0x13ac('0xf')]=Trunk;