Built motion from commit (unavailable).|2.4.18
[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 _0x103f=['registrationtime','exports','active','name','unknown','stateTime','status','registry','host','port','domain','domainport','refresh','stateRegistry'];(function(_0x5cbcba,_0x900c2){var _0x3fcc42=function(_0x91bbf9){while(--_0x91bbf9){_0x5cbcba['push'](_0x5cbcba['shift']());}};_0x3fcc42(++_0x900c2);}(_0x103f,0xe2));var _0xf103=function(_0x4343b4,_0x1a9a7d){_0x4343b4=_0x4343b4-0x0;var _0x545f64=_0x103f[_0x4343b4];return _0x545f64;};'use strict';function Trunk(_0x15719e){this['id']=_0x15719e['id']||0x0;this[_0xf103('0x0')]=_0x15719e[_0xf103('0x0')]||![];this[_0xf103('0x1')]=_0x15719e[_0xf103('0x1')]||'';this['state']=_0xf103('0x2');this[_0xf103('0x3')]=0x0;this[_0xf103('0x4')]=_0xf103('0x2');this[_0xf103('0x5')]=_0x15719e[_0xf103('0x5')]&&_0x15719e[_0xf103('0x5')]['indexOf'](':')?_0x15719e[_0xf103('0x5')]['split'](':')[0x0]:'';this[_0xf103('0x6')]='';this[_0xf103('0x7')]='';this[_0xf103('0x8')]='';this[_0xf103('0x9')]='';this[_0xf103('0xa')]='';this[_0xf103('0xb')]=_0xf103('0x2');this[_0xf103('0xc')]='';this['address']='';}module[_0xf103('0xd')]=Trunk;