Built motion from commit 52c8a02d.|2.6.29
[motion2.git] / server / services / ami / dialer / models / history.js
index 5d6c6d6..26e32ca 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb04d=['scheduledat','type','campaigntype','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countnosuchnumberretry','countabandonedretry','countmachineretry','countdropretry','countagentrejectretry','calleridname','name','calleridnum','number','starttime','responsetime','endtime','ringtime','getSeconds','talktime','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','state','statedesc','exports','../utils','uniqueid'];(function(_0x464c8a,_0x53445a){var _0x3c9bca=function(_0x617bb){while(--_0x617bb){_0x464c8a['push'](_0x464c8a['shift']());}};_0x3c9bca(++_0x53445a);}(_0xb04d,0xee));var _0xdb04=function(_0x1ae5d0,_0x51b9a6){_0x1ae5d0=_0x1ae5d0-0x0;var _0x5f02c1=_0xb04d[_0x1ae5d0];return _0x5f02c1;};'use strict';var utils=require(_0xdb04('0x0'));function History(_0x2ede5c){this['uniqueid']=_0x2ede5c[_0xdb04('0x1')];this['scheduledat']=_0x2ede5c[_0xdb04('0x2')]||undefined;this['type']=_0x2ede5c[_0xdb04('0x3')];this[_0xdb04('0x4')]=_0x2ede5c[_0xdb04('0x3')]===_0xdb04('0x5')?_0xdb04('0x6'):_0x2ede5c[_0xdb04('0x3')];this['countbusyretry']=_0x2ede5c[_0xdb04('0x7')];this[_0xdb04('0x8')]=_0x2ede5c[_0xdb04('0x8')];this[_0xdb04('0x9')]=_0x2ede5c['countnoanswerretry'];this[_0xdb04('0xa')]=_0x2ede5c[_0xdb04('0x7')]+_0x2ede5c[_0xdb04('0x8')]+_0x2ede5c[_0xdb04('0x9')]+_0x2ede5c[_0xdb04('0xb')]+_0x2ede5c['countdropretry']+_0x2ede5c[_0xdb04('0xc')]+_0x2ede5c[_0xdb04('0xd')]+_0x2ede5c['countagentrejectretry'];this[_0xdb04('0xb')]=_0x2ede5c['countnosuchnumberretry'];this[_0xdb04('0xe')]=_0x2ede5c[_0xdb04('0xe')];this['countabandonedretry']=_0x2ede5c['countabandonedretry'];this[_0xdb04('0xd')]=_0x2ede5c['countmachineretry'];this[_0xdb04('0xf')]=_0x2ede5c[_0xdb04('0xf')];this[_0xdb04('0x6')]=_0x2ede5c[_0xdb04('0x6')];this[_0xdb04('0x10')]=_0x2ede5c[_0xdb04('0x11')];this[_0xdb04('0x12')]=_0x2ede5c[_0xdb04('0x13')];this[_0xdb04('0x14')]=_0x2ede5c[_0xdb04('0x14')];this[_0xdb04('0x15')]=_0x2ede5c[_0xdb04('0x15')];this[_0xdb04('0x16')]=_0x2ede5c[_0xdb04('0x15')];this[_0xdb04('0x17')]=utils[_0xdb04('0x18')](_0x2ede5c[_0xdb04('0x15')],_0x2ede5c[_0xdb04('0x14')]);this['holdtime']=0x0;this[_0xdb04('0x19')]=0x0;this['callback']=_0x2ede5c[_0xdb04('0x1a')];this[_0xdb04('0x1b')]=_0x2ede5c[_0xdb04('0x1b')];this[_0xdb04('0x1c')]=_0x2ede5c[_0xdb04('0x1c')];this[_0xdb04('0x1d')]=_0x2ede5c[_0xdb04('0x1d')];this[_0xdb04('0x1e')]=_0x2ede5c[_0xdb04('0x1e')];this[_0xdb04('0x1f')]=_0x2ede5c['ListId'];this[_0xdb04('0x20')]=_0x2ede5c[_0xdb04('0x20')];this[_0xdb04('0x21')]=_0x2ede5c[_0xdb04('0x21')];this[_0xdb04('0x22')]=_0x2ede5c[_0xdb04('0x22')];this[_0xdb04('0x23')]=_0x2ede5c[_0xdb04('0x23')]||'';this[_0xdb04('0x24')]=_0x2ede5c[_0xdb04('0x24')]||'';this[_0xdb04('0x25')]=_0x2ede5c[_0xdb04('0x25')];this['statedesc']=_0x2ede5c[_0xdb04('0x26')];}module[_0xdb04('0x27')]=History;
\ No newline at end of file
+var _0xf741=['originatecalleridname','state','statedesc','exports','../utils','uniqueid','scheduledat','type','campaigntype','outbound','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countmachineretry','countagentrejectretry','countnosuchnumberretry','countdropretry','countabandonedretry','queue','calleridname','name','calleridnum','number','starttime','endtime','responsetime','ringtime','getSeconds','holdtime','talktime','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum'];(function(_0x133ac3,_0x5ebde1){var _0x1c38b9=function(_0x2443c9){while(--_0x2443c9){_0x133ac3['push'](_0x133ac3['shift']());}};_0x1c38b9(++_0x5ebde1);}(_0xf741,0x19e));var _0x1f74=function(_0x426717,_0x25bbc7){_0x426717=_0x426717-0x0;var _0x18c258=_0xf741[_0x426717];return _0x18c258;};'use strict';var utils=require(_0x1f74('0x0'));function History(_0x4c6a64){this[_0x1f74('0x1')]=_0x4c6a64[_0x1f74('0x1')];this[_0x1f74('0x2')]=_0x4c6a64['scheduledat']||undefined;this[_0x1f74('0x3')]=_0x4c6a64[_0x1f74('0x3')];this[_0x1f74('0x4')]=_0x4c6a64[_0x1f74('0x3')]===_0x1f74('0x5')?'queue':_0x4c6a64[_0x1f74('0x3')];this[_0x1f74('0x6')]=_0x4c6a64[_0x1f74('0x6')];this['countcongestionretry']=_0x4c6a64[_0x1f74('0x7')];this[_0x1f74('0x8')]=_0x4c6a64['countnoanswerretry'];this[_0x1f74('0x9')]=_0x4c6a64[_0x1f74('0x6')]+_0x4c6a64[_0x1f74('0x7')]+_0x4c6a64[_0x1f74('0x8')]+_0x4c6a64['countnosuchnumberretry']+_0x4c6a64['countdropretry']+_0x4c6a64['countabandonedretry']+_0x4c6a64[_0x1f74('0xa')]+_0x4c6a64[_0x1f74('0xb')];this[_0x1f74('0xc')]=_0x4c6a64['countnosuchnumberretry'];this[_0x1f74('0xd')]=_0x4c6a64[_0x1f74('0xd')];this[_0x1f74('0xe')]=_0x4c6a64[_0x1f74('0xe')];this[_0x1f74('0xa')]=_0x4c6a64[_0x1f74('0xa')];this['countagentrejectretry']=_0x4c6a64[_0x1f74('0xb')];this['queue']=_0x4c6a64[_0x1f74('0xf')];this[_0x1f74('0x10')]=_0x4c6a64[_0x1f74('0x11')];this[_0x1f74('0x12')]=_0x4c6a64[_0x1f74('0x13')];this['starttime']=_0x4c6a64[_0x1f74('0x14')];this['responsetime']=_0x4c6a64['responsetime'];this[_0x1f74('0x15')]=_0x4c6a64[_0x1f74('0x16')];this[_0x1f74('0x17')]=utils[_0x1f74('0x18')](_0x4c6a64[_0x1f74('0x16')],_0x4c6a64['starttime']);this[_0x1f74('0x19')]=0x0;this[_0x1f74('0x1a')]=0x0;this[_0x1f74('0x1b')]=_0x4c6a64[_0x1f74('0x1b')];this['callbackuniqueid']=_0x4c6a64[_0x1f74('0x1c')];this[_0x1f74('0x1d')]=_0x4c6a64[_0x1f74('0x1d')];this['recallme']=_0x4c6a64[_0x1f74('0x1e')];this[_0x1f74('0x1f')]=_0x4c6a64['ContactId'];this[_0x1f74('0x20')]=_0x4c6a64[_0x1f74('0x20')];this[_0x1f74('0x21')]=_0x4c6a64[_0x1f74('0x21')];this[_0x1f74('0x22')]=_0x4c6a64[_0x1f74('0x22')];this[_0x1f74('0x23')]=_0x4c6a64[_0x1f74('0x23')];this[_0x1f74('0x24')]=_0x4c6a64['originatecalleridnum']||'';this['originatecalleridname']=_0x4c6a64[_0x1f74('0x25')]||'';this[_0x1f74('0x26')]=_0x4c6a64[_0x1f74('0x26')];this[_0x1f74('0x27')]=_0x4c6a64[_0x1f74('0x27')];}module[_0x1f74('0x28')]=History;
\ No newline at end of file