Built motion from commit (unavailable).|2.4.17
[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 _0xdc0c=['stateRegistry','registrationtime','address','exports','active','name','state','unknown','registry','indexOf','host','port','domain','domainport','refresh'];(function(_0x36ed48,_0x1ee0d4){var _0x51c63a=function(_0x2d0a40){while(--_0x2d0a40){_0x36ed48['push'](_0x36ed48['shift']());}};_0x51c63a(++_0x1ee0d4);}(_0xdc0c,0x9a));var _0xcdc0=function(_0x33e743,_0x56a3aa){_0x33e743=_0x33e743-0x0;var _0x183056=_0xdc0c[_0x33e743];return _0x183056;};'use strict';function Trunk(_0x1a827){this['id']=_0x1a827['id']||0x0;this[_0xcdc0('0x0')]=_0x1a827['active']||![];this[_0xcdc0('0x1')]=_0x1a827[_0xcdc0('0x1')]||'';this[_0xcdc0('0x2')]=_0xcdc0('0x3');this['stateTime']=0x0;this['status']=_0xcdc0('0x3');this[_0xcdc0('0x4')]=_0x1a827[_0xcdc0('0x4')]&&_0x1a827[_0xcdc0('0x4')][_0xcdc0('0x5')](':')?_0x1a827[_0xcdc0('0x4')]['split'](':')[0x0]:'';this[_0xcdc0('0x6')]='';this[_0xcdc0('0x7')]='';this[_0xcdc0('0x8')]='';this[_0xcdc0('0x9')]='';this[_0xcdc0('0xa')]='';this[_0xcdc0('0xb')]=_0xcdc0('0x3');this[_0xcdc0('0xc')]='';this[_0xcdc0('0xd')]='';}module[_0xcdc0('0xe')]=Trunk;