Built motion from commit (unavailable).|2.5.30
[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 _0x2a3f=['registry','indexOf','split','host','refresh','unknown','registrationtime','exports','active','name','state','stateTime','status'];(function(_0x4eb4ad,_0x183488){var _0x1312b2=function(_0x19aabe){while(--_0x19aabe){_0x4eb4ad['push'](_0x4eb4ad['shift']());}};_0x1312b2(++_0x183488);}(_0x2a3f,0x126));var _0xf2a3=function(_0x252328,_0x4c22f0){_0x252328=_0x252328-0x0;var _0xaa85b7=_0x2a3f[_0x252328];return _0xaa85b7;};'use strict';function Trunk(_0x469f4e){this['id']=_0x469f4e['id']||0x0;this['active']=_0x469f4e[_0xf2a3('0x0')]||![];this[_0xf2a3('0x1')]=_0x469f4e['name']||'';this[_0xf2a3('0x2')]='unknown';this[_0xf2a3('0x3')]=0x0;this[_0xf2a3('0x4')]='unknown';this[_0xf2a3('0x5')]=_0x469f4e[_0xf2a3('0x5')]&&_0x469f4e[_0xf2a3('0x5')][_0xf2a3('0x6')](':')?_0x469f4e['registry'][_0xf2a3('0x7')](':')[0x0]:'';this[_0xf2a3('0x8')]='';this['port']='';this['domain']='';this['domainport']='';this[_0xf2a3('0x9')]='';this['stateRegistry']=_0xf2a3('0xa');this[_0xf2a3('0xb')]='';this['address']='';}module[_0xf2a3('0xc')]=Trunk;