Built motion from commit 06eb8eb0.|2.6.31
[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 _0xd160=['active','name','state','unknown','stateTime','status','registry','indexOf','split','host','port','domain','domainport','refresh','stateRegistry','registrationtime','address','defaultuser','exports'];(function(_0xb9d78f,_0x56ebf3){var _0x486fe2=function(_0x1c678f){while(--_0x1c678f){_0xb9d78f['push'](_0xb9d78f['shift']());}};_0x486fe2(++_0x56ebf3);}(_0xd160,0x72));var _0x0d16=function(_0x3ef8f7,_0x35359a){_0x3ef8f7=_0x3ef8f7-0x0;var _0x3b097e=_0xd160[_0x3ef8f7];return _0x3b097e;};'use strict';function Trunk(_0x21cba9){this['id']=_0x21cba9['id']||0x0;this[_0x0d16('0x0')]=_0x21cba9[_0x0d16('0x0')]||![];this[_0x0d16('0x1')]=_0x21cba9[_0x0d16('0x1')]||'';this[_0x0d16('0x2')]=_0x0d16('0x3');this[_0x0d16('0x4')]=0x0;this[_0x0d16('0x5')]=_0x0d16('0x3');this[_0x0d16('0x6')]=_0x21cba9[_0x0d16('0x6')]&&_0x21cba9[_0x0d16('0x6')][_0x0d16('0x7')](':')?_0x21cba9['registry'][_0x0d16('0x8')](':')[0x0]:'';this[_0x0d16('0x9')]='';this[_0x0d16('0xa')]='';this[_0x0d16('0xb')]='';this[_0x0d16('0xc')]='';this[_0x0d16('0xd')]='';this[_0x0d16('0xe')]=_0x0d16('0x3');this[_0x0d16('0xf')]='';this[_0x0d16('0x10')]='';this[_0x0d16('0x11')]=_0x21cba9[_0x0d16('0x11')]||'';}module[_0x0d16('0x12')]=Trunk;