bb8800a31b152b4fbaae10ee1d9e33b9cdf293ba
[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 _0xfacc=['registrationtime','exports','active','name','state','unknown','stateTime','registry','indexOf','split','port','domain'];(function(_0x217631,_0x12dbbd){var _0x242bba=function(_0x50aeec){while(--_0x50aeec){_0x217631['push'](_0x217631['shift']());}};_0x242bba(++_0x12dbbd);}(_0xfacc,0x1be));var _0xcfac=function(_0x31d217,_0xa38636){_0x31d217=_0x31d217-0x0;var _0x3eaacb=_0xfacc[_0x31d217];return _0x3eaacb;};'use strict';function Trunk(_0x14f0ab){this['id']=_0x14f0ab['id']||0x0;this[_0xcfac('0x0')]=_0x14f0ab[_0xcfac('0x0')]||![];this[_0xcfac('0x1')]=_0x14f0ab[_0xcfac('0x1')]||'';this[_0xcfac('0x2')]=_0xcfac('0x3');this[_0xcfac('0x4')]=0x0;this['status']=_0xcfac('0x3');this[_0xcfac('0x5')]=_0x14f0ab['registry']&&_0x14f0ab[_0xcfac('0x5')][_0xcfac('0x6')](':')?_0x14f0ab['registry'][_0xcfac('0x7')](':')[0x0]:'';this['host']='';this[_0xcfac('0x8')]='';this[_0xcfac('0x9')]='';this['domainport']='';this['refresh']='';this['stateRegistry']=_0xcfac('0x3');this[_0xcfac('0xa')]='';this['address']='';}module[_0xcfac('0xb')]=Trunk;