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 _0x015f=['refresh','stateRegistry','defaultuser','active','name','state','unknown','stateTime','status','registry','split','host','domain'];(function(_0x5f570b,_0x6f9a51){var _0x308542=function(_0x3207fd){while(--_0x3207fd){_0x5f570b['push'](_0x5f570b['shift']());}};_0x308542(++_0x6f9a51);}(_0x015f,0x148));var _0xf015=function(_0x6fb7ec,_0x2cc36f){_0x6fb7ec=_0x6fb7ec-0x0;var _0x243017=_0x015f[_0x6fb7ec];return _0x243017;};'use strict';function Trunk(_0x3b3af4){this['id']=_0x3b3af4['id']||0x0;this[_0xf015('0x0')]=_0x3b3af4['active']||![];this[_0xf015('0x1')]=_0x3b3af4['name']||'';this[_0xf015('0x2')]=_0xf015('0x3');this[_0xf015('0x4')]=0x0;this[_0xf015('0x5')]='unknown';this[_0xf015('0x6')]=_0x3b3af4[_0xf015('0x6')]&&_0x3b3af4[_0xf015('0x6')]['indexOf'](':')?_0x3b3af4[_0xf015('0x6')][_0xf015('0x7')](':')[0x0]:'';this[_0xf015('0x8')]='';this['port']='';this[_0xf015('0x9')]='';this['domainport']='';this[_0xf015('0xa')]='';this[_0xf015('0xb')]=_0xf015('0x3');this['registrationtime']='';this['address']='';this[_0xf015('0xc')]=_0x3b3af4[_0xf015('0xc')]||'';}module['exports']=Trunk;