Built motion from commit (unavailable).|2.2.2
[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 _0x7cbf=['registrationtime','address','exports','active','state','registry','indexOf','split','host','domain','domainport','refresh','stateRegistry','unknown'];(function(_0x324e96,_0x5b47ed){var _0x825c09=function(_0x455aa6){while(--_0x455aa6){_0x324e96['push'](_0x324e96['shift']());}};_0x825c09(++_0x5b47ed);}(_0x7cbf,0x1ed));var _0xf7cb=function(_0x19f68a,_0x42736b){_0x19f68a=_0x19f68a-0x0;var _0x583c7e=_0x7cbf[_0x19f68a];return _0x583c7e;};'use strict';function Trunk(_0xdd3a5d){this['id']=_0xdd3a5d['id']||0x0;this[_0xf7cb('0x0')]=_0xdd3a5d[_0xf7cb('0x0')]||![];this['name']=_0xdd3a5d['name']||'';this[_0xf7cb('0x1')]='unknown';this['stateTime']=0x0;this['status']='unknown';this[_0xf7cb('0x2')]=_0xdd3a5d['registry']&&_0xdd3a5d['registry'][_0xf7cb('0x3')](':')?_0xdd3a5d[_0xf7cb('0x2')][_0xf7cb('0x4')](':')[0x0]:'';this[_0xf7cb('0x5')]='';this['port']='';this[_0xf7cb('0x6')]='';this[_0xf7cb('0x7')]='';this[_0xf7cb('0x8')]='';this[_0xf7cb('0x9')]=_0xf7cb('0xa');this[_0xf7cb('0xb')]='';this[_0xf7cb('0xc')]='';}module[_0xf7cb('0xd')]=Trunk;