Built motion from commit (unavailable).|2.5.21
[motion2.git] / server / services / ami / report / index.js
index 45245d1..2306257 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4f06=['xcally-motion-dialer','voiceAgentReport','isArray','startsWith','Local','substring','indexOf','lastIndexOf','exports','moment','util','../../../config/environment','../rpc/voiceAgentReport','../rpc/voiceCallReport','../rpc/voiceDialReport','../rpc/memberReport','../rpc/voiceQueueReport','../rpc/voiceRecording','./voiceQueueReport','./voiceCallReport','./voiceDialReport','./userReport','realtime','agents','telephones','prototype','sync','xdr','custom:voiceQueueReport','custom:voiceCallReport','voiceCallReport','bind','custom:voiceDialReport','voiceDialReport','blindtransfer','blindTransfer','attendedTransfer','findAgent','find','name','isNil','accountcode','interface','format','SIP/%s','voiceQueueReport','assigned','lastAssignedTo','queuecallercomplete','queuecallercompleteAt','YYYY-MM-DD\x20HH:mm:ss','queuecallerexit','create','destination','exten','type','dialer','lastapplication','queue','context','xcally-motion-preview','calleridpreview','originatecalleridnum','destinationchannel','channel','calleridnum','connectedlinenum','\x22%s\x22\x20<%s>','calleridname','transfers','linkedid','transfereelinkedid','uniqueid','length','monitorFilename','filename','monitors','membername'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x4f06,0x18f));var _0x64f0=function(_0x2e07b8,_0x44d712){_0x2e07b8=_0x2e07b8-0x0;var _0x16c432=_0x4f06[_0x2e07b8];return _0x16c432;};'use strict';var _=require('lodash');var moment=require(_0x64f0('0x0'));var util=require(_0x64f0('0x1'));var config=require(_0x64f0('0x2'));var ami=require('../ami');var RpcVoiceAgentReport=require(_0x64f0('0x3'));var RpcVoiceCallReport=require(_0x64f0('0x4'));var RpcVoiceDialReport=require(_0x64f0('0x5'));var RpcMemberReport=require(_0x64f0('0x6'));var RpcVoiceQueueReport=require(_0x64f0('0x7'));var RpcVoiceRecording=require(_0x64f0('0x8'));var RpcVoiceTransferReport=require('../rpc/voiceTransferReport');var VoiceQueueReport=require(_0x64f0('0x9'));var VoiceCallReport=require(_0x64f0('0xa'));var VoiceAgentReport=require('./voiceAgentReport');var VoiceDialReport=require(_0x64f0('0xb'));var UserReport=require(_0x64f0('0xc'));function Report(_0x57cdba){this[_0x64f0('0xd')]=_0x57cdba;this['agents']=_0x57cdba[_0x64f0('0xe')];this[_0x64f0('0xf')]=_0x57cdba[_0x64f0('0xf')];}Report[_0x64f0('0x10')][_0x64f0('0x11')]=function(_0x11e8b4){var _0x3cfef5=new VoiceQueueReport(this[_0x64f0('0xd')]);var _0x58608b=new VoiceAgentReport(this[_0x64f0('0xd')]);var _0x780ad4=new VoiceDialReport(this[_0x64f0('0xd')]);var _0x588311=new VoiceCallReport(this[_0x64f0('0xd')]);var _0x8fda35=new UserReport(this[_0x64f0('0xd')]);if(config[_0x64f0('0x12')]&&config[_0x64f0('0x12')]['disabled']){ami['on'](_0x64f0('0x13'),this['voiceQueueReport']['bind'](this));ami['on'](_0x64f0('0x14'),this[_0x64f0('0x15')][_0x64f0('0x16')](this));ami['on']('custom:voiceAgentReport',this['voiceAgentReport'][_0x64f0('0x16')](this));ami['on'](_0x64f0('0x17'),this[_0x64f0('0x18')][_0x64f0('0x16')](this));ami['on'](_0x64f0('0x19'),this[_0x64f0('0x1a')][_0x64f0('0x16')](this));ami['on']('attendedtransfer',this[_0x64f0('0x1b')][_0x64f0('0x16')](this));}};Report['prototype'][_0x64f0('0x1c')]=function(_0x179ee5){var _0xee2ff2;_0xee2ff2=_[_0x64f0('0x1d')](this['agents'],function(_0x1f51be){return _0x1f51be['accountcode']==_0x179ee5||_0x1f51be[_0x64f0('0x1e')]==_0x179ee5;});if(_[_0x64f0('0x1f')](_0xee2ff2)){var _0x43c831=_[_0x64f0('0x1d')](this[_0x64f0('0xf')],function(_0x3b7180){return _0x3b7180[_0x64f0('0x20')]==_0x179ee5||_0x3b7180['name']==_0x179ee5;});if(_0x43c831){_0xee2ff2=_[_0x64f0('0x1d')](this[_0x64f0('0xe')],function(_0x4c03f5){return _0x4c03f5[_0x64f0('0x21')]==util[_0x64f0('0x22')](_0x64f0('0x23'),_0x43c831[_0x64f0('0x1e')]);});}}return _0xee2ff2;};Report['prototype'][_0x64f0('0x24')]=function(_0xc305b8){for(var _0x3d6dcd=0x0;_0x3d6dcd<_0xc305b8['length'];_0x3d6dcd+=0x1){var _0x441f3f=this[_0x64f0('0x1c')](_0xc305b8[_0x3d6dcd]['connectedlinenum']);if(_0x441f3f){_0xc305b8[_0x3d6dcd][_0x64f0('0x20')]=_0x441f3f['accountcode'];_0xc305b8[_0x3d6dcd][_0x64f0('0x25')]=!![];_0xc305b8[_0x3d6dcd][_0x64f0('0x26')]=_0x441f3f[_0x64f0('0x1e')];_0xc305b8[_0x3d6dcd][_0x64f0('0x21')]=_[_0x64f0('0x1f')](_0x441f3f[_0x64f0('0x21')])?util[_0x64f0('0x22')](_0x64f0('0x23'),_0x441f3f['name']):_0x441f3f[_0x64f0('0x21')];if(_0xc305b8[_0x3d6dcd][_0x64f0('0x27')]){_0xc305b8[_0x3d6dcd][_0x64f0('0x28')]=moment()[_0x64f0('0x22')](_0x64f0('0x29'));}if(_0xc305b8[_0x3d6dcd][_0x64f0('0x2a')]){_0xc305b8[_0x3d6dcd]['queuecallerexitAt']=moment()[_0x64f0('0x22')](_0x64f0('0x29'));}RpcMemberReport[_0x64f0('0x24')](_0xc305b8[_0x3d6dcd]);}RpcVoiceQueueReport[_0x64f0('0x2b')](_0xc305b8[_0x3d6dcd]);}};function extractCalleridNumber(_0x3860ef){var _0x736eb5=_0x3860ef['match'](/<(.*?)>/);return _0x736eb5?_0x736eb5[0x1]:_0x3860ef;}Report[_0x64f0('0x10')][_0x64f0('0x15')]=function(_0x287194){_0x287194[_0x64f0('0x2c')]=_0x287194[_0x64f0('0x2c')]||_0x287194[_0x64f0('0x2d')];if(_0x287194[_0x64f0('0x2e')]==_0x64f0('0x2f')){_0x287194[_0x64f0('0x30')]=_0x64f0('0x31');_0x287194['lastdata']=_0x287194[_0x64f0('0x31')];if(_0x287194[_0x64f0('0x32')]=='from-voip-provider'){_0x287194[_0x64f0('0x20')]='';_0x287194[_0x64f0('0x2c')]=extractCalleridNumber(_0x287194['callerid']);}else if(_0x287194[_0x64f0('0x32')]=='from-sip'){if(_0x287194[_0x64f0('0x2c')]==_0x64f0('0x33')){_0x287194[_0x64f0('0x2c')]=extractCalleridNumber(_0x287194[_0x64f0('0x34')]);_0x287194['calleridnum']=_0x287194[_0x64f0('0x35')];_0x287194[_0x64f0('0x36')]=[_0x287194[_0x64f0('0x37')],_0x287194['channel']=_0x287194[_0x64f0('0x36')]][0x0];_0x287194['callerid']=_0x287194[_0x64f0('0x34')];}else{_0x287194[_0x64f0('0x2c')]=_0x287194[_0x64f0('0x38')];_0x287194['calleridnum']=_0x287194[_0x64f0('0x35')];if(_0x287194['disposition']=='ANSWERED'){_0x287194['accountcode']=_0x287194[_0x64f0('0x39')];}else{_0x287194['accountcode']='';}}}}else{_0x287194['callerid']=util[_0x64f0('0x22')](_0x64f0('0x3a'),_0x287194[_0x64f0('0x3b')],_0x287194[_0x64f0('0x38')]);}if(RpcVoiceTransferReport[_0x64f0('0x3c')][_0x287194[_0x64f0('0x3d')]]){var _0xc8946=RpcVoiceTransferReport['transfers'][_0x287194['linkedid']];_0xc8946[_0x64f0('0x3e')]=_0x287194[_0x64f0('0x3f')];RpcVoiceTransferReport[_0x64f0('0x1a')](_0xc8946);delete RpcVoiceTransferReport[_0x64f0('0x3c')][_0x287194[_0x64f0('0x3d')]];}RpcVoiceCallReport[_0x64f0('0x2b')](_0x287194);if(_0x287194['monitor']){for(var _0x53a004=0x0;_0x53a004<_0x287194['monitors'][_0x64f0('0x40')];_0x53a004+=0x1){_0x287194[_0x64f0('0x41')]=_0x287194['monitors'][_0x53a004][_0x64f0('0x42')];_0x287194['createdAt']=_0x287194[_0x64f0('0x43')][_0x53a004]['createdAt'];if(_0x287194[_0x64f0('0x2d')]==_0x64f0('0x33')){_0x287194['calleridnum']=_0x287194['connectedlinenum'];_0x287194[_0x64f0('0x3b')]=_0x287194['connectedlinename'];_0x287194[_0x64f0('0x39')]=_0x287194[_0x64f0('0x20')];_0x287194['connectedlinename']=_0x287194[_0x64f0('0x44')];_0x287194[_0x64f0('0x2d')]=_0x287194[_0x64f0('0x35')];}else if(_0x287194[_0x64f0('0x2d')]==_0x64f0('0x45')){_0x287194[_0x64f0('0x38')]=_0x287194[_0x64f0('0x2c')];_0x287194[_0x64f0('0x2d')]=_0x287194[_0x64f0('0x35')];}RpcVoiceRecording[_0x64f0('0x2b')](_0x287194);}}};Report[_0x64f0('0x10')][_0x64f0('0x46')]=function(_0x2ea9e9){if(_[_0x64f0('0x47')](_0x2ea9e9)){_0x2ea9e9['forEach'](function(_0x3de9d5){RpcVoiceAgentReport['create'](_0x3de9d5);});}else{RpcVoiceAgentReport['create'](_0x2ea9e9);}};Report[_0x64f0('0x10')][_0x64f0('0x18')]=function(_0x55f15d){RpcVoiceDialReport[_0x64f0('0x2b')](_0x55f15d);var _0x588767;var _0x2385cd;var _0x190125=_0x55f15d['channel'];if(_[_0x64f0('0x48')](_0x190125,_0x64f0('0x49'))){_0x2385cd=_0x190125[_0x64f0('0x4a')](_0x190125[_0x64f0('0x4b')]('/')+0x1,_0x190125['indexOf']('@'));_0x588767=_[_0x64f0('0x1d')](this[_0x64f0('0xe')],function(_0x3cb150){return _0x3cb150['mobile']==_0x2385cd||_0x3cb150['phone']==_0x2385cd||_0x3cb150['accountcode']==_0x2385cd;});}else{_0x2385cd=_0x190125['substring'](_0x190125[_0x64f0('0x4b')]('/')+0x1,_0x190125[_0x64f0('0x4c')]('-'));_0x588767=this[_0x64f0('0x1c')](_0x2385cd);}if(_0x588767){_0x55f15d[_0x64f0('0x21')]=_[_0x64f0('0x1f')](_0x588767[_0x64f0('0x21')])?util[_0x64f0('0x22')](_0x64f0('0x23'),_0x588767[_0x64f0('0x1e')]):_0x588767[_0x64f0('0x21')];_0x55f15d[_0x64f0('0x44')]=_0x588767[_0x64f0('0x1e')];_0x55f15d[_0x64f0('0x20')]=_0x588767[_0x64f0('0x20')];RpcMemberReport[_0x64f0('0x18')](_0x55f15d);}};Report[_0x64f0('0x10')][_0x64f0('0x1a')]=function(_0x31ccfb){RpcVoiceTransferReport[_0x64f0('0x3c')][_0x31ccfb['transfererlinkedid']]=_0x31ccfb;};Report[_0x64f0('0x10')][_0x64f0('0x1b')]=function(_0x417df6){RpcVoiceTransferReport[_0x64f0('0x1b')](_0x417df6);};module[_0x64f0('0x4d')]=Report;
\ No newline at end of file
+var _0xea8d=['assigned','lastAssignedTo','interface','queuecallercomplete','queuecallercompleteAt','YYYY-MM-DD\x20HH:mm:ss','queuecallerexit','create','match','destination','queue','lastdata','context','from-voip-provider','callerid','from-sip','xcally-motion-preview','calleridpreview','calleridnum','originatecalleridnum','destinationchannel','channel','ANSWERED','calleridname','transfers','linkedid','uniqueid','monitor','monitors','length','monitorFilename','createdAt','exten','connectedlinename','membername','forEach','startsWith','Local','substring','indexOf','phone','lastIndexOf','exports','lodash','moment','../../../config/environment','../rpc/voiceCallReport','../rpc/voiceDialReport','../rpc/memberReport','../rpc/voiceRecording','../rpc/voiceTransferReport','./voiceQueueReport','./voiceCallReport','./voiceAgentReport','./voiceDialReport','./userReport','agents','telephones','sync','realtime','disabled','custom:voiceQueueReport','voiceQueueReport','bind','custom:voiceCallReport','voiceCallReport','custom:voiceAgentReport','voiceAgentReport','custom:voiceDialReport','voiceDialReport','blindtransfer','blindTransfer','attendedTransfer','prototype','findAgent','find','name','isNil','format','SIP/%s','connectedlinenum','accountcode'];(function(_0x16a244,_0x31d392){var _0x374334=function(_0x1f7ac5){while(--_0x1f7ac5){_0x16a244['push'](_0x16a244['shift']());}};_0x374334(++_0x31d392);}(_0xea8d,0x121));var _0xdea8=function(_0x50cf7e,_0x50787b){_0x50cf7e=_0x50cf7e-0x0;var _0x1d74ec=_0xea8d[_0x50cf7e];return _0x1d74ec;};'use strict';var _=require(_0xdea8('0x0'));var moment=require(_0xdea8('0x1'));var util=require('util');var config=require(_0xdea8('0x2'));var ami=require('../ami');var RpcVoiceAgentReport=require('../rpc/voiceAgentReport');var RpcVoiceCallReport=require(_0xdea8('0x3'));var RpcVoiceDialReport=require(_0xdea8('0x4'));var RpcMemberReport=require(_0xdea8('0x5'));var RpcVoiceQueueReport=require('../rpc/voiceQueueReport');var RpcVoiceRecording=require(_0xdea8('0x6'));var RpcVoiceTransferReport=require(_0xdea8('0x7'));var VoiceQueueReport=require(_0xdea8('0x8'));var VoiceCallReport=require(_0xdea8('0x9'));var VoiceAgentReport=require(_0xdea8('0xa'));var VoiceDialReport=require(_0xdea8('0xb'));var UserReport=require(_0xdea8('0xc'));function Report(_0x50f674){this['realtime']=_0x50f674;this[_0xdea8('0xd')]=_0x50f674[_0xdea8('0xd')];this[_0xdea8('0xe')]=_0x50f674[_0xdea8('0xe')];}Report['prototype'][_0xdea8('0xf')]=function(_0x38545e){var _0x8c410e=new VoiceQueueReport(this[_0xdea8('0x10')]);var _0x2e8a9c=new VoiceAgentReport(this[_0xdea8('0x10')]);var _0x54550f=new VoiceDialReport(this[_0xdea8('0x10')]);var _0x2a82e3=new VoiceCallReport(this[_0xdea8('0x10')]);var _0x5746be=new UserReport(this['realtime']);if(config['xdr']&&config['xdr'][_0xdea8('0x11')]){ami['on'](_0xdea8('0x12'),this[_0xdea8('0x13')][_0xdea8('0x14')](this));ami['on'](_0xdea8('0x15'),this[_0xdea8('0x16')][_0xdea8('0x14')](this));ami['on'](_0xdea8('0x17'),this[_0xdea8('0x18')][_0xdea8('0x14')](this));ami['on'](_0xdea8('0x19'),this[_0xdea8('0x1a')]['bind'](this));ami['on'](_0xdea8('0x1b'),this[_0xdea8('0x1c')][_0xdea8('0x14')](this));ami['on']('attendedtransfer',this[_0xdea8('0x1d')][_0xdea8('0x14')](this));}};Report[_0xdea8('0x1e')][_0xdea8('0x1f')]=function(_0x10cf11){var _0x4eb88f;_0x4eb88f=_[_0xdea8('0x20')](this[_0xdea8('0xd')],function(_0x5e4eae){return _0x5e4eae['accountcode']==_0x10cf11||_0x5e4eae[_0xdea8('0x21')]==_0x10cf11;});if(_[_0xdea8('0x22')](_0x4eb88f)){var _0x124a88=_['find'](this['telephones'],function(_0x34b177){return _0x34b177['accountcode']==_0x10cf11||_0x34b177[_0xdea8('0x21')]==_0x10cf11;});if(_0x124a88){_0x4eb88f=_[_0xdea8('0x20')](this[_0xdea8('0xd')],function(_0x54c762){return _0x54c762['interface']==util[_0xdea8('0x23')](_0xdea8('0x24'),_0x124a88['name']);});}}return _0x4eb88f;};Report[_0xdea8('0x1e')]['voiceQueueReport']=function(_0x460277){for(var _0x7781c3=0x0;_0x7781c3<_0x460277['length'];_0x7781c3+=0x1){var _0x5d9442=this['findAgent'](_0x460277[_0x7781c3][_0xdea8('0x25')]);if(_0x5d9442){_0x460277[_0x7781c3]['accountcode']=_0x5d9442[_0xdea8('0x26')];_0x460277[_0x7781c3][_0xdea8('0x27')]=!![];_0x460277[_0x7781c3][_0xdea8('0x28')]=_0x5d9442[_0xdea8('0x21')];_0x460277[_0x7781c3][_0xdea8('0x29')]=_[_0xdea8('0x22')](_0x5d9442[_0xdea8('0x29')])?util[_0xdea8('0x23')](_0xdea8('0x24'),_0x5d9442['name']):_0x5d9442['interface'];if(_0x460277[_0x7781c3][_0xdea8('0x2a')]){_0x460277[_0x7781c3][_0xdea8('0x2b')]=moment()[_0xdea8('0x23')](_0xdea8('0x2c'));}if(_0x460277[_0x7781c3][_0xdea8('0x2d')]){_0x460277[_0x7781c3]['queuecallerexitAt']=moment()[_0xdea8('0x23')](_0xdea8('0x2c'));}RpcMemberReport[_0xdea8('0x13')](_0x460277[_0x7781c3]);}RpcVoiceQueueReport[_0xdea8('0x2e')](_0x460277[_0x7781c3]);}};function extractCalleridNumber(_0x5d4f8e){var _0x2671a0=_0x5d4f8e[_0xdea8('0x2f')](/<(.*?)>/);return _0x2671a0?_0x2671a0[0x1]:_0x5d4f8e;}Report['prototype'][_0xdea8('0x16')]=function(_0x27db33){_0x27db33[_0xdea8('0x30')]=_0x27db33[_0xdea8('0x30')]||_0x27db33['exten'];if(_0x27db33['type']=='dialer'){_0x27db33['lastapplication']=_0xdea8('0x31');_0x27db33[_0xdea8('0x32')]=_0x27db33['queue'];if(_0x27db33[_0xdea8('0x33')]==_0xdea8('0x34')){_0x27db33[_0xdea8('0x26')]='';_0x27db33['destination']=extractCalleridNumber(_0x27db33[_0xdea8('0x35')]);}else if(_0x27db33['context']==_0xdea8('0x36')){if(_0x27db33[_0xdea8('0x30')]==_0xdea8('0x37')){_0x27db33[_0xdea8('0x30')]=extractCalleridNumber(_0x27db33[_0xdea8('0x38')]);_0x27db33[_0xdea8('0x39')]=_0x27db33[_0xdea8('0x3a')];_0x27db33[_0xdea8('0x3b')]=[_0x27db33['channel'],_0x27db33[_0xdea8('0x3c')]=_0x27db33[_0xdea8('0x3b')]][0x0];_0x27db33['callerid']=_0x27db33[_0xdea8('0x38')];}else{_0x27db33[_0xdea8('0x30')]=_0x27db33[_0xdea8('0x39')];_0x27db33[_0xdea8('0x39')]=_0x27db33[_0xdea8('0x3a')];if(_0x27db33['disposition']==_0xdea8('0x3d')){_0x27db33[_0xdea8('0x26')]=_0x27db33[_0xdea8('0x25')];}else{_0x27db33[_0xdea8('0x26')]='';}}}}else{_0x27db33[_0xdea8('0x35')]=util[_0xdea8('0x23')]('\x22%s\x22\x20<%s>',_0x27db33[_0xdea8('0x3e')],_0x27db33['calleridnum']);}if(RpcVoiceTransferReport[_0xdea8('0x3f')][_0x27db33[_0xdea8('0x40')]]){var _0x368bd3=RpcVoiceTransferReport[_0xdea8('0x3f')][_0x27db33[_0xdea8('0x40')]];_0x368bd3['transfereelinkedid']=_0x27db33[_0xdea8('0x41')];RpcVoiceTransferReport[_0xdea8('0x1c')](_0x368bd3);delete RpcVoiceTransferReport[_0xdea8('0x3f')][_0x27db33[_0xdea8('0x40')]];}RpcVoiceCallReport[_0xdea8('0x2e')](_0x27db33);if(_0x27db33[_0xdea8('0x42')]){for(var _0x22fe13=0x0;_0x22fe13<_0x27db33[_0xdea8('0x43')][_0xdea8('0x44')];_0x22fe13+=0x1){_0x27db33[_0xdea8('0x45')]=_0x27db33['monitors'][_0x22fe13]['filename'];_0x27db33['createdAt']=_0x27db33[_0xdea8('0x43')][_0x22fe13][_0xdea8('0x46')];if(_0x27db33[_0xdea8('0x47')]=='xcally-motion-preview'){_0x27db33['calleridnum']=_0x27db33[_0xdea8('0x25')];_0x27db33[_0xdea8('0x3e')]=_0x27db33[_0xdea8('0x48')];_0x27db33[_0xdea8('0x25')]=_0x27db33[_0xdea8('0x26')];_0x27db33[_0xdea8('0x48')]=_0x27db33[_0xdea8('0x49')];_0x27db33[_0xdea8('0x47')]=_0x27db33[_0xdea8('0x3a')];}else if(_0x27db33[_0xdea8('0x47')]=='xcally-motion-dialer'){_0x27db33[_0xdea8('0x39')]=_0x27db33[_0xdea8('0x30')];_0x27db33[_0xdea8('0x47')]=_0x27db33['originatecalleridnum'];}RpcVoiceRecording['create'](_0x27db33);}}};Report[_0xdea8('0x1e')]['voiceAgentReport']=function(_0x1a8794){if(_['isArray'](_0x1a8794)){_0x1a8794[_0xdea8('0x4a')](function(_0x1cc58b){RpcVoiceAgentReport[_0xdea8('0x2e')](_0x1cc58b);});}else{RpcVoiceAgentReport[_0xdea8('0x2e')](_0x1a8794);}};Report[_0xdea8('0x1e')][_0xdea8('0x1a')]=function(_0x3364dc){RpcVoiceDialReport[_0xdea8('0x2e')](_0x3364dc);var _0x10a5fe;var _0x4f53e8;var _0x34daf3=_0x3364dc[_0xdea8('0x3c')];if(_[_0xdea8('0x4b')](_0x34daf3,_0xdea8('0x4c'))){_0x4f53e8=_0x34daf3[_0xdea8('0x4d')](_0x34daf3[_0xdea8('0x4e')]('/')+0x1,_0x34daf3[_0xdea8('0x4e')]('@'));_0x10a5fe=_[_0xdea8('0x20')](this['agents'],function(_0x2d4a69){return _0x2d4a69['mobile']==_0x4f53e8||_0x2d4a69[_0xdea8('0x4f')]==_0x4f53e8||_0x2d4a69['accountcode']==_0x4f53e8;});}else{_0x4f53e8=_0x34daf3[_0xdea8('0x4d')](_0x34daf3[_0xdea8('0x4e')]('/')+0x1,_0x34daf3[_0xdea8('0x50')]('-'));_0x10a5fe=this[_0xdea8('0x1f')](_0x4f53e8);}if(_0x10a5fe){_0x3364dc[_0xdea8('0x29')]=_[_0xdea8('0x22')](_0x10a5fe[_0xdea8('0x29')])?util[_0xdea8('0x23')](_0xdea8('0x24'),_0x10a5fe['name']):_0x10a5fe[_0xdea8('0x29')];_0x3364dc[_0xdea8('0x49')]=_0x10a5fe[_0xdea8('0x21')];_0x3364dc['accountcode']=_0x10a5fe[_0xdea8('0x26')];RpcMemberReport[_0xdea8('0x1a')](_0x3364dc);}};Report[_0xdea8('0x1e')][_0xdea8('0x1c')]=function(_0x4de931){RpcVoiceTransferReport[_0xdea8('0x3f')][_0x4de931['transfererlinkedid']]=_0x4de931;};Report[_0xdea8('0x1e')][_0xdea8('0x1d')]=function(_0x41c57d){RpcVoiceTransferReport[_0xdea8('0x1d')](_0x41c57d);};module[_0xdea8('0x51')]=Report;
\ No newline at end of file