Built motion from commit 753c950e.|2.5.42
[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 _0xdc8a=['indexOf','split','host','port','domain','domainport','refresh','stateRegistry','registrationtime','address','defaultuser','exports','active','name','state','unknown','stateTime','status','registry'];(function(_0x4b369d,_0x265eb8){var _0x571a98=function(_0x56341a){while(--_0x56341a){_0x4b369d['push'](_0x4b369d['shift']());}};_0x571a98(++_0x265eb8);}(_0xdc8a,0xca));var _0xadc8=function(_0x4106fc,_0x2dbeac){_0x4106fc=_0x4106fc-0x0;var _0x54f44a=_0xdc8a[_0x4106fc];return _0x54f44a;};'use strict';function Trunk(_0x1d86bc){this['id']=_0x1d86bc['id']||0x0;this['active']=_0x1d86bc[_0xadc8('0x0')]||![];this[_0xadc8('0x1')]=_0x1d86bc['name']||'';this[_0xadc8('0x2')]=_0xadc8('0x3');this[_0xadc8('0x4')]=0x0;this[_0xadc8('0x5')]=_0xadc8('0x3');this[_0xadc8('0x6')]=_0x1d86bc[_0xadc8('0x6')]&&_0x1d86bc[_0xadc8('0x6')][_0xadc8('0x7')](':')?_0x1d86bc[_0xadc8('0x6')][_0xadc8('0x8')](':')[0x0]:'';this[_0xadc8('0x9')]='';this[_0xadc8('0xa')]='';this[_0xadc8('0xb')]='';this[_0xadc8('0xc')]='';this[_0xadc8('0xd')]='';this[_0xadc8('0xe')]=_0xadc8('0x3');this[_0xadc8('0xf')]='';this[_0xadc8('0x10')]='';this[_0xadc8('0x11')]=_0x1d86bc[_0xadc8('0x11')]||'';}module[_0xadc8('0x12')]=Trunk;