8c03d3e49aab21f08cfed8c567889baa0e3fc0e4
[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 _0xd012=['split','host','domain','domainport','stateRegistry','registrationtime','address','defaultuser','exports','name','state','unknown','stateTime','status','registry','indexOf'];(function(_0xfae23b,_0x2be4ba){var _0x200640=function(_0x4ae258){while(--_0x4ae258){_0xfae23b['push'](_0xfae23b['shift']());}};_0x200640(++_0x2be4ba);}(_0xd012,0xf9));var _0x2d01=function(_0xf73e18,_0x264b64){_0xf73e18=_0xf73e18-0x0;var _0x1ceac5=_0xd012[_0xf73e18];return _0x1ceac5;};'use strict';function Trunk(_0x484e98){this['id']=_0x484e98['id']||0x0;this['active']=_0x484e98['active']||![];this['name']=_0x484e98[_0x2d01('0x0')]||'';this[_0x2d01('0x1')]=_0x2d01('0x2');this[_0x2d01('0x3')]=0x0;this[_0x2d01('0x4')]=_0x2d01('0x2');this[_0x2d01('0x5')]=_0x484e98['registry']&&_0x484e98[_0x2d01('0x5')][_0x2d01('0x6')](':')?_0x484e98[_0x2d01('0x5')][_0x2d01('0x7')](':')[0x0]:'';this[_0x2d01('0x8')]='';this['port']='';this[_0x2d01('0x9')]='';this[_0x2d01('0xa')]='';this['refresh']='';this[_0x2d01('0xb')]=_0x2d01('0x2');this[_0x2d01('0xc')]='';this[_0x2d01('0xd')]='';this[_0x2d01('0xe')]=_0x484e98[_0x2d01('0xe')]||'';}module[_0x2d01('0xf')]=Trunk;