Built motion from commit (unavailable).|2.4.4
[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 _0x2f1f=['address','exports','active','state','unknown','status','registry','split','port','domainport','refresh','stateRegistry','registrationtime'];(function(_0x270268,_0x426db1){var _0x2c6629=function(_0x34d510){while(--_0x34d510){_0x270268['push'](_0x270268['shift']());}};_0x2c6629(++_0x426db1);}(_0x2f1f,0x1bc));var _0xf2f1=function(_0x2a331d,_0x2b6172){_0x2a331d=_0x2a331d-0x0;var _0x4cf600=_0x2f1f[_0x2a331d];return _0x4cf600;};'use strict';function Trunk(_0x5e6291){this['id']=_0x5e6291['id']||0x0;this[_0xf2f1('0x0')]=_0x5e6291['active']||![];this['name']=_0x5e6291['name']||'';this[_0xf2f1('0x1')]=_0xf2f1('0x2');this['stateTime']=0x0;this[_0xf2f1('0x3')]=_0xf2f1('0x2');this[_0xf2f1('0x4')]=_0x5e6291['registry']&&_0x5e6291[_0xf2f1('0x4')]['indexOf'](':')?_0x5e6291[_0xf2f1('0x4')][_0xf2f1('0x5')](':')[0x0]:'';this['host']='';this[_0xf2f1('0x6')]='';this['domain']='';this[_0xf2f1('0x7')]='';this[_0xf2f1('0x8')]='';this[_0xf2f1('0x9')]=_0xf2f1('0x2');this[_0xf2f1('0xa')]='';this[_0xf2f1('0xb')]='';}module[_0xf2f1('0xc')]=Trunk;