Built motion from commit d5e4af8c.|2.6.23
[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 _0x827c=['domain','domainport','refresh','stateRegistry','address','defaultuser','exports','active','name','state','unknown','stateTime','registry','indexOf','split','host','port'];(function(_0x3b380d,_0x4bf247){var _0x54502b=function(_0x35d207){while(--_0x35d207){_0x3b380d['push'](_0x3b380d['shift']());}};_0x54502b(++_0x4bf247);}(_0x827c,0x1b0));var _0xc827=function(_0x350927,_0x4da4ee){_0x350927=_0x350927-0x0;var _0x25eace=_0x827c[_0x350927];return _0x25eace;};'use strict';function Trunk(_0x202faa){this['id']=_0x202faa['id']||0x0;this[_0xc827('0x0')]=_0x202faa['active']||![];this[_0xc827('0x1')]=_0x202faa[_0xc827('0x1')]||'';this[_0xc827('0x2')]=_0xc827('0x3');this[_0xc827('0x4')]=0x0;this['status']=_0xc827('0x3');this['registry']=_0x202faa['registry']&&_0x202faa[_0xc827('0x5')][_0xc827('0x6')](':')?_0x202faa[_0xc827('0x5')][_0xc827('0x7')](':')[0x0]:'';this[_0xc827('0x8')]='';this[_0xc827('0x9')]='';this[_0xc827('0xa')]='';this[_0xc827('0xb')]='';this[_0xc827('0xc')]='';this[_0xc827('0xd')]=_0xc827('0x3');this['registrationtime']='';this[_0xc827('0xe')]='';this[_0xc827('0xf')]=_0x202faa[_0xc827('0xf')]||'';}module[_0xc827('0x10')]=Trunk;