Built motion from commit da617fac.|2.6.6
[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 _0x4c7a=['defaultuser','exports','active','name','state','unknown','stateTime','registry','split','port','domain','domainport','stateRegistry','registrationtime','address'];(function(_0x326d37,_0x19e1cf){var _0x5db059=function(_0x1fad39){while(--_0x1fad39){_0x326d37['push'](_0x326d37['shift']());}};_0x5db059(++_0x19e1cf);}(_0x4c7a,0x1e2));var _0xa4c7=function(_0x2bf0de,_0x47edd0){_0x2bf0de=_0x2bf0de-0x0;var _0x51158b=_0x4c7a[_0x2bf0de];return _0x51158b;};'use strict';function Trunk(_0x514898){this['id']=_0x514898['id']||0x0;this[_0xa4c7('0x0')]=_0x514898['active']||![];this[_0xa4c7('0x1')]=_0x514898['name']||'';this[_0xa4c7('0x2')]=_0xa4c7('0x3');this[_0xa4c7('0x4')]=0x0;this['status']=_0xa4c7('0x3');this['registry']=_0x514898[_0xa4c7('0x5')]&&_0x514898['registry']['indexOf'](':')?_0x514898['registry'][_0xa4c7('0x6')](':')[0x0]:'';this['host']='';this[_0xa4c7('0x7')]='';this[_0xa4c7('0x8')]='';this[_0xa4c7('0x9')]='';this['refresh']='';this[_0xa4c7('0xa')]=_0xa4c7('0x3');this[_0xa4c7('0xb')]='';this[_0xa4c7('0xc')]='';this[_0xa4c7('0xd')]=_0x514898[_0xa4c7('0xd')]||'';}module[_0xa4c7('0xe')]=Trunk;