Built motion from commit (unavailable).|2.5.2
[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 _0x200a=['host','domain','domainport','refresh','stateRegistry','registrationtime','address','exports','active','name','state','unknown','status','registry','indexOf','split'];(function(_0x31dd79,_0x40cff6){var _0x53e477=function(_0x9abaf2){while(--_0x9abaf2){_0x31dd79['push'](_0x31dd79['shift']());}};_0x53e477(++_0x40cff6);}(_0x200a,0xf8));var _0xa200=function(_0x5e28c2,_0x1e48ab){_0x5e28c2=_0x5e28c2-0x0;var _0x1a8cc6=_0x200a[_0x5e28c2];return _0x1a8cc6;};'use strict';function Trunk(_0x57c4c4){this['id']=_0x57c4c4['id']||0x0;this[_0xa200('0x0')]=_0x57c4c4['active']||![];this[_0xa200('0x1')]=_0x57c4c4['name']||'';this[_0xa200('0x2')]=_0xa200('0x3');this['stateTime']=0x0;this[_0xa200('0x4')]=_0xa200('0x3');this[_0xa200('0x5')]=_0x57c4c4[_0xa200('0x5')]&&_0x57c4c4['registry'][_0xa200('0x6')](':')?_0x57c4c4[_0xa200('0x5')][_0xa200('0x7')](':')[0x0]:'';this[_0xa200('0x8')]='';this['port']='';this[_0xa200('0x9')]='';this[_0xa200('0xa')]='';this[_0xa200('0xb')]='';this[_0xa200('0xc')]='unknown';this[_0xa200('0xd')]='';this[_0xa200('0xe')]='';}module[_0xa200('0xf')]=Trunk;