Built motion from commit (unavailable).|2.6.0
[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 _0x06f7=['stateRegistry','registrationtime','address','defaultuser','exports','active','name','state','stateTime','status','unknown','registry','indexOf','split','port','domainport','refresh'];(function(_0x4f4b55,_0x31cbd6){var _0x36fbf9=function(_0xe8e44d){while(--_0xe8e44d){_0x4f4b55['push'](_0x4f4b55['shift']());}};_0x36fbf9(++_0x31cbd6);}(_0x06f7,0x148));var _0x706f=function(_0x934425,_0x5af72f){_0x934425=_0x934425-0x0;var _0x31d596=_0x06f7[_0x934425];return _0x31d596;};'use strict';function Trunk(_0x417297){this['id']=_0x417297['id']||0x0;this[_0x706f('0x0')]=_0x417297[_0x706f('0x0')]||![];this[_0x706f('0x1')]=_0x417297[_0x706f('0x1')]||'';this[_0x706f('0x2')]='unknown';this[_0x706f('0x3')]=0x0;this[_0x706f('0x4')]=_0x706f('0x5');this['registry']=_0x417297['registry']&&_0x417297[_0x706f('0x6')][_0x706f('0x7')](':')?_0x417297[_0x706f('0x6')][_0x706f('0x8')](':')[0x0]:'';this['host']='';this[_0x706f('0x9')]='';this['domain']='';this[_0x706f('0xa')]='';this[_0x706f('0xb')]='';this[_0x706f('0xc')]='unknown';this[_0x706f('0xd')]='';this[_0x706f('0xe')]='';this[_0x706f('0xf')]=_0x417297['defaultuser']||'';}module[_0x706f('0x10')]=Trunk;