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 _0xae75=['defaultuser','exports','active','name','state','unknown','stateTime','status','registry','indexOf','split','host','port','domain','refresh','stateRegistry','address'];(function(_0x5c2e65,_0x20e630){var _0x445359=function(_0x2588d4){while(--_0x2588d4){_0x5c2e65['push'](_0x5c2e65['shift']());}};_0x445359(++_0x20e630);}(_0xae75,0xce));var _0x5ae7=function(_0x356cdf,_0x40aff4){_0x356cdf=_0x356cdf-0x0;var _0x25a343=_0xae75[_0x356cdf];return _0x25a343;};'use strict';function Trunk(_0x9482a0){this['id']=_0x9482a0['id']||0x0;this[_0x5ae7('0x0')]=_0x9482a0['active']||![];this[_0x5ae7('0x1')]=_0x9482a0[_0x5ae7('0x1')]||'';this[_0x5ae7('0x2')]=_0x5ae7('0x3');this[_0x5ae7('0x4')]=0x0;this[_0x5ae7('0x5')]=_0x5ae7('0x3');this[_0x5ae7('0x6')]=_0x9482a0[_0x5ae7('0x6')]&&_0x9482a0[_0x5ae7('0x6')][_0x5ae7('0x7')](':')?_0x9482a0[_0x5ae7('0x6')][_0x5ae7('0x8')](':')[0x0]:'';this[_0x5ae7('0x9')]='';this[_0x5ae7('0xa')]='';this[_0x5ae7('0xb')]='';this['domainport']='';this[_0x5ae7('0xc')]='';this[_0x5ae7('0xd')]='unknown';this['registrationtime']='';this[_0x5ae7('0xe')]='';this[_0x5ae7('0xf')]=_0x9482a0['defaultuser']||'';}module[_0x5ae7('0x10')]=Trunk;