Built motion from commit 47436d59.|2.6.7
[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 _0x2e15=['active','name','state','stateTime','status','registry','indexOf','split','host','domain','stateRegistry','unknown','registrationtime','address','defaultuser'];(function(_0x3b2b16,_0x5b154e){var _0x199af2=function(_0x5cb21c){while(--_0x5cb21c){_0x3b2b16['push'](_0x3b2b16['shift']());}};_0x199af2(++_0x5b154e);}(_0x2e15,0x1b3));var _0x52e1=function(_0x2c4570,_0x21871d){_0x2c4570=_0x2c4570-0x0;var _0x26f4b0=_0x2e15[_0x2c4570];return _0x26f4b0;};'use strict';function Trunk(_0x53d5d0){this['id']=_0x53d5d0['id']||0x0;this[_0x52e1('0x0')]=_0x53d5d0[_0x52e1('0x0')]||![];this[_0x52e1('0x1')]=_0x53d5d0['name']||'';this[_0x52e1('0x2')]='unknown';this[_0x52e1('0x3')]=0x0;this[_0x52e1('0x4')]='unknown';this[_0x52e1('0x5')]=_0x53d5d0[_0x52e1('0x5')]&&_0x53d5d0[_0x52e1('0x5')][_0x52e1('0x6')](':')?_0x53d5d0[_0x52e1('0x5')][_0x52e1('0x7')](':')[0x0]:'';this[_0x52e1('0x8')]='';this['port']='';this[_0x52e1('0x9')]='';this['domainport']='';this['refresh']='';this[_0x52e1('0xa')]=_0x52e1('0xb');this[_0x52e1('0xc')]='';this[_0x52e1('0xd')]='';this[_0x52e1('0xe')]=_0x53d5d0[_0x52e1('0xe')]||'';}module['exports']=Trunk;