Built motion from commit (unavailable).|2.5.25
[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 _0x9ddf=['domain','refresh','stateRegistry','registrationtime','exports','active','name','state','stateTime','status','unknown','registry','indexOf','split'];(function(_0x42b3d8,_0x1a7ef2){var _0x13d8a3=function(_0x54a2c1){while(--_0x54a2c1){_0x42b3d8['push'](_0x42b3d8['shift']());}};_0x13d8a3(++_0x1a7ef2);}(_0x9ddf,0x1b7));var _0xf9dd=function(_0x2ab9b5,_0x5607b8){_0x2ab9b5=_0x2ab9b5-0x0;var _0x9f6232=_0x9ddf[_0x2ab9b5];return _0x9f6232;};'use strict';function Trunk(_0x32900e){this['id']=_0x32900e['id']||0x0;this[_0xf9dd('0x0')]=_0x32900e[_0xf9dd('0x0')]||![];this['name']=_0x32900e[_0xf9dd('0x1')]||'';this[_0xf9dd('0x2')]='unknown';this[_0xf9dd('0x3')]=0x0;this[_0xf9dd('0x4')]=_0xf9dd('0x5');this[_0xf9dd('0x6')]=_0x32900e[_0xf9dd('0x6')]&&_0x32900e[_0xf9dd('0x6')][_0xf9dd('0x7')](':')?_0x32900e['registry'][_0xf9dd('0x8')](':')[0x0]:'';this['host']='';this['port']='';this[_0xf9dd('0x9')]='';this['domainport']='';this[_0xf9dd('0xa')]='';this[_0xf9dd('0xb')]=_0xf9dd('0x5');this[_0xf9dd('0xc')]='';this['address']='';}module[_0xf9dd('0xd')]=Trunk;