3b0cbf93b2f2fb90dec7701f9cff2204e1e7eb54
[motion2.git] / server / services / ami / model / channel.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 _0xa775=['exten','answered','answertime','endtime','duration','billableseconds','holdtime','type','tag','disposition','monitorFilename','queue','transfercalleridnum','transferType','mohtime','exports','starttime','destinationchannel','connectedlinenum','connectedlinename','accountcode','context','linkedid'];(function(_0x2a1a8e,_0x181eb2){var _0x2f4b25=function(_0x5e56e9){while(--_0x5e56e9){_0x2a1a8e['push'](_0x2a1a8e['shift']());}};_0x2f4b25(++_0x181eb2);}(_0xa775,0xf6));var _0x5a77=function(_0x27ed2f,_0x431d77){_0x27ed2f=_0x27ed2f-0x0;var _0x515fb7=_0xa775[_0x27ed2f];return _0x515fb7;};'use strict';function Channel(){this[_0x5a77('0x0')]=null;this['channel']='';this[_0x5a77('0x1')]='';this['calleridnum']=0x0;this['calleridname']='';this[_0x5a77('0x2')]=undefined;this[_0x5a77('0x3')]=undefined;this[_0x5a77('0x4')]=0x0;this[_0x5a77('0x5')]='';this['uniqueid']=0x0;this[_0x5a77('0x6')]=0x0;this[_0x5a77('0x7')]=0x0;this[_0x5a77('0x8')]=![];this[_0x5a77('0x9')]=null;this[_0x5a77('0xa')]=null;this['unmanaged']=![];this['abandoned']=![];this['lastapplication']='';this['lastdata']='';this[_0x5a77('0xb')]=0x0;this[_0x5a77('0xc')]=0x0;this[_0x5a77('0xd')]=0x0;this[_0x5a77('0xe')]=null;this[_0x5a77('0xf')]=null;this[_0x5a77('0x10')]=null;this['monitor']=![];this[_0x5a77('0x11')]=null;this[_0x5a77('0x12')]=null;this['monitors']=[];this[_0x5a77('0x13')]=undefined;this['transferconnectedlinenum']=undefined;this[_0x5a77('0x14')]=undefined;this[_0x5a77('0x15')]=0x0;}module[_0x5a77('0x16')]=Channel;