67613acb4911996ad1bd17f80c848c7c5c0c2621
[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 _0xdd50=['state','unknown','stateTime','status','registry','split','port','domainport','address','defaultuser','exports','active','name'];(function(_0x34e655,_0xd17d66){var _0x13c44f=function(_0x2d85f7){while(--_0x2d85f7){_0x34e655['push'](_0x34e655['shift']());}};_0x13c44f(++_0xd17d66);}(_0xdd50,0xf5));var _0x0dd5=function(_0x4b6847,_0x50c4d6){_0x4b6847=_0x4b6847-0x0;var _0x562863=_0xdd50[_0x4b6847];return _0x562863;};'use strict';function Trunk(_0x3a4806){this['id']=_0x3a4806['id']||0x0;this[_0x0dd5('0x0')]=_0x3a4806[_0x0dd5('0x0')]||![];this[_0x0dd5('0x1')]=_0x3a4806[_0x0dd5('0x1')]||'';this[_0x0dd5('0x2')]=_0x0dd5('0x3');this[_0x0dd5('0x4')]=0x0;this[_0x0dd5('0x5')]=_0x0dd5('0x3');this['registry']=_0x3a4806['registry']&&_0x3a4806[_0x0dd5('0x6')]['indexOf'](':')?_0x3a4806[_0x0dd5('0x6')][_0x0dd5('0x7')](':')[0x0]:'';this['host']='';this[_0x0dd5('0x8')]='';this['domain']='';this[_0x0dd5('0x9')]='';this['refresh']='';this['stateRegistry']=_0x0dd5('0x3');this['registrationtime']='';this[_0x0dd5('0xa')]='';this[_0x0dd5('0xb')]=_0x3a4806[_0x0dd5('0xb')]||'';}module[_0x0dd5('0xc')]=Trunk;