Built motion from commit 14588770.|2.5.38
[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 _0xce5c=['name','state','unknown','stateTime','status','registry','split','port','domain','domainport','refresh','stateRegistry','registrationtime','address','exports','active'];(function(_0x257642,_0x270a80){var _0x3d813b=function(_0x2a1c8a){while(--_0x2a1c8a){_0x257642['push'](_0x257642['shift']());}};_0x3d813b(++_0x270a80);}(_0xce5c,0x9f));var _0xcce5=function(_0x2ae2ad,_0xac5b0c){_0x2ae2ad=_0x2ae2ad-0x0;var _0x26dbd7=_0xce5c[_0x2ae2ad];return _0x26dbd7;};'use strict';function Trunk(_0x1cee32){this['id']=_0x1cee32['id']||0x0;this[_0xcce5('0x0')]=_0x1cee32['active']||![];this[_0xcce5('0x1')]=_0x1cee32[_0xcce5('0x1')]||'';this[_0xcce5('0x2')]=_0xcce5('0x3');this[_0xcce5('0x4')]=0x0;this[_0xcce5('0x5')]='unknown';this[_0xcce5('0x6')]=_0x1cee32['registry']&&_0x1cee32[_0xcce5('0x6')]['indexOf'](':')?_0x1cee32[_0xcce5('0x6')][_0xcce5('0x7')](':')[0x0]:'';this['host']='';this[_0xcce5('0x8')]='';this[_0xcce5('0x9')]='';this[_0xcce5('0xa')]='';this[_0xcce5('0xb')]='';this[_0xcce5('0xc')]=_0xcce5('0x3');this[_0xcce5('0xd')]='';this[_0xcce5('0xe')]='';this['defaultuser']=_0x1cee32['defaultuser']||'';}module[_0xcce5('0xf')]=Trunk;