Built motion from commit (unavailable).|2.5.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 _0x4e16=['name','unknown','stateTime','status','registry','indexOf','split','port','domainport','refresh','stateRegistry','registrationtime','address','exports','active'];(function(_0x59e86b,_0x245ea1){var _0x4d8900=function(_0x163d95){while(--_0x163d95){_0x59e86b['push'](_0x59e86b['shift']());}};_0x4d8900(++_0x245ea1);}(_0x4e16,0x1ee));var _0x64e1=function(_0x562219,_0x538e13){_0x562219=_0x562219-0x0;var _0x208fa5=_0x4e16[_0x562219];return _0x208fa5;};'use strict';function Trunk(_0x427db4){this['id']=_0x427db4['id']||0x0;this[_0x64e1('0x0')]=_0x427db4[_0x64e1('0x0')]||![];this[_0x64e1('0x1')]=_0x427db4[_0x64e1('0x1')]||'';this['state']=_0x64e1('0x2');this[_0x64e1('0x3')]=0x0;this[_0x64e1('0x4')]='unknown';this['registry']=_0x427db4[_0x64e1('0x5')]&&_0x427db4[_0x64e1('0x5')][_0x64e1('0x6')](':')?_0x427db4[_0x64e1('0x5')][_0x64e1('0x7')](':')[0x0]:'';this['host']='';this[_0x64e1('0x8')]='';this['domain']='';this[_0x64e1('0x9')]='';this[_0x64e1('0xa')]='';this[_0x64e1('0xb')]=_0x64e1('0x2');this[_0x64e1('0xc')]='';this[_0x64e1('0xd')]='';}module[_0x64e1('0xe')]=Trunk;