Built motion from commit 20b39a97.|2.6.29
[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 _0xe925=['stateRegistry','defaultuser','exports','active','name','state','unknown','stateTime','status','registry','indexOf','host','port','domain'];(function(_0x4b73a2,_0x40b5fe){var _0x383c66=function(_0x3917ae){while(--_0x3917ae){_0x4b73a2['push'](_0x4b73a2['shift']());}};_0x383c66(++_0x40b5fe);}(_0xe925,0xc7));var _0x5e92=function(_0x228481,_0x51386e){_0x228481=_0x228481-0x0;var _0x1f3a85=_0xe925[_0x228481];return _0x1f3a85;};'use strict';function Trunk(_0x11d2e7){this['id']=_0x11d2e7['id']||0x0;this[_0x5e92('0x0')]=_0x11d2e7[_0x5e92('0x0')]||![];this[_0x5e92('0x1')]=_0x11d2e7[_0x5e92('0x1')]||'';this[_0x5e92('0x2')]=_0x5e92('0x3');this[_0x5e92('0x4')]=0x0;this[_0x5e92('0x5')]=_0x5e92('0x3');this['registry']=_0x11d2e7[_0x5e92('0x6')]&&_0x11d2e7[_0x5e92('0x6')][_0x5e92('0x7')](':')?_0x11d2e7[_0x5e92('0x6')]['split'](':')[0x0]:'';this[_0x5e92('0x8')]='';this[_0x5e92('0x9')]='';this[_0x5e92('0xa')]='';this['domainport']='';this['refresh']='';this[_0x5e92('0xb')]=_0x5e92('0x3');this['registrationtime']='';this['address']='';this[_0x5e92('0xc')]=_0x11d2e7[_0x5e92('0xc')]||'';}module[_0x5e92('0xd')]=Trunk;