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 _0xe4ef=['registrationtime','address','defaultuser','active','name','unknown','stateTime','registry','domain','domainport','refresh','stateRegistry'];(function(_0x5d679c,_0x17ea65){var _0x351f15=function(_0x1fd968){while(--_0x1fd968){_0x5d679c['push'](_0x5d679c['shift']());}};_0x351f15(++_0x17ea65);}(_0xe4ef,0x1ef));var _0xfe4e=function(_0x177dba,_0x4d237c){_0x177dba=_0x177dba-0x0;var _0x19ce20=_0xe4ef[_0x177dba];return _0x19ce20;};'use strict';function Trunk(_0x514932){this['id']=_0x514932['id']||0x0;this[_0xfe4e('0x0')]=_0x514932[_0xfe4e('0x0')]||![];this[_0xfe4e('0x1')]=_0x514932[_0xfe4e('0x1')]||'';this['state']=_0xfe4e('0x2');this[_0xfe4e('0x3')]=0x0;this['status']=_0xfe4e('0x2');this[_0xfe4e('0x4')]=_0x514932[_0xfe4e('0x4')]&&_0x514932[_0xfe4e('0x4')]['indexOf'](':')?_0x514932[_0xfe4e('0x4')]['split'](':')[0x0]:'';this['host']='';this['port']='';this[_0xfe4e('0x5')]='';this[_0xfe4e('0x6')]='';this[_0xfe4e('0x7')]='';this[_0xfe4e('0x8')]=_0xfe4e('0x2');this[_0xfe4e('0x9')]='';this[_0xfe4e('0xa')]='';this[_0xfe4e('0xb')]=_0x514932[_0xfe4e('0xb')]||'';}module['exports']=Trunk;