Built motion from commit 85328c08.|2.5.50
[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 _0x11c7=['stateRegistry','registrationtime','address','defaultuser','active','name','state','stateTime','status','unknown','registry','indexOf','port','domain','domainport','refresh'];(function(_0x40da2f,_0x37e0cb){var _0x416bba=function(_0x39580a){while(--_0x39580a){_0x40da2f['push'](_0x40da2f['shift']());}};_0x416bba(++_0x37e0cb);}(_0x11c7,0x184));var _0x711c=function(_0x5ab4c6,_0x22d226){_0x5ab4c6=_0x5ab4c6-0x0;var _0x26495f=_0x11c7[_0x5ab4c6];return _0x26495f;};'use strict';function Trunk(_0x179750){this['id']=_0x179750['id']||0x0;this[_0x711c('0x0')]=_0x179750[_0x711c('0x0')]||![];this[_0x711c('0x1')]=_0x179750[_0x711c('0x1')]||'';this[_0x711c('0x2')]='unknown';this[_0x711c('0x3')]=0x0;this[_0x711c('0x4')]=_0x711c('0x5');this[_0x711c('0x6')]=_0x179750[_0x711c('0x6')]&&_0x179750['registry'][_0x711c('0x7')](':')?_0x179750[_0x711c('0x6')]['split'](':')[0x0]:'';this['host']='';this[_0x711c('0x8')]='';this[_0x711c('0x9')]='';this[_0x711c('0xa')]='';this[_0x711c('0xb')]='';this[_0x711c('0xc')]='unknown';this[_0x711c('0xd')]='';this[_0x711c('0xe')]='';this[_0x711c('0xf')]=_0x179750[_0x711c('0xf')]||'';}module['exports']=Trunk;