Built motion from commit (unavailable).|2.5.6
[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 _0xcf0d=['name','state','stateTime','unknown','registry','indexOf','host','domain','refresh','stateRegistry','registrationtime','exports','active'];(function(_0x413feb,_0x10477f){var _0x40ee88=function(_0x32a3f6){while(--_0x32a3f6){_0x413feb['push'](_0x413feb['shift']());}};_0x40ee88(++_0x10477f);}(_0xcf0d,0x137));var _0xdcf0=function(_0x6cf2c7,_0x27a3a0){_0x6cf2c7=_0x6cf2c7-0x0;var _0x4d0752=_0xcf0d[_0x6cf2c7];return _0x4d0752;};'use strict';function Trunk(_0x12be2e){this['id']=_0x12be2e['id']||0x0;this['active']=_0x12be2e[_0xdcf0('0x0')]||![];this[_0xdcf0('0x1')]=_0x12be2e[_0xdcf0('0x1')]||'';this[_0xdcf0('0x2')]='unknown';this[_0xdcf0('0x3')]=0x0;this['status']=_0xdcf0('0x4');this[_0xdcf0('0x5')]=_0x12be2e[_0xdcf0('0x5')]&&_0x12be2e[_0xdcf0('0x5')][_0xdcf0('0x6')](':')?_0x12be2e['registry']['split'](':')[0x0]:'';this[_0xdcf0('0x7')]='';this['port']='';this[_0xdcf0('0x8')]='';this['domainport']='';this[_0xdcf0('0x9')]='';this[_0xdcf0('0xa')]=_0xdcf0('0x4');this[_0xdcf0('0xb')]='';this['address']='';}module[_0xdcf0('0xc')]=Trunk;