Built motion from commit (unavailable).|2.4.20
[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 _0xed26=['domain','refresh','stateRegistry','exports','name','state','unknown','stateTime','registry','split','host','port'];(function(_0x5903f9,_0x736619){var _0xc8a975=function(_0x3d1ffc){while(--_0x3d1ffc){_0x5903f9['push'](_0x5903f9['shift']());}};_0xc8a975(++_0x736619);}(_0xed26,0x64));var _0x6ed2=function(_0x9b54db,_0x3015ee){_0x9b54db=_0x9b54db-0x0;var _0x119766=_0xed26[_0x9b54db];return _0x119766;};'use strict';function Trunk(_0x24e494){this['id']=_0x24e494['id']||0x0;this['active']=_0x24e494['active']||![];this[_0x6ed2('0x0')]=_0x24e494[_0x6ed2('0x0')]||'';this[_0x6ed2('0x1')]=_0x6ed2('0x2');this[_0x6ed2('0x3')]=0x0;this['status']='unknown';this[_0x6ed2('0x4')]=_0x24e494['registry']&&_0x24e494[_0x6ed2('0x4')]['indexOf'](':')?_0x24e494['registry'][_0x6ed2('0x5')](':')[0x0]:'';this[_0x6ed2('0x6')]='';this[_0x6ed2('0x7')]='';this[_0x6ed2('0x8')]='';this['domainport']='';this[_0x6ed2('0x9')]='';this[_0x6ed2('0xa')]=_0x6ed2('0x2');this['registrationtime']='';this['address']='';}module[_0x6ed2('0xb')]=Trunk;