f16cc4d0649ae5b31de25338099cb4dd16dfd0f8
[motion2.git] / server / services / ami / model / trunk.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xcf82=['domainport','refresh','stateRegistry','address','exports','active','name','state','unknown','stateTime','status','registry','indexOf','split','port','domain'];(function(_0x37b67e,_0x2c3ceb){var _0x2072bf=function(_0x4f2d2b){while(--_0x4f2d2b){_0x37b67e['push'](_0x37b67e['shift']());}};_0x2072bf(++_0x2c3ceb);}(_0xcf82,0x165));var _0x2cf8=function(_0x42977e,_0x4e7963){_0x42977e=_0x42977e-0x0;var _0x29eca9=_0xcf82[_0x42977e];return _0x29eca9;};'use strict';function Trunk(_0xad4697){this['id']=_0xad4697['id']||0x0;this[_0x2cf8('0x0')]=_0xad4697[_0x2cf8('0x0')]||![];this[_0x2cf8('0x1')]=_0xad4697['name']||'';this[_0x2cf8('0x2')]=_0x2cf8('0x3');this[_0x2cf8('0x4')]=0x0;this[_0x2cf8('0x5')]=_0x2cf8('0x3');this[_0x2cf8('0x6')]=_0xad4697[_0x2cf8('0x6')]&&_0xad4697[_0x2cf8('0x6')][_0x2cf8('0x7')](':')?_0xad4697[_0x2cf8('0x6')][_0x2cf8('0x8')](':')[0x0]:'';this['host']='';this[_0x2cf8('0x9')]='';this[_0x2cf8('0xa')]='';this[_0x2cf8('0xb')]='';this[_0x2cf8('0xc')]='';this[_0x2cf8('0xd')]=_0x2cf8('0x3');this['registrationtime']='';this[_0x2cf8('0xe')]='';}module[_0x2cf8('0xf')]=Trunk;