Built motion from commit da617fac.|2.6.6
[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 _0x970f=['host','port','domain','domainport','refresh','stateRegistry','address','active','name','unknown','stateTime','status','registry','indexOf','split'];(function(_0x4288e2,_0x39fd9d){var _0x2abb3a=function(_0x47da6f){while(--_0x47da6f){_0x4288e2['push'](_0x4288e2['shift']());}};_0x2abb3a(++_0x39fd9d);}(_0x970f,0x70));var _0xf970=function(_0x388b7b,_0x52c9dd){_0x388b7b=_0x388b7b-0x0;var _0x5ccd8d=_0x970f[_0x388b7b];return _0x5ccd8d;};'use strict';function Trunk(_0x476120){this['id']=_0x476120['id']||0x0;this[_0xf970('0x0')]=_0x476120[_0xf970('0x0')]||![];this[_0xf970('0x1')]=_0x476120[_0xf970('0x1')]||'';this['state']=_0xf970('0x2');this[_0xf970('0x3')]=0x0;this[_0xf970('0x4')]=_0xf970('0x2');this[_0xf970('0x5')]=_0x476120[_0xf970('0x5')]&&_0x476120[_0xf970('0x5')][_0xf970('0x6')](':')?_0x476120[_0xf970('0x5')][_0xf970('0x7')](':')[0x0]:'';this[_0xf970('0x8')]='';this[_0xf970('0x9')]='';this[_0xf970('0xa')]='';this[_0xf970('0xb')]='';this[_0xf970('0xc')]='';this[_0xf970('0xd')]=_0xf970('0x2');this['registrationtime']='';this[_0xf970('0xe')]='';this['defaultuser']=_0x476120['defaultuser']||'';}module['exports']=Trunk;