7ab11ebc53be9ba57c06231490cd12a7fdc75565
[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 _0x5c7a=['name','state','unknown','stateTime','status','registry','indexOf','split','domainport','refresh','registrationtime','address','defaultuser','exports','active'];(function(_0x412e27,_0x20a978){var _0x53da42=function(_0x43cae5){while(--_0x43cae5){_0x412e27['push'](_0x412e27['shift']());}};_0x53da42(++_0x20a978);}(_0x5c7a,0x95));var _0xa5c7=function(_0x1d4449,_0x495153){_0x1d4449=_0x1d4449-0x0;var _0x4dcde3=_0x5c7a[_0x1d4449];return _0x4dcde3;};'use strict';function Trunk(_0x1f25b3){this['id']=_0x1f25b3['id']||0x0;this[_0xa5c7('0x0')]=_0x1f25b3[_0xa5c7('0x0')]||![];this[_0xa5c7('0x1')]=_0x1f25b3[_0xa5c7('0x1')]||'';this[_0xa5c7('0x2')]=_0xa5c7('0x3');this[_0xa5c7('0x4')]=0x0;this[_0xa5c7('0x5')]=_0xa5c7('0x3');this['registry']=_0x1f25b3[_0xa5c7('0x6')]&&_0x1f25b3[_0xa5c7('0x6')][_0xa5c7('0x7')](':')?_0x1f25b3['registry'][_0xa5c7('0x8')](':')[0x0]:'';this['host']='';this['port']='';this['domain']='';this[_0xa5c7('0x9')]='';this[_0xa5c7('0xa')]='';this['stateRegistry']='unknown';this[_0xa5c7('0xb')]='';this[_0xa5c7('0xc')]='';this[_0xa5c7('0xd')]=_0x1f25b3[_0xa5c7('0xd')]||'';}module[_0xa5c7('0xe')]=Trunk;