Built motion from commit (unavailable).|2.5.18
[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 _0x9bfd=['registry','split','host','port','domainport','refresh','stateRegistry','registrationtime','address','exports','active','name','state','stateTime','status','unknown'];(function(_0x2e87d8,_0x28babe){var _0x142f02=function(_0x30e638){while(--_0x30e638){_0x2e87d8['push'](_0x2e87d8['shift']());}};_0x142f02(++_0x28babe);}(_0x9bfd,0x10a));var _0xd9bf=function(_0x3d58cf,_0x2bf8ad){_0x3d58cf=_0x3d58cf-0x0;var _0x44956a=_0x9bfd[_0x3d58cf];return _0x44956a;};'use strict';function Trunk(_0x405aeb){this['id']=_0x405aeb['id']||0x0;this[_0xd9bf('0x0')]=_0x405aeb['active']||![];this[_0xd9bf('0x1')]=_0x405aeb[_0xd9bf('0x1')]||'';this[_0xd9bf('0x2')]='unknown';this[_0xd9bf('0x3')]=0x0;this[_0xd9bf('0x4')]=_0xd9bf('0x5');this[_0xd9bf('0x6')]=_0x405aeb[_0xd9bf('0x6')]&&_0x405aeb[_0xd9bf('0x6')]['indexOf'](':')?_0x405aeb['registry'][_0xd9bf('0x7')](':')[0x0]:'';this[_0xd9bf('0x8')]='';this[_0xd9bf('0x9')]='';this['domain']='';this[_0xd9bf('0xa')]='';this[_0xd9bf('0xb')]='';this[_0xd9bf('0xc')]=_0xd9bf('0x5');this[_0xd9bf('0xd')]='';this[_0xd9bf('0xe')]='';}module[_0xd9bf('0xf')]=Trunk;