Built motion from commit (unavailable).|2.5.22
[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 _0x852c=['registry','indexOf','split','host','port','refresh','exports','active','name','state','unknown'];(function(_0x3320c2,_0xff5beb){var _0x3b1945=function(_0x4465b0){while(--_0x4465b0){_0x3320c2['push'](_0x3320c2['shift']());}};_0x3b1945(++_0xff5beb);}(_0x852c,0xb7));var _0xc852=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x852c[_0x3dd15e];return _0x231fd0;};'use strict';function Trunk(_0x4edca7){this['id']=_0x4edca7['id']||0x0;this[_0xc852('0x0')]=_0x4edca7['active']||![];this[_0xc852('0x1')]=_0x4edca7[_0xc852('0x1')]||'';this[_0xc852('0x2')]=_0xc852('0x3');this['stateTime']=0x0;this['status']=_0xc852('0x3');this['registry']=_0x4edca7[_0xc852('0x4')]&&_0x4edca7[_0xc852('0x4')][_0xc852('0x5')](':')?_0x4edca7[_0xc852('0x4')][_0xc852('0x6')](':')[0x0]:'';this[_0xc852('0x7')]='';this[_0xc852('0x8')]='';this['domain']='';this['domainport']='';this[_0xc852('0x9')]='';this['stateRegistry']=_0xc852('0x3');this['registrationtime']='';this['address']='';}module[_0xc852('0xa')]=Trunk;