0382429caa03c980cf5a56aa7565230653a96f46
[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 _0x7a27=['address','exports','active','name','state','unknown','status','registry','split','host','port','domain','domainport','stateRegistry'];(function(_0x59df7a,_0x1b2544){var _0x3d08dc=function(_0x366b2e){while(--_0x366b2e){_0x59df7a['push'](_0x59df7a['shift']());}};_0x3d08dc(++_0x1b2544);}(_0x7a27,0x160));var _0x77a2=function(_0x5d9f0d,_0x22d2a5){_0x5d9f0d=_0x5d9f0d-0x0;var _0x1c4402=_0x7a27[_0x5d9f0d];return _0x1c4402;};'use strict';function Trunk(_0x275e07){this['id']=_0x275e07['id']||0x0;this[_0x77a2('0x0')]=_0x275e07[_0x77a2('0x0')]||![];this['name']=_0x275e07[_0x77a2('0x1')]||'';this[_0x77a2('0x2')]=_0x77a2('0x3');this['stateTime']=0x0;this[_0x77a2('0x4')]=_0x77a2('0x3');this[_0x77a2('0x5')]=_0x275e07[_0x77a2('0x5')]&&_0x275e07[_0x77a2('0x5')]['indexOf'](':')?_0x275e07[_0x77a2('0x5')][_0x77a2('0x6')](':')[0x0]:'';this[_0x77a2('0x7')]='';this[_0x77a2('0x8')]='';this[_0x77a2('0x9')]='';this[_0x77a2('0xa')]='';this['refresh']='';this[_0x77a2('0xb')]=_0x77a2('0x3');this['registrationtime']='';this[_0x77a2('0xc')]='';}module[_0x77a2('0xd')]=Trunk;