ec4a2ab8e5d6fa73f1775d5c9a65aa008c2eb31b
[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 _0x24bf=['domainport','refresh','stateRegistry','unknown','address','defaultuser','exports','active','state','stateTime','status','registry','indexOf','host','port','domain'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x24bf,0x147));var _0xf24b=function(_0x54aaf9,_0x141eda){_0x54aaf9=_0x54aaf9-0x0;var _0x3aa9dc=_0x24bf[_0x54aaf9];return _0x3aa9dc;};'use strict';function Trunk(_0x16070a){this['id']=_0x16070a['id']||0x0;this[_0xf24b('0x0')]=_0x16070a[_0xf24b('0x0')]||![];this['name']=_0x16070a['name']||'';this[_0xf24b('0x1')]='unknown';this[_0xf24b('0x2')]=0x0;this[_0xf24b('0x3')]='unknown';this[_0xf24b('0x4')]=_0x16070a[_0xf24b('0x4')]&&_0x16070a[_0xf24b('0x4')][_0xf24b('0x5')](':')?_0x16070a['registry']['split'](':')[0x0]:'';this[_0xf24b('0x6')]='';this[_0xf24b('0x7')]='';this[_0xf24b('0x8')]='';this[_0xf24b('0x9')]='';this[_0xf24b('0xa')]='';this[_0xf24b('0xb')]=_0xf24b('0xc');this['registrationtime']='';this[_0xf24b('0xd')]='';this[_0xf24b('0xe')]=_0x16070a[_0xf24b('0xe')]||'';}module[_0xf24b('0xf')]=Trunk;