Built motion from commit da617fac.|2.6.6
[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 _0x45a3=['address','defaultuser','active','name','state','unknown','stateTime','status','registry','indexOf','split','port','domain','stateRegistry','registrationtime'];(function(_0x31d4c3,_0x5d218b){var _0x28a508=function(_0x39b56c){while(--_0x39b56c){_0x31d4c3['push'](_0x31d4c3['shift']());}};_0x28a508(++_0x5d218b);}(_0x45a3,0xf2));var _0x345a=function(_0x2b5568,_0x19dd7a){_0x2b5568=_0x2b5568-0x0;var _0x26f03c=_0x45a3[_0x2b5568];return _0x26f03c;};'use strict';function Trunk(_0x47927e){this['id']=_0x47927e['id']||0x0;this[_0x345a('0x0')]=_0x47927e[_0x345a('0x0')]||![];this[_0x345a('0x1')]=_0x47927e[_0x345a('0x1')]||'';this[_0x345a('0x2')]=_0x345a('0x3');this[_0x345a('0x4')]=0x0;this[_0x345a('0x5')]=_0x345a('0x3');this[_0x345a('0x6')]=_0x47927e['registry']&&_0x47927e['registry'][_0x345a('0x7')](':')?_0x47927e[_0x345a('0x6')][_0x345a('0x8')](':')[0x0]:'';this['host']='';this[_0x345a('0x9')]='';this[_0x345a('0xa')]='';this['domainport']='';this['refresh']='';this[_0x345a('0xb')]='unknown';this[_0x345a('0xc')]='';this[_0x345a('0xd')]='';this[_0x345a('0xe')]=_0x47927e[_0x345a('0xe')]||'';}module['exports']=Trunk;