Built motion from commit (unavailable).|2.4.19
[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 _0x096a=['name','state','stateTime','status','unknown','registry','host','port','domain','domainport','refresh','stateRegistry','address','exports','active'];(function(_0x4da32c,_0x19a52e){var _0x24369d=function(_0x230766){while(--_0x230766){_0x4da32c['push'](_0x4da32c['shift']());}};_0x24369d(++_0x19a52e);}(_0x096a,0x1b2));var _0xa096=function(_0x359c18,_0x56cda1){_0x359c18=_0x359c18-0x0;var _0x40aed5=_0x096a[_0x359c18];return _0x40aed5;};'use strict';function Trunk(_0xfaa65a){this['id']=_0xfaa65a['id']||0x0;this['active']=_0xfaa65a[_0xa096('0x0')]||![];this[_0xa096('0x1')]=_0xfaa65a['name']||'';this[_0xa096('0x2')]='unknown';this[_0xa096('0x3')]=0x0;this[_0xa096('0x4')]=_0xa096('0x5');this[_0xa096('0x6')]=_0xfaa65a[_0xa096('0x6')]&&_0xfaa65a[_0xa096('0x6')]['indexOf'](':')?_0xfaa65a['registry']['split'](':')[0x0]:'';this[_0xa096('0x7')]='';this[_0xa096('0x8')]='';this[_0xa096('0x9')]='';this[_0xa096('0xa')]='';this[_0xa096('0xb')]='';this[_0xa096('0xc')]=_0xa096('0x5');this['registrationtime']='';this[_0xa096('0xd')]='';}module[_0xa096('0xe')]=Trunk;