Built motion from commit (unavailable).|2.5.13
[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 _0x8e26=['unknown','stateTime','status','registry','indexOf','split','host','port','domain','domainport','refresh','stateRegistry','registrationtime','exports','active','name','state'];(function(_0x419dd5,_0x31906e){var _0x1253d7=function(_0x4ea4f6){while(--_0x4ea4f6){_0x419dd5['push'](_0x419dd5['shift']());}};_0x1253d7(++_0x31906e);}(_0x8e26,0x184));var _0x68e2=function(_0x30fe99,_0x2300c7){_0x30fe99=_0x30fe99-0x0;var _0x909c8b=_0x8e26[_0x30fe99];return _0x909c8b;};'use strict';function Trunk(_0x44b35a){this['id']=_0x44b35a['id']||0x0;this[_0x68e2('0x0')]=_0x44b35a['active']||![];this['name']=_0x44b35a[_0x68e2('0x1')]||'';this[_0x68e2('0x2')]=_0x68e2('0x3');this[_0x68e2('0x4')]=0x0;this[_0x68e2('0x5')]='unknown';this[_0x68e2('0x6')]=_0x44b35a[_0x68e2('0x6')]&&_0x44b35a[_0x68e2('0x6')][_0x68e2('0x7')](':')?_0x44b35a[_0x68e2('0x6')][_0x68e2('0x8')](':')[0x0]:'';this[_0x68e2('0x9')]='';this[_0x68e2('0xa')]='';this[_0x68e2('0xb')]='';this[_0x68e2('0xc')]='';this[_0x68e2('0xd')]='';this[_0x68e2('0xe')]=_0x68e2('0x3');this[_0x68e2('0xf')]='';this['address']='';}module[_0x68e2('0x10')]=Trunk;