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 _0x005f=['stateRegistry','registrationtime','active','name','unknown','stateTime','status','registry','split','host','port','domain','refresh'];(function(_0x1cba50,_0x18e32b){var _0x1717b2=function(_0x3cb3cd){while(--_0x3cb3cd){_0x1cba50['push'](_0x1cba50['shift']());}};_0x1717b2(++_0x18e32b);}(_0x005f,0x161));var _0xf005=function(_0x262cf3,_0x5d4f5c){_0x262cf3=_0x262cf3-0x0;var _0x182dfd=_0x005f[_0x262cf3];return _0x182dfd;};'use strict';function Trunk(_0x58020e){this['id']=_0x58020e['id']||0x0;this[_0xf005('0x0')]=_0x58020e[_0xf005('0x0')]||![];this['name']=_0x58020e[_0xf005('0x1')]||'';this['state']=_0xf005('0x2');this[_0xf005('0x3')]=0x0;this[_0xf005('0x4')]=_0xf005('0x2');this[_0xf005('0x5')]=_0x58020e[_0xf005('0x5')]&&_0x58020e['registry']['indexOf'](':')?_0x58020e[_0xf005('0x5')][_0xf005('0x6')](':')[0x0]:'';this[_0xf005('0x7')]='';this[_0xf005('0x8')]='';this[_0xf005('0x9')]='';this['domainport']='';this[_0xf005('0xa')]='';this[_0xf005('0xb')]='unknown';this[_0xf005('0xc')]='';this['address']='';}module['exports']=Trunk;