Built motion from commit 2e4747fd.|2.6.7
[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 _0x580f=['active','name','state','stateTime','status','unknown','registry','indexOf','host','port','domainport','refresh','defaultuser','exports'];(function(_0x1b7368,_0x3286ed){var _0x25d54c=function(_0x2366da){while(--_0x2366da){_0x1b7368['push'](_0x1b7368['shift']());}};_0x25d54c(++_0x3286ed);}(_0x580f,0xe0));var _0xf580=function(_0x5364e5,_0x50f023){_0x5364e5=_0x5364e5-0x0;var _0x37941f=_0x580f[_0x5364e5];return _0x37941f;};'use strict';function Trunk(_0xce2ce1){this['id']=_0xce2ce1['id']||0x0;this[_0xf580('0x0')]=_0xce2ce1[_0xf580('0x0')]||![];this[_0xf580('0x1')]=_0xce2ce1[_0xf580('0x1')]||'';this[_0xf580('0x2')]='unknown';this[_0xf580('0x3')]=0x0;this[_0xf580('0x4')]=_0xf580('0x5');this['registry']=_0xce2ce1[_0xf580('0x6')]&&_0xce2ce1[_0xf580('0x6')][_0xf580('0x7')](':')?_0xce2ce1['registry']['split'](':')[0x0]:'';this[_0xf580('0x8')]='';this[_0xf580('0x9')]='';this['domain']='';this[_0xf580('0xa')]='';this[_0xf580('0xb')]='';this['stateRegistry']=_0xf580('0x5');this['registrationtime']='';this['address']='';this['defaultuser']=_0xce2ce1[_0xf580('0xc')]||'';}module[_0xf580('0xd')]=Trunk;