Built motion from commit 25580385.|2.6.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 _0x739b=['registrationtime','address','defaultuser','exports','active','name','unknown','stateTime','status','registry','split','host','port','domainport','refresh','stateRegistry'];(function(_0x3101cb,_0x17b725){var _0x3f573f=function(_0x3311a2){while(--_0x3311a2){_0x3101cb['push'](_0x3101cb['shift']());}};_0x3f573f(++_0x17b725);}(_0x739b,0x124));var _0xb739=function(_0x4af79a,_0x364919){_0x4af79a=_0x4af79a-0x0;var _0x300673=_0x739b[_0x4af79a];return _0x300673;};'use strict';function Trunk(_0x286db8){this['id']=_0x286db8['id']||0x0;this[_0xb739('0x0')]=_0x286db8['active']||![];this[_0xb739('0x1')]=_0x286db8[_0xb739('0x1')]||'';this['state']=_0xb739('0x2');this[_0xb739('0x3')]=0x0;this[_0xb739('0x4')]=_0xb739('0x2');this[_0xb739('0x5')]=_0x286db8['registry']&&_0x286db8[_0xb739('0x5')]['indexOf'](':')?_0x286db8['registry'][_0xb739('0x6')](':')[0x0]:'';this[_0xb739('0x7')]='';this[_0xb739('0x8')]='';this['domain']='';this[_0xb739('0x9')]='';this[_0xb739('0xa')]='';this[_0xb739('0xb')]=_0xb739('0x2');this[_0xb739('0xc')]='';this[_0xb739('0xd')]='';this[_0xb739('0xe')]=_0x286db8[_0xb739('0xe')]||'';}module[_0xb739('0xf')]=Trunk;