Built motion from commit (unavailable).|2.4.18
[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 _0x2f22=['address','exports','active','name','state','stateTime','status','unknown','registry','indexOf','split','host','port','domain','refresh','stateRegistry','registrationtime'];(function(_0x56dfe9,_0x5dad6b){var _0x49b525=function(_0x564a60){while(--_0x564a60){_0x56dfe9['push'](_0x56dfe9['shift']());}};_0x49b525(++_0x5dad6b);}(_0x2f22,0x156));var _0x22f2=function(_0x42cae2,_0x284ef8){_0x42cae2=_0x42cae2-0x0;var _0x5f256f=_0x2f22[_0x42cae2];return _0x5f256f;};'use strict';function Trunk(_0x5df36b){this['id']=_0x5df36b['id']||0x0;this[_0x22f2('0x0')]=_0x5df36b[_0x22f2('0x0')]||![];this['name']=_0x5df36b[_0x22f2('0x1')]||'';this[_0x22f2('0x2')]='unknown';this[_0x22f2('0x3')]=0x0;this[_0x22f2('0x4')]=_0x22f2('0x5');this[_0x22f2('0x6')]=_0x5df36b[_0x22f2('0x6')]&&_0x5df36b[_0x22f2('0x6')][_0x22f2('0x7')](':')?_0x5df36b['registry'][_0x22f2('0x8')](':')[0x0]:'';this[_0x22f2('0x9')]='';this[_0x22f2('0xa')]='';this[_0x22f2('0xb')]='';this['domainport']='';this[_0x22f2('0xc')]='';this[_0x22f2('0xd')]='unknown';this[_0x22f2('0xe')]='';this[_0x22f2('0xf')]='';}module[_0x22f2('0x10')]=Trunk;