Built motion from commit bab6f49e.|2.6.17
[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 _0xa7fa=['status','registry','domain','domainport','stateRegistry','registrationtime','address','defaultuser','exports','active','name','state','unknown','stateTime'];(function(_0x8034fa,_0x4658fe){var _0x777c4=function(_0x4600da){while(--_0x4600da){_0x8034fa['push'](_0x8034fa['shift']());}};_0x777c4(++_0x4658fe);}(_0xa7fa,0xcd));var _0xaa7f=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xa7fa[_0x14add3];return _0x4a174f;};'use strict';function Trunk(_0x2b49be){this['id']=_0x2b49be['id']||0x0;this[_0xaa7f('0x0')]=_0x2b49be['active']||![];this[_0xaa7f('0x1')]=_0x2b49be['name']||'';this[_0xaa7f('0x2')]=_0xaa7f('0x3');this[_0xaa7f('0x4')]=0x0;this[_0xaa7f('0x5')]=_0xaa7f('0x3');this[_0xaa7f('0x6')]=_0x2b49be['registry']&&_0x2b49be[_0xaa7f('0x6')]['indexOf'](':')?_0x2b49be[_0xaa7f('0x6')]['split'](':')[0x0]:'';this['host']='';this['port']='';this[_0xaa7f('0x7')]='';this[_0xaa7f('0x8')]='';this['refresh']='';this[_0xaa7f('0x9')]=_0xaa7f('0x3');this[_0xaa7f('0xa')]='';this[_0xaa7f('0xb')]='';this[_0xaa7f('0xc')]=_0x2b49be[_0xaa7f('0xc')]||'';}module[_0xaa7f('0xd')]=Trunk;