Built motion from commit fe909640.|2.6.8
[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 _0x1fc8=['refresh','stateRegistry','address','defaultuser','exports','active','name','state','unknown','status','registry','split','port','domain'];(function(_0x2ed1e7,_0x5e40f8){var _0x2c8569=function(_0x406853){while(--_0x406853){_0x2ed1e7['push'](_0x2ed1e7['shift']());}};_0x2c8569(++_0x5e40f8);}(_0x1fc8,0x19b));var _0x81fc=function(_0xb463c,_0x3b949b){_0xb463c=_0xb463c-0x0;var _0x10aead=_0x1fc8[_0xb463c];return _0x10aead;};'use strict';function Trunk(_0x316fc0){this['id']=_0x316fc0['id']||0x0;this[_0x81fc('0x0')]=_0x316fc0[_0x81fc('0x0')]||![];this['name']=_0x316fc0[_0x81fc('0x1')]||'';this[_0x81fc('0x2')]=_0x81fc('0x3');this['stateTime']=0x0;this[_0x81fc('0x4')]=_0x81fc('0x3');this[_0x81fc('0x5')]=_0x316fc0[_0x81fc('0x5')]&&_0x316fc0['registry']['indexOf'](':')?_0x316fc0[_0x81fc('0x5')][_0x81fc('0x6')](':')[0x0]:'';this['host']='';this[_0x81fc('0x7')]='';this[_0x81fc('0x8')]='';this['domainport']='';this[_0x81fc('0x9')]='';this[_0x81fc('0xa')]=_0x81fc('0x3');this['registrationtime']='';this[_0x81fc('0xb')]='';this[_0x81fc('0xc')]=_0x316fc0[_0x81fc('0xc')]||'';}module[_0x81fc('0xd')]=Trunk;