Built motion from commit (unavailable).|2.5.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 _0x4718=['refresh','stateRegistry','registrationtime','exports','active','name','state','unknown','stateTime','registry','indexOf','split','host','port','domain','domainport'];(function(_0x1a5e12,_0x2caa3f){var _0x308344=function(_0x9a028c){while(--_0x9a028c){_0x1a5e12['push'](_0x1a5e12['shift']());}};_0x308344(++_0x2caa3f);}(_0x4718,0x1e4));var _0x8471=function(_0x4c4037,_0x15054b){_0x4c4037=_0x4c4037-0x0;var _0x357862=_0x4718[_0x4c4037];return _0x357862;};'use strict';function Trunk(_0x8afd5c){this['id']=_0x8afd5c['id']||0x0;this[_0x8471('0x0')]=_0x8afd5c['active']||![];this[_0x8471('0x1')]=_0x8afd5c[_0x8471('0x1')]||'';this[_0x8471('0x2')]=_0x8471('0x3');this[_0x8471('0x4')]=0x0;this['status']=_0x8471('0x3');this['registry']=_0x8afd5c[_0x8471('0x5')]&&_0x8afd5c[_0x8471('0x5')][_0x8471('0x6')](':')?_0x8afd5c[_0x8471('0x5')][_0x8471('0x7')](':')[0x0]:'';this[_0x8471('0x8')]='';this[_0x8471('0x9')]='';this[_0x8471('0xa')]='';this[_0x8471('0xb')]='';this[_0x8471('0xc')]='';this[_0x8471('0xd')]=_0x8471('0x3');this[_0x8471('0xe')]='';this['address']='';}module[_0x8471('0xf')]=Trunk;