Built motion from commit (unavailable).|2.5.29
[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 _0x90e9=['unknown','registry','host','port','domain','refresh','registrationtime','address','exports','active','name','stateTime','status'];(function(_0x2d8da7,_0x31da56){var _0x19852c=function(_0x71df5){while(--_0x71df5){_0x2d8da7['push'](_0x2d8da7['shift']());}};_0x19852c(++_0x31da56);}(_0x90e9,0x10d));var _0x990e=function(_0x24ebe0,_0x29b471){_0x24ebe0=_0x24ebe0-0x0;var _0x58fe74=_0x90e9[_0x24ebe0];return _0x58fe74;};'use strict';function Trunk(_0x127abc){this['id']=_0x127abc['id']||0x0;this[_0x990e('0x0')]=_0x127abc[_0x990e('0x0')]||![];this['name']=_0x127abc[_0x990e('0x1')]||'';this['state']='unknown';this[_0x990e('0x2')]=0x0;this[_0x990e('0x3')]=_0x990e('0x4');this[_0x990e('0x5')]=_0x127abc['registry']&&_0x127abc[_0x990e('0x5')]['indexOf'](':')?_0x127abc['registry']['split'](':')[0x0]:'';this[_0x990e('0x6')]='';this[_0x990e('0x7')]='';this[_0x990e('0x8')]='';this['domainport']='';this[_0x990e('0x9')]='';this['stateRegistry']=_0x990e('0x4');this[_0x990e('0xa')]='';this[_0x990e('0xb')]='';}module[_0x990e('0xc')]=Trunk;