Built motion from commit (unavailable).|2.5.12
[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 _0xf08f=['registry','indexOf','host','domainport','refresh','registrationtime','address','active','name','state','unknown','status'];(function(_0x217430,_0x4b243c){var _0x39236a=function(_0x57cc98){while(--_0x57cc98){_0x217430['push'](_0x217430['shift']());}};_0x39236a(++_0x4b243c);}(_0xf08f,0x1c3));var _0xff08=function(_0xfcbcb8,_0x35bf6b){_0xfcbcb8=_0xfcbcb8-0x0;var _0x1b1f97=_0xf08f[_0xfcbcb8];return _0x1b1f97;};'use strict';function Trunk(_0x395c73){this['id']=_0x395c73['id']||0x0;this['active']=_0x395c73[_0xff08('0x0')]||![];this[_0xff08('0x1')]=_0x395c73[_0xff08('0x1')]||'';this[_0xff08('0x2')]=_0xff08('0x3');this['stateTime']=0x0;this[_0xff08('0x4')]=_0xff08('0x3');this['registry']=_0x395c73['registry']&&_0x395c73[_0xff08('0x5')][_0xff08('0x6')](':')?_0x395c73[_0xff08('0x5')]['split'](':')[0x0]:'';this[_0xff08('0x7')]='';this['port']='';this['domain']='';this[_0xff08('0x8')]='';this[_0xff08('0x9')]='';this['stateRegistry']=_0xff08('0x3');this[_0xff08('0xa')]='';this[_0xff08('0xb')]='';}module['exports']=Trunk;