Built motion from commit (unavailable).|2.0.84
[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 _0xc9a2=['exports','active','name','state','unknown','status','registry','indexOf','split','host','domain','domainport','stateRegistry','registrationtime'];(function(_0x53bcc3,_0x364374){var _0x47c959=function(_0x40ef7d){while(--_0x40ef7d){_0x53bcc3['push'](_0x53bcc3['shift']());}};_0x47c959(++_0x364374);}(_0xc9a2,0x1eb));var _0x2c9a=function(_0x48caa7,_0x106979){_0x48caa7=_0x48caa7-0x0;var _0x5913e3=_0xc9a2[_0x48caa7];return _0x5913e3;};'use strict';function Trunk(_0x4c1c53){this['id']=_0x4c1c53['id']||0x0;this['active']=_0x4c1c53[_0x2c9a('0x0')]||![];this[_0x2c9a('0x1')]=_0x4c1c53[_0x2c9a('0x1')]||'';this[_0x2c9a('0x2')]=_0x2c9a('0x3');this['stateTime']=0x0;this[_0x2c9a('0x4')]=_0x2c9a('0x3');this['registry']=_0x4c1c53[_0x2c9a('0x5')]&&_0x4c1c53['registry'][_0x2c9a('0x6')](':')?_0x4c1c53[_0x2c9a('0x5')][_0x2c9a('0x7')](':')[0x0]:'';this[_0x2c9a('0x8')]='';this['port']='';this[_0x2c9a('0x9')]='';this[_0x2c9a('0xa')]='';this['refresh']='';this[_0x2c9a('0xb')]=_0x2c9a('0x3');this[_0x2c9a('0xc')]='';this['address']='';}module[_0x2c9a('0xd')]=Trunk;