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 _0xbef3=['domainport','refresh','stateRegistry','registrationtime','address','defaultuser','active','name','unknown','stateTime','status','registry','indexOf','host','port','domain'];(function(_0x2dafbe,_0x5d04de){var _0x58a45a=function(_0x50ac96){while(--_0x50ac96){_0x2dafbe['push'](_0x2dafbe['shift']());}};_0x58a45a(++_0x5d04de);}(_0xbef3,0x126));var _0x3bef=function(_0x28ad74,_0x202e99){_0x28ad74=_0x28ad74-0x0;var _0x2541c3=_0xbef3[_0x28ad74];return _0x2541c3;};'use strict';function Trunk(_0x24559a){this['id']=_0x24559a['id']||0x0;this[_0x3bef('0x0')]=_0x24559a[_0x3bef('0x0')]||![];this['name']=_0x24559a[_0x3bef('0x1')]||'';this['state']=_0x3bef('0x2');this[_0x3bef('0x3')]=0x0;this[_0x3bef('0x4')]=_0x3bef('0x2');this[_0x3bef('0x5')]=_0x24559a['registry']&&_0x24559a[_0x3bef('0x5')][_0x3bef('0x6')](':')?_0x24559a[_0x3bef('0x5')]['split'](':')[0x0]:'';this[_0x3bef('0x7')]='';this[_0x3bef('0x8')]='';this[_0x3bef('0x9')]='';this[_0x3bef('0xa')]='';this[_0x3bef('0xb')]='';this[_0x3bef('0xc')]=_0x3bef('0x2');this[_0x3bef('0xd')]='';this[_0x3bef('0xe')]='';this[_0x3bef('0xf')]=_0x24559a[_0x3bef('0xf')]||'';}module['exports']=Trunk;