Built motion from commit ffdca78c.|2.6.24
[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 _0x9dc5=['state','unknown','stateTime','status','registry','indexOf','split','domain','domainport','refresh','address','defaultuser','active','name'];(function(_0x138943,_0x3c8995){var _0x71afda=function(_0x51c588){while(--_0x51c588){_0x138943['push'](_0x138943['shift']());}};_0x71afda(++_0x3c8995);}(_0x9dc5,0xde));var _0x59dc=function(_0x4caf54,_0x20a61a){_0x4caf54=_0x4caf54-0x0;var _0x566cb0=_0x9dc5[_0x4caf54];return _0x566cb0;};'use strict';function Trunk(_0x114069){this['id']=_0x114069['id']||0x0;this[_0x59dc('0x0')]=_0x114069[_0x59dc('0x0')]||![];this[_0x59dc('0x1')]=_0x114069['name']||'';this[_0x59dc('0x2')]=_0x59dc('0x3');this[_0x59dc('0x4')]=0x0;this[_0x59dc('0x5')]=_0x59dc('0x3');this['registry']=_0x114069[_0x59dc('0x6')]&&_0x114069[_0x59dc('0x6')][_0x59dc('0x7')](':')?_0x114069[_0x59dc('0x6')][_0x59dc('0x8')](':')[0x0]:'';this['host']='';this['port']='';this[_0x59dc('0x9')]='';this[_0x59dc('0xa')]='';this[_0x59dc('0xb')]='';this['stateRegistry']=_0x59dc('0x3');this['registrationtime']='';this[_0x59dc('0xc')]='';this[_0x59dc('0xd')]=_0x114069['defaultuser']||'';}module['exports']=Trunk;