Built motion from commit ecb45b58.|2.6.31
[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 _0x72ab=['indexOf','split','host','domainport','stateRegistry','address','defaultuser','active','name','state','unknown','stateTime','status','registry'];(function(_0x1c530b,_0x30900c){var _0x38f194=function(_0x5ab7ab){while(--_0x5ab7ab){_0x1c530b['push'](_0x1c530b['shift']());}};_0x38f194(++_0x30900c);}(_0x72ab,0xf5));var _0xb72a=function(_0x618414,_0x1a7a60){_0x618414=_0x618414-0x0;var _0x21c19a=_0x72ab[_0x618414];return _0x21c19a;};'use strict';function Trunk(_0x20b7c8){this['id']=_0x20b7c8['id']||0x0;this[_0xb72a('0x0')]=_0x20b7c8[_0xb72a('0x0')]||![];this[_0xb72a('0x1')]=_0x20b7c8['name']||'';this[_0xb72a('0x2')]=_0xb72a('0x3');this[_0xb72a('0x4')]=0x0;this[_0xb72a('0x5')]=_0xb72a('0x3');this['registry']=_0x20b7c8[_0xb72a('0x6')]&&_0x20b7c8[_0xb72a('0x6')][_0xb72a('0x7')](':')?_0x20b7c8['registry'][_0xb72a('0x8')](':')[0x0]:'';this[_0xb72a('0x9')]='';this['port']='';this['domain']='';this[_0xb72a('0xa')]='';this['refresh']='';this[_0xb72a('0xb')]=_0xb72a('0x3');this['registrationtime']='';this[_0xb72a('0xc')]='';this['defaultuser']=_0x20b7c8[_0xb72a('0xd')]||'';}module['exports']=Trunk;