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 _0x0b28=['unknown','stateTime','status','registry','indexOf','split','host','domainport','refresh','stateRegistry','registrationtime','defaultuser','exports','active','name'];(function(_0x36c5b0,_0x5001da){var _0xf19333=function(_0x1e880a){while(--_0x1e880a){_0x36c5b0['push'](_0x36c5b0['shift']());}};_0xf19333(++_0x5001da);}(_0x0b28,0xc1));var _0x80b2=function(_0x87b0ff,_0x314389){_0x87b0ff=_0x87b0ff-0x0;var _0x3bc0b2=_0x0b28[_0x87b0ff];return _0x3bc0b2;};'use strict';function Trunk(_0x53a36f){this['id']=_0x53a36f['id']||0x0;this[_0x80b2('0x0')]=_0x53a36f[_0x80b2('0x0')]||![];this[_0x80b2('0x1')]=_0x53a36f['name']||'';this['state']=_0x80b2('0x2');this[_0x80b2('0x3')]=0x0;this[_0x80b2('0x4')]='unknown';this['registry']=_0x53a36f[_0x80b2('0x5')]&&_0x53a36f[_0x80b2('0x5')][_0x80b2('0x6')](':')?_0x53a36f[_0x80b2('0x5')][_0x80b2('0x7')](':')[0x0]:'';this[_0x80b2('0x8')]='';this['port']='';this['domain']='';this[_0x80b2('0x9')]='';this[_0x80b2('0xa')]='';this[_0x80b2('0xb')]=_0x80b2('0x2');this[_0x80b2('0xc')]='';this['address']='';this['defaultuser']=_0x53a36f[_0x80b2('0xd')]||'';}module[_0x80b2('0xe')]=Trunk;