Built motion from commit (unavailable).|2.5.9
[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 _0xd7c5=['domain','refresh','stateRegistry','registrationtime','exports','active','name','unknown','registry','indexOf','split','port'];(function(_0x1be143,_0x2f58ed){var _0xaa3f65=function(_0x121eee){while(--_0x121eee){_0x1be143['push'](_0x1be143['shift']());}};_0xaa3f65(++_0x2f58ed);}(_0xd7c5,0xdd));var _0x5d7c=function(_0x292476,_0x4628ab){_0x292476=_0x292476-0x0;var _0x510c9f=_0xd7c5[_0x292476];return _0x510c9f;};'use strict';function Trunk(_0x417426){this['id']=_0x417426['id']||0x0;this[_0x5d7c('0x0')]=_0x417426['active']||![];this['name']=_0x417426[_0x5d7c('0x1')]||'';this['state']=_0x5d7c('0x2');this['stateTime']=0x0;this['status']=_0x5d7c('0x2');this[_0x5d7c('0x3')]=_0x417426[_0x5d7c('0x3')]&&_0x417426[_0x5d7c('0x3')][_0x5d7c('0x4')](':')?_0x417426['registry'][_0x5d7c('0x5')](':')[0x0]:'';this['host']='';this[_0x5d7c('0x6')]='';this[_0x5d7c('0x7')]='';this['domainport']='';this[_0x5d7c('0x8')]='';this[_0x5d7c('0x9')]=_0x5d7c('0x2');this[_0x5d7c('0xa')]='';this['address']='';}module[_0x5d7c('0xb')]=Trunk;