Built motion from commit 97153652.|2.6.26
[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 _0x72be=['unknown','stateTime','status','registry','indexOf','port','domain','domainport','refresh','stateRegistry','registrationtime','address','defaultuser','exports','active','name'];(function(_0x1facfa,_0x1acf7d){var _0x9ec701=function(_0x115e37){while(--_0x115e37){_0x1facfa['push'](_0x1facfa['shift']());}};_0x9ec701(++_0x1acf7d);}(_0x72be,0x1ee));var _0xe72b=function(_0x567932,_0x168e94){_0x567932=_0x567932-0x0;var _0x914ea5=_0x72be[_0x567932];return _0x914ea5;};'use strict';function Trunk(_0x4c046a){this['id']=_0x4c046a['id']||0x0;this[_0xe72b('0x0')]=_0x4c046a[_0xe72b('0x0')]||![];this['name']=_0x4c046a[_0xe72b('0x1')]||'';this['state']=_0xe72b('0x2');this[_0xe72b('0x3')]=0x0;this[_0xe72b('0x4')]=_0xe72b('0x2');this[_0xe72b('0x5')]=_0x4c046a[_0xe72b('0x5')]&&_0x4c046a[_0xe72b('0x5')][_0xe72b('0x6')](':')?_0x4c046a[_0xe72b('0x5')]['split'](':')[0x0]:'';this['host']='';this[_0xe72b('0x7')]='';this[_0xe72b('0x8')]='';this[_0xe72b('0x9')]='';this[_0xe72b('0xa')]='';this[_0xe72b('0xb')]='unknown';this[_0xe72b('0xc')]='';this[_0xe72b('0xd')]='';this[_0xe72b('0xe')]=_0x4c046a[_0xe72b('0xe')]||'';}module[_0xe72b('0xf')]=Trunk;