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