Built motion from commit (unavailable).|2.5.3
[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 _0x91bb=['state','unknown','stateTime','registry','indexOf','split','host','domain','refresh','registrationtime','active','name'];(function(_0x36013c,_0x5d764f){var _0x42f06c=function(_0x3e2831){while(--_0x3e2831){_0x36013c['push'](_0x36013c['shift']());}};_0x42f06c(++_0x5d764f);}(_0x91bb,0xfa));var _0xb91b=function(_0x1ca741,_0x5c758c){_0x1ca741=_0x1ca741-0x0;var _0x54a577=_0x91bb[_0x1ca741];return _0x54a577;};'use strict';function Trunk(_0xabb499){this['id']=_0xabb499['id']||0x0;this['active']=_0xabb499[_0xb91b('0x0')]||![];this[_0xb91b('0x1')]=_0xabb499[_0xb91b('0x1')]||'';this[_0xb91b('0x2')]=_0xb91b('0x3');this[_0xb91b('0x4')]=0x0;this['status']=_0xb91b('0x3');this['registry']=_0xabb499[_0xb91b('0x5')]&&_0xabb499[_0xb91b('0x5')][_0xb91b('0x6')](':')?_0xabb499[_0xb91b('0x5')][_0xb91b('0x7')](':')[0x0]:'';this[_0xb91b('0x8')]='';this['port']='';this[_0xb91b('0x9')]='';this['domainport']='';this[_0xb91b('0xa')]='';this['stateRegistry']=_0xb91b('0x3');this[_0xb91b('0xb')]='';this['address']='';}module['exports']=Trunk;