761f6b103c4f5624a90dab87c3f90001bb544936
[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 _0xfbfa=['refresh','stateRegistry','registrationtime','address','defaultuser','exports','active','name','state','unknown','stateTime','status','registry','indexOf','split','host','port','domainport'];(function(_0x5d7965,_0x44010c){var _0x20c8bd=function(_0x16163c){while(--_0x16163c){_0x5d7965['push'](_0x5d7965['shift']());}};_0x20c8bd(++_0x44010c);}(_0xfbfa,0x114));var _0xafbf=function(_0x3027b1,_0x282484){_0x3027b1=_0x3027b1-0x0;var _0x59447f=_0xfbfa[_0x3027b1];return _0x59447f;};'use strict';function Trunk(_0x24e662){this['id']=_0x24e662['id']||0x0;this[_0xafbf('0x0')]=_0x24e662[_0xafbf('0x0')]||![];this[_0xafbf('0x1')]=_0x24e662[_0xafbf('0x1')]||'';this[_0xafbf('0x2')]=_0xafbf('0x3');this[_0xafbf('0x4')]=0x0;this[_0xafbf('0x5')]=_0xafbf('0x3');this['registry']=_0x24e662[_0xafbf('0x6')]&&_0x24e662[_0xafbf('0x6')][_0xafbf('0x7')](':')?_0x24e662[_0xafbf('0x6')][_0xafbf('0x8')](':')[0x0]:'';this[_0xafbf('0x9')]='';this[_0xafbf('0xa')]='';this['domain']='';this[_0xafbf('0xb')]='';this[_0xafbf('0xc')]='';this[_0xafbf('0xd')]='unknown';this[_0xafbf('0xe')]='';this[_0xafbf('0xf')]='';this[_0xafbf('0x10')]=_0x24e662[_0xafbf('0x10')]||'';}module[_0xafbf('0x11')]=Trunk;