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 _0xcfd4=['status','registry','port','domain','domainport','refresh','stateRegistry','active','name','state','unknown','stateTime'];(function(_0x285a42,_0x395ef3){var _0x35c8c4=function(_0x2ced4d){while(--_0x2ced4d){_0x285a42['push'](_0x285a42['shift']());}};_0x35c8c4(++_0x395ef3);}(_0xcfd4,0xf7));var _0x4cfd=function(_0x1c1089,_0x473045){_0x1c1089=_0x1c1089-0x0;var _0x2d2569=_0xcfd4[_0x1c1089];return _0x2d2569;};'use strict';function Trunk(_0x1d9e66){this['id']=_0x1d9e66['id']||0x0;this[_0x4cfd('0x0')]=_0x1d9e66[_0x4cfd('0x0')]||![];this[_0x4cfd('0x1')]=_0x1d9e66[_0x4cfd('0x1')]||'';this[_0x4cfd('0x2')]=_0x4cfd('0x3');this[_0x4cfd('0x4')]=0x0;this[_0x4cfd('0x5')]=_0x4cfd('0x3');this[_0x4cfd('0x6')]=_0x1d9e66['registry']&&_0x1d9e66['registry']['indexOf'](':')?_0x1d9e66[_0x4cfd('0x6')]['split'](':')[0x0]:'';this['host']='';this[_0x4cfd('0x7')]='';this[_0x4cfd('0x8')]='';this[_0x4cfd('0x9')]='';this[_0x4cfd('0xa')]='';this[_0x4cfd('0xb')]=_0x4cfd('0x3');this['registrationtime']='';this['address']='';}module['exports']=Trunk;