Built motion from commit 1fa89557.|2.6.10
[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 _0x1035=['domain','domainport','refresh','stateRegistry','registrationtime','address','defaultuser','exports','active','name','unknown','registry','indexOf','split','host'];(function(_0x175a55,_0x4082fd){var _0x167adf=function(_0x18ef07){while(--_0x18ef07){_0x175a55['push'](_0x175a55['shift']());}};_0x167adf(++_0x4082fd);}(_0x1035,0x1e8));var _0x5103=function(_0x406115,_0x19f7a1){_0x406115=_0x406115-0x0;var _0xbbabdb=_0x1035[_0x406115];return _0xbbabdb;};'use strict';function Trunk(_0x4450e6){this['id']=_0x4450e6['id']||0x0;this[_0x5103('0x0')]=_0x4450e6[_0x5103('0x0')]||![];this[_0x5103('0x1')]=_0x4450e6[_0x5103('0x1')]||'';this['state']=_0x5103('0x2');this['stateTime']=0x0;this['status']='unknown';this[_0x5103('0x3')]=_0x4450e6[_0x5103('0x3')]&&_0x4450e6[_0x5103('0x3')][_0x5103('0x4')](':')?_0x4450e6[_0x5103('0x3')][_0x5103('0x5')](':')[0x0]:'';this[_0x5103('0x6')]='';this['port']='';this[_0x5103('0x7')]='';this[_0x5103('0x8')]='';this[_0x5103('0x9')]='';this[_0x5103('0xa')]=_0x5103('0x2');this[_0x5103('0xb')]='';this[_0x5103('0xc')]='';this[_0x5103('0xd')]=_0x4450e6[_0x5103('0xd')]||'';}module[_0x5103('0xe')]=Trunk;