Built motion from commit (unavailable).|2.5.4
[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 _0x1c9f=['registrationtime','exports','active','name','unknown','stateTime','status','registry','indexOf','host','port','refresh','stateRegistry'];(function(_0x25b223,_0x4db4ce){var _0x3703e7=function(_0x1b0d4e){while(--_0x1b0d4e){_0x25b223['push'](_0x25b223['shift']());}};_0x3703e7(++_0x4db4ce);}(_0x1c9f,0xec));var _0xf1c9=function(_0x5a960b,_0x219146){_0x5a960b=_0x5a960b-0x0;var _0x31b19b=_0x1c9f[_0x5a960b];return _0x31b19b;};'use strict';function Trunk(_0x23cdfa){this['id']=_0x23cdfa['id']||0x0;this['active']=_0x23cdfa[_0xf1c9('0x0')]||![];this[_0xf1c9('0x1')]=_0x23cdfa[_0xf1c9('0x1')]||'';this['state']=_0xf1c9('0x2');this[_0xf1c9('0x3')]=0x0;this[_0xf1c9('0x4')]=_0xf1c9('0x2');this['registry']=_0x23cdfa['registry']&&_0x23cdfa[_0xf1c9('0x5')][_0xf1c9('0x6')](':')?_0x23cdfa[_0xf1c9('0x5')]['split'](':')[0x0]:'';this[_0xf1c9('0x7')]='';this[_0xf1c9('0x8')]='';this['domain']='';this['domainport']='';this[_0xf1c9('0x9')]='';this[_0xf1c9('0xa')]='unknown';this[_0xf1c9('0xb')]='';this['address']='';}module[_0xf1c9('0xc')]=Trunk;