53f67f6744345059bb4b18fbfa2298571348d970
[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 _0xabc0=['stateTime','status','registry','indexOf','split','host','port','domain','domainport','stateRegistry','registrationtime','address','exports','active','name','unknown'];(function(_0x3ceb54,_0x5bddfd){var _0x26d8a6=function(_0x32e484){while(--_0x32e484){_0x3ceb54['push'](_0x3ceb54['shift']());}};_0x26d8a6(++_0x5bddfd);}(_0xabc0,0x16d));var _0x0abc=function(_0x50432f,_0x4afa0e){_0x50432f=_0x50432f-0x0;var _0x53d9c0=_0xabc0[_0x50432f];return _0x53d9c0;};'use strict';function Trunk(_0x42f767){this['id']=_0x42f767['id']||0x0;this[_0x0abc('0x0')]=_0x42f767[_0x0abc('0x0')]||![];this[_0x0abc('0x1')]=_0x42f767[_0x0abc('0x1')]||'';this['state']=_0x0abc('0x2');this[_0x0abc('0x3')]=0x0;this[_0x0abc('0x4')]=_0x0abc('0x2');this['registry']=_0x42f767[_0x0abc('0x5')]&&_0x42f767[_0x0abc('0x5')][_0x0abc('0x6')](':')?_0x42f767['registry'][_0x0abc('0x7')](':')[0x0]:'';this[_0x0abc('0x8')]='';this[_0x0abc('0x9')]='';this[_0x0abc('0xa')]='';this[_0x0abc('0xb')]='';this['refresh']='';this[_0x0abc('0xc')]='unknown';this[_0x0abc('0xd')]='';this[_0x0abc('0xe')]='';}module[_0x0abc('0xf')]=Trunk;