Built motion from commit 753c950e.|2.5.42
[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 _0x325c=['registrationtime','defaultuser','exports','active','name','state','unknown','status','registry','indexOf','split','host','port','domain','refresh','stateRegistry'];(function(_0x1486e5,_0x39684f){var _0x29d89b=function(_0x4a0a80){while(--_0x4a0a80){_0x1486e5['push'](_0x1486e5['shift']());}};_0x29d89b(++_0x39684f);}(_0x325c,0x153));var _0xc325=function(_0x175165,_0x20e3ea){_0x175165=_0x175165-0x0;var _0x73a6c1=_0x325c[_0x175165];return _0x73a6c1;};'use strict';function Trunk(_0x19250d){this['id']=_0x19250d['id']||0x0;this[_0xc325('0x0')]=_0x19250d[_0xc325('0x0')]||![];this[_0xc325('0x1')]=_0x19250d[_0xc325('0x1')]||'';this[_0xc325('0x2')]=_0xc325('0x3');this['stateTime']=0x0;this[_0xc325('0x4')]=_0xc325('0x3');this['registry']=_0x19250d[_0xc325('0x5')]&&_0x19250d['registry'][_0xc325('0x6')](':')?_0x19250d['registry'][_0xc325('0x7')](':')[0x0]:'';this[_0xc325('0x8')]='';this[_0xc325('0x9')]='';this[_0xc325('0xa')]='';this['domainport']='';this[_0xc325('0xb')]='';this[_0xc325('0xc')]=_0xc325('0x3');this[_0xc325('0xd')]='';this['address']='';this[_0xc325('0xe')]=_0x19250d[_0xc325('0xe')]||'';}module[_0xc325('0xf')]=Trunk;