1e2a195312bf806b99f1ea81ca10d9479c9931a4
[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 _0x1e66=['refresh','stateRegistry','registrationtime','address','defaultuser','exports','active','name','state','unknown','status','registry','split','host','port','domain','domainport'];(function(_0x5ca6f3,_0x125ba4){var _0x416675=function(_0x3339cc){while(--_0x3339cc){_0x5ca6f3['push'](_0x5ca6f3['shift']());}};_0x416675(++_0x125ba4);}(_0x1e66,0x19e));var _0x61e6=function(_0x39096d,_0x51f8a0){_0x39096d=_0x39096d-0x0;var _0x13da4f=_0x1e66[_0x39096d];return _0x13da4f;};'use strict';function Trunk(_0x554ac3){this['id']=_0x554ac3['id']||0x0;this[_0x61e6('0x0')]=_0x554ac3['active']||![];this[_0x61e6('0x1')]=_0x554ac3[_0x61e6('0x1')]||'';this[_0x61e6('0x2')]=_0x61e6('0x3');this['stateTime']=0x0;this[_0x61e6('0x4')]=_0x61e6('0x3');this[_0x61e6('0x5')]=_0x554ac3[_0x61e6('0x5')]&&_0x554ac3[_0x61e6('0x5')]['indexOf'](':')?_0x554ac3[_0x61e6('0x5')][_0x61e6('0x6')](':')[0x0]:'';this[_0x61e6('0x7')]='';this[_0x61e6('0x8')]='';this[_0x61e6('0x9')]='';this[_0x61e6('0xa')]='';this[_0x61e6('0xb')]='';this[_0x61e6('0xc')]='unknown';this[_0x61e6('0xd')]='';this[_0x61e6('0xe')]='';this[_0x61e6('0xf')]=_0x554ac3[_0x61e6('0xf')]||'';}module[_0x61e6('0x10')]=Trunk;