5a1ff78fa0d6d7fa15ce562ce4ca0fd5f913b95a
[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 _0x4c95=['active','name','state','unknown','stateTime','status','registry','split','host','port','domain','domainport','refresh','registrationtime','address','exports'];(function(_0x4c3296,_0x262566){var _0x5260de=function(_0x2543c6){while(--_0x2543c6){_0x4c3296['push'](_0x4c3296['shift']());}};_0x5260de(++_0x262566);}(_0x4c95,0x180));var _0x54c9=function(_0x138d6d,_0x4dc6f9){_0x138d6d=_0x138d6d-0x0;var _0x3f080a=_0x4c95[_0x138d6d];return _0x3f080a;};'use strict';function Trunk(_0x31acf9){this['id']=_0x31acf9['id']||0x0;this[_0x54c9('0x0')]=_0x31acf9[_0x54c9('0x0')]||![];this[_0x54c9('0x1')]=_0x31acf9[_0x54c9('0x1')]||'';this[_0x54c9('0x2')]=_0x54c9('0x3');this[_0x54c9('0x4')]=0x0;this[_0x54c9('0x5')]=_0x54c9('0x3');this['registry']=_0x31acf9[_0x54c9('0x6')]&&_0x31acf9['registry']['indexOf'](':')?_0x31acf9[_0x54c9('0x6')][_0x54c9('0x7')](':')[0x0]:'';this[_0x54c9('0x8')]='';this[_0x54c9('0x9')]='';this[_0x54c9('0xa')]='';this[_0x54c9('0xb')]='';this[_0x54c9('0xc')]='';this['stateRegistry']='unknown';this[_0x54c9('0xd')]='';this[_0x54c9('0xe')]='';}module[_0x54c9('0xf')]=Trunk;