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 _0xd8b4=['indexOf','split','host','domain','refresh','stateRegistry','address','exports','active','name','state','unknown','registry'];(function(_0x43a602,_0x4fe4ef){var _0x5b085c=function(_0xf6f6c4){while(--_0xf6f6c4){_0x43a602['push'](_0x43a602['shift']());}};_0x5b085c(++_0x4fe4ef);}(_0xd8b4,0xff));var _0x4d8b=function(_0x25e4ff,_0x426997){_0x25e4ff=_0x25e4ff-0x0;var _0xd072a2=_0xd8b4[_0x25e4ff];return _0xd072a2;};'use strict';function Trunk(_0x19c106){this['id']=_0x19c106['id']||0x0;this[_0x4d8b('0x0')]=_0x19c106[_0x4d8b('0x0')]||![];this['name']=_0x19c106[_0x4d8b('0x1')]||'';this[_0x4d8b('0x2')]=_0x4d8b('0x3');this['stateTime']=0x0;this['status']=_0x4d8b('0x3');this[_0x4d8b('0x4')]=_0x19c106[_0x4d8b('0x4')]&&_0x19c106['registry'][_0x4d8b('0x5')](':')?_0x19c106[_0x4d8b('0x4')][_0x4d8b('0x6')](':')[0x0]:'';this[_0x4d8b('0x7')]='';this['port']='';this[_0x4d8b('0x8')]='';this['domainport']='';this[_0x4d8b('0x9')]='';this[_0x4d8b('0xa')]=_0x4d8b('0x3');this['registrationtime']='';this[_0x4d8b('0xb')]='';}module[_0x4d8b('0xc')]=Trunk;