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 _0x52ab=['unknown','registry','indexOf','host','port','domain','refresh','registrationtime','address','defaultuser','active','name','state','stateTime','status'];(function(_0x380a91,_0x30f325){var _0x580853=function(_0x4cb00b){while(--_0x4cb00b){_0x380a91['push'](_0x380a91['shift']());}};_0x580853(++_0x30f325);}(_0x52ab,0x154));var _0xb52a=function(_0x5b154d,_0xa2d1e1){_0x5b154d=_0x5b154d-0x0;var _0x3899b3=_0x52ab[_0x5b154d];return _0x3899b3;};'use strict';function Trunk(_0x5b81bc){this['id']=_0x5b81bc['id']||0x0;this[_0xb52a('0x0')]=_0x5b81bc[_0xb52a('0x0')]||![];this[_0xb52a('0x1')]=_0x5b81bc['name']||'';this[_0xb52a('0x2')]='unknown';this[_0xb52a('0x3')]=0x0;this[_0xb52a('0x4')]=_0xb52a('0x5');this[_0xb52a('0x6')]=_0x5b81bc['registry']&&_0x5b81bc[_0xb52a('0x6')][_0xb52a('0x7')](':')?_0x5b81bc['registry']['split'](':')[0x0]:'';this[_0xb52a('0x8')]='';this[_0xb52a('0x9')]='';this[_0xb52a('0xa')]='';this['domainport']='';this[_0xb52a('0xb')]='';this['stateRegistry']=_0xb52a('0x5');this[_0xb52a('0xc')]='';this[_0xb52a('0xd')]='';this[_0xb52a('0xe')]=_0x5b81bc[_0xb52a('0xe')]||'';}module['exports']=Trunk;