85956112423003d5a3046810040f559667cf1a14
[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 _0xbb56=['port','domain','domainport','refresh','stateRegistry','registrationtime','address','exports','active','name','state','unknown','stateTime','status','registry','host'];(function(_0xfbe06e,_0x2fb7ab){var _0x24e5b6=function(_0x48569f){while(--_0x48569f){_0xfbe06e['push'](_0xfbe06e['shift']());}};_0x24e5b6(++_0x2fb7ab);}(_0xbb56,0x158));var _0x6bb5=function(_0xa7fcdd,_0x2316e2){_0xa7fcdd=_0xa7fcdd-0x0;var _0x44f3c2=_0xbb56[_0xa7fcdd];return _0x44f3c2;};'use strict';function Trunk(_0x1753c2){this['id']=_0x1753c2['id']||0x0;this['active']=_0x1753c2[_0x6bb5('0x0')]||![];this[_0x6bb5('0x1')]=_0x1753c2[_0x6bb5('0x1')]||'';this[_0x6bb5('0x2')]=_0x6bb5('0x3');this[_0x6bb5('0x4')]=0x0;this[_0x6bb5('0x5')]=_0x6bb5('0x3');this[_0x6bb5('0x6')]=_0x1753c2['registry']&&_0x1753c2[_0x6bb5('0x6')]['indexOf'](':')?_0x1753c2[_0x6bb5('0x6')]['split'](':')[0x0]:'';this[_0x6bb5('0x7')]='';this[_0x6bb5('0x8')]='';this[_0x6bb5('0x9')]='';this[_0x6bb5('0xa')]='';this[_0x6bb5('0xb')]='';this[_0x6bb5('0xc')]=_0x6bb5('0x3');this[_0x6bb5('0xd')]='';this[_0x6bb5('0xe')]='';}module[_0x6bb5('0xf')]=Trunk;