Built motion from commit 9d0783e6.|2.6.13
[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 _0x927c=['host','domain','refresh','registrationtime','address','defaultuser','exports','active','name','state','stateTime','status','unknown','registry','indexOf'];(function(_0x4144a0,_0x3c0614){var _0x3ab017=function(_0x5cd106){while(--_0x5cd106){_0x4144a0['push'](_0x4144a0['shift']());}};_0x3ab017(++_0x3c0614);}(_0x927c,0x115));var _0xc927=function(_0x2516a6,_0x13178d){_0x2516a6=_0x2516a6-0x0;var _0x1bccf6=_0x927c[_0x2516a6];return _0x1bccf6;};'use strict';function Trunk(_0x26bf6e){this['id']=_0x26bf6e['id']||0x0;this['active']=_0x26bf6e[_0xc927('0x0')]||![];this[_0xc927('0x1')]=_0x26bf6e[_0xc927('0x1')]||'';this[_0xc927('0x2')]='unknown';this[_0xc927('0x3')]=0x0;this[_0xc927('0x4')]=_0xc927('0x5');this['registry']=_0x26bf6e[_0xc927('0x6')]&&_0x26bf6e['registry'][_0xc927('0x7')](':')?_0x26bf6e[_0xc927('0x6')]['split'](':')[0x0]:'';this[_0xc927('0x8')]='';this['port']='';this[_0xc927('0x9')]='';this['domainport']='';this[_0xc927('0xa')]='';this['stateRegistry']=_0xc927('0x5');this[_0xc927('0xb')]='';this[_0xc927('0xc')]='';this[_0xc927('0xd')]=_0x26bf6e[_0xc927('0xd')]||'';}module[_0xc927('0xe')]=Trunk;