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 _0x4de3=['defaultuser','exports','active','name','unknown','stateTime','status','registry','indexOf','split','host','port','domainport','stateRegistry','registrationtime','address'];(function(_0x45786c,_0x30409b){var _0x5075bb=function(_0x5e1af9){while(--_0x5e1af9){_0x45786c['push'](_0x45786c['shift']());}};_0x5075bb(++_0x30409b);}(_0x4de3,0x1b2));var _0x34de=function(_0x4b42c7,_0x48d4e6){_0x4b42c7=_0x4b42c7-0x0;var _0x2eb2a4=_0x4de3[_0x4b42c7];return _0x2eb2a4;};'use strict';function Trunk(_0x3f6ef9){this['id']=_0x3f6ef9['id']||0x0;this[_0x34de('0x0')]=_0x3f6ef9[_0x34de('0x0')]||![];this['name']=_0x3f6ef9[_0x34de('0x1')]||'';this['state']=_0x34de('0x2');this[_0x34de('0x3')]=0x0;this[_0x34de('0x4')]=_0x34de('0x2');this['registry']=_0x3f6ef9[_0x34de('0x5')]&&_0x3f6ef9['registry'][_0x34de('0x6')](':')?_0x3f6ef9[_0x34de('0x5')][_0x34de('0x7')](':')[0x0]:'';this[_0x34de('0x8')]='';this[_0x34de('0x9')]='';this['domain']='';this[_0x34de('0xa')]='';this['refresh']='';this[_0x34de('0xb')]=_0x34de('0x2');this[_0x34de('0xc')]='';this[_0x34de('0xd')]='';this[_0x34de('0xe')]=_0x3f6ef9[_0x34de('0xe')]||'';}module[_0x34de('0xf')]=Trunk;