Built motion from commit e0fa946e.|2.6.5
[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 _0x2936=['state','unknown','stateTime','status','registry','indexOf','split','host','port','domain','domainport','refresh','stateRegistry','registrationtime','defaultuser','name'];(function(_0x4bfade,_0xb26c0e){var _0x272465=function(_0x3b38cb){while(--_0x3b38cb){_0x4bfade['push'](_0x4bfade['shift']());}};_0x272465(++_0xb26c0e);}(_0x2936,0x1ef));var _0x6293=function(_0x4acd08,_0x3466fb){_0x4acd08=_0x4acd08-0x0;var _0x54a199=_0x2936[_0x4acd08];return _0x54a199;};'use strict';function Trunk(_0x3cea47){this['id']=_0x3cea47['id']||0x0;this['active']=_0x3cea47['active']||![];this[_0x6293('0x0')]=_0x3cea47[_0x6293('0x0')]||'';this[_0x6293('0x1')]=_0x6293('0x2');this[_0x6293('0x3')]=0x0;this[_0x6293('0x4')]=_0x6293('0x2');this[_0x6293('0x5')]=_0x3cea47[_0x6293('0x5')]&&_0x3cea47[_0x6293('0x5')][_0x6293('0x6')](':')?_0x3cea47['registry'][_0x6293('0x7')](':')[0x0]:'';this[_0x6293('0x8')]='';this[_0x6293('0x9')]='';this[_0x6293('0xa')]='';this[_0x6293('0xb')]='';this[_0x6293('0xc')]='';this[_0x6293('0xd')]=_0x6293('0x2');this[_0x6293('0xe')]='';this['address']='';this[_0x6293('0xf')]=_0x3cea47[_0x6293('0xf')]||'';}module['exports']=Trunk;