91c158f64deed0dccdb36ff835232fb2933fe826
[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 _0xfc63=['active','name','state','stateTime','status','unknown','registry','indexOf','host','domain','domainport','refresh','stateRegistry','registrationtime','address','defaultuser','exports'];(function(_0xe16fcf,_0x2b5918){var _0x5981e9=function(_0x494df2){while(--_0x494df2){_0xe16fcf['push'](_0xe16fcf['shift']());}};_0x5981e9(++_0x2b5918);}(_0xfc63,0x154));var _0x3fc6=function(_0x1f76a8,_0x54518b){_0x1f76a8=_0x1f76a8-0x0;var _0x512dc0=_0xfc63[_0x1f76a8];return _0x512dc0;};'use strict';function Trunk(_0x5d0e49){this['id']=_0x5d0e49['id']||0x0;this[_0x3fc6('0x0')]=_0x5d0e49[_0x3fc6('0x0')]||![];this[_0x3fc6('0x1')]=_0x5d0e49[_0x3fc6('0x1')]||'';this[_0x3fc6('0x2')]='unknown';this[_0x3fc6('0x3')]=0x0;this[_0x3fc6('0x4')]=_0x3fc6('0x5');this[_0x3fc6('0x6')]=_0x5d0e49[_0x3fc6('0x6')]&&_0x5d0e49[_0x3fc6('0x6')][_0x3fc6('0x7')](':')?_0x5d0e49[_0x3fc6('0x6')]['split'](':')[0x0]:'';this[_0x3fc6('0x8')]='';this['port']='';this[_0x3fc6('0x9')]='';this[_0x3fc6('0xa')]='';this[_0x3fc6('0xb')]='';this[_0x3fc6('0xc')]='unknown';this[_0x3fc6('0xd')]='';this[_0x3fc6('0xe')]='';this[_0x3fc6('0xf')]=_0x5d0e49[_0x3fc6('0xf')]||'';}module[_0x3fc6('0x10')]=Trunk;