Built motion from commit (unavailable).|2.5.8
[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 _0xcaef=['status','registry','indexOf','host','domain','refresh','stateRegistry','registrationtime','exports','active','name','unknown','stateTime'];(function(_0x30336b,_0x1531be){var _0x27a270=function(_0x3b8a4b){while(--_0x3b8a4b){_0x30336b['push'](_0x30336b['shift']());}};_0x27a270(++_0x1531be);}(_0xcaef,0x141));var _0xfcae=function(_0x556bb1,_0x34830d){_0x556bb1=_0x556bb1-0x0;var _0x45455f=_0xcaef[_0x556bb1];return _0x45455f;};'use strict';function Trunk(_0x3a0b48){this['id']=_0x3a0b48['id']||0x0;this[_0xfcae('0x0')]=_0x3a0b48[_0xfcae('0x0')]||![];this[_0xfcae('0x1')]=_0x3a0b48[_0xfcae('0x1')]||'';this['state']=_0xfcae('0x2');this[_0xfcae('0x3')]=0x0;this[_0xfcae('0x4')]=_0xfcae('0x2');this[_0xfcae('0x5')]=_0x3a0b48[_0xfcae('0x5')]&&_0x3a0b48['registry'][_0xfcae('0x6')](':')?_0x3a0b48[_0xfcae('0x5')]['split'](':')[0x0]:'';this[_0xfcae('0x7')]='';this['port']='';this[_0xfcae('0x8')]='';this['domainport']='';this[_0xfcae('0x9')]='';this[_0xfcae('0xa')]=_0xfcae('0x2');this[_0xfcae('0xb')]='';this['address']='';}module[_0xfcae('0xc')]=Trunk;