Built motion from commit (unavailable).|2.5.26
[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 _0xded4=['registry','indexOf','split','host','port','domain','refresh','registrationtime','address','exports','active','name','state','unknown','stateTime','status'];(function(_0x5e1e25,_0xdc1421){var _0x548e5f=function(_0x576360){while(--_0x576360){_0x5e1e25['push'](_0x5e1e25['shift']());}};_0x548e5f(++_0xdc1421);}(_0xded4,0x14a));var _0x4ded=function(_0x27bfd4,_0xa301e4){_0x27bfd4=_0x27bfd4-0x0;var _0x4c5fd6=_0xded4[_0x27bfd4];return _0x4c5fd6;};'use strict';function Trunk(_0x1ac3af){this['id']=_0x1ac3af['id']||0x0;this['active']=_0x1ac3af[_0x4ded('0x0')]||![];this[_0x4ded('0x1')]=_0x1ac3af[_0x4ded('0x1')]||'';this[_0x4ded('0x2')]=_0x4ded('0x3');this[_0x4ded('0x4')]=0x0;this[_0x4ded('0x5')]=_0x4ded('0x3');this[_0x4ded('0x6')]=_0x1ac3af[_0x4ded('0x6')]&&_0x1ac3af[_0x4ded('0x6')][_0x4ded('0x7')](':')?_0x1ac3af[_0x4ded('0x6')][_0x4ded('0x8')](':')[0x0]:'';this[_0x4ded('0x9')]='';this[_0x4ded('0xa')]='';this[_0x4ded('0xb')]='';this['domainport']='';this[_0x4ded('0xc')]='';this['stateRegistry']=_0x4ded('0x3');this[_0x4ded('0xd')]='';this[_0x4ded('0xe')]='';}module[_0x4ded('0xf')]=Trunk;