Built motion from commit (unavailable).|2.5.14
[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 _0xe098=['exports','active','name','state','unknown','stateTime','status','registry','indexOf','split','host','domain','registrationtime','address'];(function(_0x1fc1d0,_0x3f3686){var _0x1b01b1=function(_0x277995){while(--_0x277995){_0x1fc1d0['push'](_0x1fc1d0['shift']());}};_0x1b01b1(++_0x3f3686);}(_0xe098,0x16d));var _0x8e09=function(_0x8a885d,_0x44aba4){_0x8a885d=_0x8a885d-0x0;var _0x5779b5=_0xe098[_0x8a885d];return _0x5779b5;};'use strict';function Trunk(_0x1bdfb4){this['id']=_0x1bdfb4['id']||0x0;this[_0x8e09('0x0')]=_0x1bdfb4[_0x8e09('0x0')]||![];this['name']=_0x1bdfb4[_0x8e09('0x1')]||'';this[_0x8e09('0x2')]=_0x8e09('0x3');this[_0x8e09('0x4')]=0x0;this[_0x8e09('0x5')]='unknown';this[_0x8e09('0x6')]=_0x1bdfb4[_0x8e09('0x6')]&&_0x1bdfb4[_0x8e09('0x6')][_0x8e09('0x7')](':')?_0x1bdfb4[_0x8e09('0x6')][_0x8e09('0x8')](':')[0x0]:'';this[_0x8e09('0x9')]='';this['port']='';this[_0x8e09('0xa')]='';this['domainport']='';this['refresh']='';this['stateRegistry']=_0x8e09('0x3');this[_0x8e09('0xb')]='';this[_0x8e09('0xc')]='';}module[_0x8e09('0xd')]=Trunk;