Built motion from commit (unavailable).|2.5.31
[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 _0xd3ef=['active','name','unknown','status','registry','split','host','port','domain','domainport','stateRegistry','registrationtime','address','defaultuser','exports'];(function(_0x19b37f,_0x49738b){var _0x5113c8=function(_0x518529){while(--_0x518529){_0x19b37f['push'](_0x19b37f['shift']());}};_0x5113c8(++_0x49738b);}(_0xd3ef,0x69));var _0xfd3e=function(_0x1b5291,_0x49a89f){_0x1b5291=_0x1b5291-0x0;var _0x3c228d=_0xd3ef[_0x1b5291];return _0x3c228d;};'use strict';function Trunk(_0x49ffe1){this['id']=_0x49ffe1['id']||0x0;this['active']=_0x49ffe1[_0xfd3e('0x0')]||![];this[_0xfd3e('0x1')]=_0x49ffe1[_0xfd3e('0x1')]||'';this['state']=_0xfd3e('0x2');this['stateTime']=0x0;this[_0xfd3e('0x3')]='unknown';this[_0xfd3e('0x4')]=_0x49ffe1['registry']&&_0x49ffe1['registry']['indexOf'](':')?_0x49ffe1[_0xfd3e('0x4')][_0xfd3e('0x5')](':')[0x0]:'';this[_0xfd3e('0x6')]='';this[_0xfd3e('0x7')]='';this[_0xfd3e('0x8')]='';this[_0xfd3e('0x9')]='';this['refresh']='';this[_0xfd3e('0xa')]=_0xfd3e('0x2');this[_0xfd3e('0xb')]='';this[_0xfd3e('0xc')]='';this[_0xfd3e('0xd')]=_0x49ffe1['defaultuser']||'';}module[_0xfd3e('0xe')]=Trunk;