Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / services / ami / report / index.js
index a3850b8..9b84b83 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x5869=['callerid','from-sip','xcally-motion-preview','calleridpreview','originatecalleridnum','destinationchannel','channel','calleridnum','disposition','ANSWERED','\x22%s\x22\x20<%s>','calleridname','create','monitor','monitors','monitorFilename','createdAt','connectedlinename','membername','xcally-motion-dialer','forEach','startsWith','Local','substring','indexOf','phone','attendedTransfer','exports','bluebird','moment','util','../../../config/environment','../../../config/logger','ami','../ami','../rpc/voiceCallReport','../rpc/voiceDialReport','../rpc/voiceQueueReport','../rpc/voiceRecording','./voiceQueueReport','./voiceCallReport','./voiceAgentReport','./voiceDialReport','./userReport','realtime','agents','telephones','sync','xdr','disabled','custom:voiceQueueReport','voiceQueueReport','custom:voiceCallReport','voiceCallReport','bind','custom:voiceAgentReport','custom:voiceDialReport','voiceDialReport','blindtransfer','blindTransfer','attendedtransfer','findAgent','find','accountcode','name','isNil','interface','SIP/%s','length','connectedlinenum','assigned','lastAssignedTo','format','queuecallercomplete','queuecallercompleteAt','YYYY-MM-DD\x20HH:mm:ss','queuecallerexit','queuecallerexitAt','match','prototype','destination','exten','type','dialer','lastapplication','queue','context','from-voip-provider'];(function(_0x3d5548,_0x228e15){var _0x43f68c=function(_0x562afb){while(--_0x562afb){_0x3d5548['push'](_0x3d5548['shift']());}};_0x43f68c(++_0x228e15);}(_0x5869,0x1d4));var _0x9586=function(_0x17ef88,_0x581af4){_0x17ef88=_0x17ef88-0x0;var _0x1dc0fc=_0x5869[_0x17ef88];return _0x1dc0fc;};'use strict';var BPromise=require(_0x9586('0x0'));var _=require('lodash');var moment=require(_0x9586('0x1'));var util=require(_0x9586('0x2'));var config=require(_0x9586('0x3'));var logger=require(_0x9586('0x4'))(_0x9586('0x5'));var ami=require(_0x9586('0x6'));var RpcVoiceAgentReport=require('../rpc/voiceAgentReport');var RpcVoiceCallReport=require(_0x9586('0x7'));var RpcVoiceDialReport=require(_0x9586('0x8'));var RpcMemberReport=require('../rpc/memberReport');var RpcVoiceQueueReport=require(_0x9586('0x9'));var RpcVoiceRecording=require(_0x9586('0xa'));var RpcVoiceTransferReport=require('../rpc/voiceTransferReport');var VoiceQueueReport=require(_0x9586('0xb'));var VoiceCallReport=require(_0x9586('0xc'));var VoiceAgentReport=require(_0x9586('0xd'));var VoiceDialReport=require(_0x9586('0xe'));var UserReport=require(_0x9586('0xf'));function Report(_0x5193db){this[_0x9586('0x10')]=_0x5193db;this[_0x9586('0x11')]=_0x5193db[_0x9586('0x11')];this['telephones']=_0x5193db[_0x9586('0x12')];}Report['prototype'][_0x9586('0x13')]=function(_0x285e4f){var _0x560544=new VoiceQueueReport(this[_0x9586('0x10')]);var _0x2aa8da=new VoiceAgentReport(this[_0x9586('0x10')]);var _0x597c4f=new VoiceDialReport(this[_0x9586('0x10')]);var _0x56163e=new VoiceCallReport(this['realtime']);var _0x41c2a3=new UserReport(this['realtime']);if(config[_0x9586('0x14')]&&config[_0x9586('0x14')][_0x9586('0x15')]){ami['on'](_0x9586('0x16'),this[_0x9586('0x17')]['bind'](this));ami['on'](_0x9586('0x18'),this[_0x9586('0x19')][_0x9586('0x1a')](this));ami['on'](_0x9586('0x1b'),this['voiceAgentReport'][_0x9586('0x1a')](this));ami['on'](_0x9586('0x1c'),this[_0x9586('0x1d')]['bind'](this));ami['on'](_0x9586('0x1e'),this[_0x9586('0x1f')][_0x9586('0x1a')](this));ami['on'](_0x9586('0x20'),this['attendedTransfer'][_0x9586('0x1a')](this));}};Report['prototype'][_0x9586('0x21')]=function(_0xa95755){var _0x574234=undefined;_0x574234=_[_0x9586('0x22')](this[_0x9586('0x11')],function(_0x585c77){return _0x585c77[_0x9586('0x23')]==_0xa95755||_0x585c77[_0x9586('0x24')]==_0xa95755;});if(_[_0x9586('0x25')](_0x574234)){var _0xd5c983=_[_0x9586('0x22')](this[_0x9586('0x12')],function(_0x16a430){return _0x16a430[_0x9586('0x23')]==_0xa95755||_0x16a430[_0x9586('0x24')]==_0xa95755;});if(_0xd5c983){_0x574234=_[_0x9586('0x22')](this['agents'],function(_0x25da60){return _0x25da60[_0x9586('0x26')]==util['format'](_0x9586('0x27'),_0xd5c983[_0x9586('0x24')]);});}}return _0x574234;};Report['prototype'][_0x9586('0x17')]=function(_0x44e39a){for(var _0xdfc60a=0x0;_0xdfc60a<_0x44e39a[_0x9586('0x28')];_0xdfc60a+=0x1){var _0x3883ab=this[_0x9586('0x21')](_0x44e39a[_0xdfc60a][_0x9586('0x29')]);if(_0x3883ab){_0x44e39a[_0xdfc60a][_0x9586('0x23')]=_0x3883ab['accountcode'];_0x44e39a[_0xdfc60a][_0x9586('0x2a')]=!![];_0x44e39a[_0xdfc60a][_0x9586('0x2b')]=_0x3883ab['name'];_0x44e39a[_0xdfc60a][_0x9586('0x26')]=_[_0x9586('0x25')](_0x3883ab[_0x9586('0x26')])?util[_0x9586('0x2c')](_0x9586('0x27'),_0x3883ab[_0x9586('0x24')]):_0x3883ab[_0x9586('0x26')];if(_0x44e39a[_0xdfc60a][_0x9586('0x2d')]){_0x44e39a[_0xdfc60a][_0x9586('0x2e')]=moment()['format'](_0x9586('0x2f'));}if(_0x44e39a[_0xdfc60a][_0x9586('0x30')]){_0x44e39a[_0xdfc60a][_0x9586('0x31')]=moment()[_0x9586('0x2c')](_0x9586('0x2f'));}RpcMemberReport[_0x9586('0x17')](_0x44e39a[_0xdfc60a]);}RpcVoiceQueueReport['create'](_0x44e39a[_0xdfc60a]);}};function extractCalleridNumber(_0x4cceb2){var _0x32a1d0=_0x4cceb2[_0x9586('0x32')](/<(.*?)>/);return _0x32a1d0?_0x32a1d0[0x1]:_0x4cceb2;}Report[_0x9586('0x33')][_0x9586('0x19')]=function(_0x1ae967){_0x1ae967[_0x9586('0x34')]=_0x1ae967['destination']||_0x1ae967[_0x9586('0x35')];if(_0x1ae967[_0x9586('0x36')]==_0x9586('0x37')){_0x1ae967[_0x9586('0x38')]=_0x9586('0x39');_0x1ae967['lastdata']=_0x1ae967[_0x9586('0x39')];if(_0x1ae967[_0x9586('0x3a')]==_0x9586('0x3b')){_0x1ae967[_0x9586('0x23')]='';_0x1ae967[_0x9586('0x34')]=extractCalleridNumber(_0x1ae967[_0x9586('0x3c')]);}else if(_0x1ae967[_0x9586('0x3a')]==_0x9586('0x3d')){if(_0x1ae967[_0x9586('0x34')]==_0x9586('0x3e')){_0x1ae967[_0x9586('0x34')]=extractCalleridNumber(_0x1ae967[_0x9586('0x3f')]);_0x1ae967['calleridnum']=_0x1ae967[_0x9586('0x40')];_0x1ae967[_0x9586('0x41')]=[_0x1ae967[_0x9586('0x42')],_0x1ae967[_0x9586('0x42')]=_0x1ae967[_0x9586('0x41')]][0x0];_0x1ae967['callerid']=_0x1ae967['calleridpreview'];}else{_0x1ae967[_0x9586('0x34')]=_0x1ae967[_0x9586('0x43')];_0x1ae967['calleridnum']=_0x1ae967[_0x9586('0x40')];if(_0x1ae967[_0x9586('0x44')]==_0x9586('0x45')){_0x1ae967[_0x9586('0x23')]=_0x1ae967[_0x9586('0x29')];}else{_0x1ae967['accountcode']='';}}}}else{_0x1ae967['callerid']=util[_0x9586('0x2c')](_0x9586('0x46'),_0x1ae967[_0x9586('0x47')],_0x1ae967[_0x9586('0x43')]);}RpcVoiceCallReport[_0x9586('0x48')](_0x1ae967);if(_0x1ae967[_0x9586('0x49')]){for(var _0x39fd77=0x0;_0x39fd77<_0x1ae967[_0x9586('0x4a')][_0x9586('0x28')];_0x39fd77+=0x1){_0x1ae967[_0x9586('0x4b')]=_0x1ae967['monitors'][_0x39fd77]['filename'];_0x1ae967[_0x9586('0x4c')]=_0x1ae967['monitors'][_0x39fd77][_0x9586('0x4c')];if(_0x1ae967[_0x9586('0x35')]==_0x9586('0x3e')){_0x1ae967[_0x9586('0x43')]=_0x1ae967[_0x9586('0x29')];_0x1ae967[_0x9586('0x47')]=_0x1ae967[_0x9586('0x4d')];_0x1ae967[_0x9586('0x29')]=_0x1ae967[_0x9586('0x23')];_0x1ae967[_0x9586('0x4d')]=_0x1ae967[_0x9586('0x4e')];_0x1ae967[_0x9586('0x35')]=_0x1ae967[_0x9586('0x40')];}else if(_0x1ae967[_0x9586('0x35')]==_0x9586('0x4f')){_0x1ae967[_0x9586('0x43')]=_0x1ae967[_0x9586('0x34')];_0x1ae967['exten']=_0x1ae967[_0x9586('0x40')];}RpcVoiceRecording[_0x9586('0x48')](_0x1ae967);}}};Report[_0x9586('0x33')]['voiceAgentReport']=function(_0x1b7c8c){if(_['isArray'](_0x1b7c8c)){_0x1b7c8c[_0x9586('0x50')](function(_0x335b12){RpcVoiceAgentReport[_0x9586('0x48')](_0x335b12);});}else{RpcVoiceAgentReport[_0x9586('0x48')](_0x1b7c8c);}};Report[_0x9586('0x33')][_0x9586('0x1d')]=function(_0x190031){RpcVoiceDialReport[_0x9586('0x48')](_0x190031);var _0x276329=undefined;var _0x3fccf0=_0x190031['channel'];if(_[_0x9586('0x51')](_0x3fccf0,_0x9586('0x52'))){var _0x492173=_0x3fccf0[_0x9586('0x53')](_0x3fccf0[_0x9586('0x54')]('/')+0x1,_0x3fccf0[_0x9586('0x54')]('@'));_0x276329=_[_0x9586('0x22')](this['agents'],function(_0x27ded0){return _0x27ded0['mobile']==_0x492173||_0x27ded0[_0x9586('0x55')]==_0x492173||_0x27ded0[_0x9586('0x23')]==_0x492173;});}else{var _0x492173=_0x3fccf0[_0x9586('0x53')](_0x3fccf0[_0x9586('0x54')]('/')+0x1,_0x3fccf0['lastIndexOf']('-'));_0x276329=this[_0x9586('0x21')](_0x492173);}if(_0x276329){_0x190031[_0x9586('0x26')]=_[_0x9586('0x25')](_0x276329[_0x9586('0x26')])?util['format'](_0x9586('0x27'),_0x276329[_0x9586('0x24')]):_0x276329[_0x9586('0x26')];_0x190031[_0x9586('0x4e')]=_0x276329[_0x9586('0x24')];_0x190031[_0x9586('0x23')]=_0x276329[_0x9586('0x23')];RpcMemberReport['voiceDialReport'](_0x190031);}};Report[_0x9586('0x33')][_0x9586('0x1f')]=function(_0xc60797){RpcVoiceTransferReport[_0x9586('0x1f')](_0xc60797);};Report['prototype']['attendedTransfer']=function(_0x4cad89){RpcVoiceTransferReport[_0x9586('0x56')](_0x4cad89);};module[_0x9586('0x57')]=Report;
\ No newline at end of file
+var _0x8eb6=['lastapplication','queue','context','from-voip-provider','from-sip','calleridpreview','calleridnum','originatecalleridnum','destinationchannel','channel','callerid','ANSWERED','\x22%s\x22\x20<%s>','calleridname','monitor','monitors','monitorFilename','createdAt','xcally-motion-preview','connectedlinename','membername','voiceAgentReport','isArray','forEach','Local','substring','indexOf','mobile','phone','lastIndexOf','lodash','moment','util','../../../config/environment','../../../config/logger','ami','../ami','../rpc/voiceCallReport','../rpc/voiceDialReport','../rpc/memberReport','../rpc/voiceQueueReport','../rpc/voiceRecording','../rpc/voiceTransferReport','./voiceQueueReport','./voiceCallReport','./voiceAgentReport','./voiceDialReport','./userReport','agents','telephones','realtime','xdr','disabled','custom:voiceQueueReport','voiceQueueReport','bind','voiceCallReport','custom:voiceAgentReport','custom:voiceDialReport','voiceDialReport','blindTransfer','attendedtransfer','attendedTransfer','findAgent','find','name','isNil','accountcode','SIP/%s','length','connectedlinenum','lastAssignedTo','interface','format','queuecallercomplete','queuecallercompleteAt','YYYY-MM-DD\x20HH:mm:ss','queuecallerexitAt','create','match','prototype','destination','exten'];(function(_0x817d9b,_0x3c37e3){var _0x2752e1=function(_0x2b434e){while(--_0x2b434e){_0x817d9b['push'](_0x817d9b['shift']());}};_0x2752e1(++_0x3c37e3);}(_0x8eb6,0x117));var _0x68eb=function(_0x4ac2a9,_0x438a1e){_0x4ac2a9=_0x4ac2a9-0x0;var _0x39a879=_0x8eb6[_0x4ac2a9];return _0x39a879;};'use strict';var BPromise=require('bluebird');var _=require(_0x68eb('0x0'));var moment=require(_0x68eb('0x1'));var util=require(_0x68eb('0x2'));var config=require(_0x68eb('0x3'));var logger=require(_0x68eb('0x4'))(_0x68eb('0x5'));var ami=require(_0x68eb('0x6'));var RpcVoiceAgentReport=require('../rpc/voiceAgentReport');var RpcVoiceCallReport=require(_0x68eb('0x7'));var RpcVoiceDialReport=require(_0x68eb('0x8'));var RpcMemberReport=require(_0x68eb('0x9'));var RpcVoiceQueueReport=require(_0x68eb('0xa'));var RpcVoiceRecording=require(_0x68eb('0xb'));var RpcVoiceTransferReport=require(_0x68eb('0xc'));var VoiceQueueReport=require(_0x68eb('0xd'));var VoiceCallReport=require(_0x68eb('0xe'));var VoiceAgentReport=require(_0x68eb('0xf'));var VoiceDialReport=require(_0x68eb('0x10'));var UserReport=require(_0x68eb('0x11'));function Report(_0x206a59){this['realtime']=_0x206a59;this['agents']=_0x206a59[_0x68eb('0x12')];this[_0x68eb('0x13')]=_0x206a59[_0x68eb('0x13')];}Report['prototype']['sync']=function(_0x1515ee){var _0x2bc934=new VoiceQueueReport(this[_0x68eb('0x14')]);var _0xb79058=new VoiceAgentReport(this[_0x68eb('0x14')]);var _0x6fc57f=new VoiceDialReport(this[_0x68eb('0x14')]);var _0x5e01fc=new VoiceCallReport(this[_0x68eb('0x14')]);var _0x3754e5=new UserReport(this[_0x68eb('0x14')]);if(config[_0x68eb('0x15')]&&config[_0x68eb('0x15')][_0x68eb('0x16')]){ami['on'](_0x68eb('0x17'),this[_0x68eb('0x18')][_0x68eb('0x19')](this));ami['on']('custom:voiceCallReport',this[_0x68eb('0x1a')][_0x68eb('0x19')](this));ami['on'](_0x68eb('0x1b'),this['voiceAgentReport']['bind'](this));ami['on'](_0x68eb('0x1c'),this[_0x68eb('0x1d')][_0x68eb('0x19')](this));ami['on']('blindtransfer',this[_0x68eb('0x1e')]['bind'](this));ami['on'](_0x68eb('0x1f'),this[_0x68eb('0x20')][_0x68eb('0x19')](this));}};Report['prototype'][_0x68eb('0x21')]=function(_0x1a1002){var _0x1c33a8=undefined;_0x1c33a8=_[_0x68eb('0x22')](this['agents'],function(_0x5896a7){return _0x5896a7['accountcode']==_0x1a1002||_0x5896a7[_0x68eb('0x23')]==_0x1a1002;});if(_[_0x68eb('0x24')](_0x1c33a8)){var _0x2f0d3a=_[_0x68eb('0x22')](this[_0x68eb('0x13')],function(_0x43c202){return _0x43c202[_0x68eb('0x25')]==_0x1a1002||_0x43c202['name']==_0x1a1002;});if(_0x2f0d3a){_0x1c33a8=_[_0x68eb('0x22')](this[_0x68eb('0x12')],function(_0x3487d0){return _0x3487d0['interface']==util['format'](_0x68eb('0x26'),_0x2f0d3a[_0x68eb('0x23')]);});}}return _0x1c33a8;};Report['prototype'][_0x68eb('0x18')]=function(_0x2ebdba){for(var _0x5738db=0x0;_0x5738db<_0x2ebdba[_0x68eb('0x27')];_0x5738db+=0x1){var _0x275f16=this[_0x68eb('0x21')](_0x2ebdba[_0x5738db][_0x68eb('0x28')]);if(_0x275f16){_0x2ebdba[_0x5738db]['accountcode']=_0x275f16[_0x68eb('0x25')];_0x2ebdba[_0x5738db]['assigned']=!![];_0x2ebdba[_0x5738db][_0x68eb('0x29')]=_0x275f16['name'];_0x2ebdba[_0x5738db][_0x68eb('0x2a')]=_[_0x68eb('0x24')](_0x275f16[_0x68eb('0x2a')])?util[_0x68eb('0x2b')]('SIP/%s',_0x275f16[_0x68eb('0x23')]):_0x275f16[_0x68eb('0x2a')];if(_0x2ebdba[_0x5738db][_0x68eb('0x2c')]){_0x2ebdba[_0x5738db][_0x68eb('0x2d')]=moment()[_0x68eb('0x2b')](_0x68eb('0x2e'));}if(_0x2ebdba[_0x5738db]['queuecallerexit']){_0x2ebdba[_0x5738db][_0x68eb('0x2f')]=moment()[_0x68eb('0x2b')]('YYYY-MM-DD\x20HH:mm:ss');}RpcMemberReport[_0x68eb('0x18')](_0x2ebdba[_0x5738db]);}RpcVoiceQueueReport[_0x68eb('0x30')](_0x2ebdba[_0x5738db]);}};function extractCalleridNumber(_0x4dae30){var _0x6b3629=_0x4dae30[_0x68eb('0x31')](/<(.*?)>/);return _0x6b3629?_0x6b3629[0x1]:_0x4dae30;}Report[_0x68eb('0x32')][_0x68eb('0x1a')]=function(_0xf9e60c){_0xf9e60c[_0x68eb('0x33')]=_0xf9e60c[_0x68eb('0x33')]||_0xf9e60c[_0x68eb('0x34')];if(_0xf9e60c['type']=='dialer'){_0xf9e60c[_0x68eb('0x35')]=_0x68eb('0x36');_0xf9e60c['lastdata']=_0xf9e60c[_0x68eb('0x36')];if(_0xf9e60c[_0x68eb('0x37')]==_0x68eb('0x38')){_0xf9e60c['accountcode']='';_0xf9e60c[_0x68eb('0x33')]=extractCalleridNumber(_0xf9e60c['callerid']);}else if(_0xf9e60c['context']==_0x68eb('0x39')){if(_0xf9e60c[_0x68eb('0x33')]=='xcally-motion-preview'){_0xf9e60c[_0x68eb('0x33')]=extractCalleridNumber(_0xf9e60c[_0x68eb('0x3a')]);_0xf9e60c[_0x68eb('0x3b')]=_0xf9e60c[_0x68eb('0x3c')];_0xf9e60c[_0x68eb('0x3d')]=[_0xf9e60c[_0x68eb('0x3e')],_0xf9e60c[_0x68eb('0x3e')]=_0xf9e60c[_0x68eb('0x3d')]][0x0];_0xf9e60c[_0x68eb('0x3f')]=_0xf9e60c['calleridpreview'];}else{_0xf9e60c[_0x68eb('0x33')]=_0xf9e60c[_0x68eb('0x3b')];_0xf9e60c[_0x68eb('0x3b')]=_0xf9e60c[_0x68eb('0x3c')];if(_0xf9e60c['disposition']==_0x68eb('0x40')){_0xf9e60c[_0x68eb('0x25')]=_0xf9e60c['connectedlinenum'];}else{_0xf9e60c[_0x68eb('0x25')]='';}}}}else{_0xf9e60c['callerid']=util[_0x68eb('0x2b')](_0x68eb('0x41'),_0xf9e60c[_0x68eb('0x42')],_0xf9e60c['calleridnum']);}RpcVoiceCallReport[_0x68eb('0x30')](_0xf9e60c);if(_0xf9e60c[_0x68eb('0x43')]){for(var _0x2b1ea2=0x0;_0x2b1ea2<_0xf9e60c[_0x68eb('0x44')][_0x68eb('0x27')];_0x2b1ea2+=0x1){_0xf9e60c[_0x68eb('0x45')]=_0xf9e60c[_0x68eb('0x44')][_0x2b1ea2]['filename'];_0xf9e60c[_0x68eb('0x46')]=_0xf9e60c[_0x68eb('0x44')][_0x2b1ea2]['createdAt'];if(_0xf9e60c['exten']==_0x68eb('0x47')){_0xf9e60c[_0x68eb('0x3b')]=_0xf9e60c['connectedlinenum'];_0xf9e60c[_0x68eb('0x42')]=_0xf9e60c[_0x68eb('0x48')];_0xf9e60c[_0x68eb('0x28')]=_0xf9e60c['accountcode'];_0xf9e60c['connectedlinename']=_0xf9e60c[_0x68eb('0x49')];_0xf9e60c[_0x68eb('0x34')]=_0xf9e60c[_0x68eb('0x3c')];}else if(_0xf9e60c[_0x68eb('0x34')]=='xcally-motion-dialer'){_0xf9e60c[_0x68eb('0x3b')]=_0xf9e60c[_0x68eb('0x33')];_0xf9e60c[_0x68eb('0x34')]=_0xf9e60c[_0x68eb('0x3c')];}RpcVoiceRecording[_0x68eb('0x30')](_0xf9e60c);}}};Report[_0x68eb('0x32')][_0x68eb('0x4a')]=function(_0x57cf71){if(_[_0x68eb('0x4b')](_0x57cf71)){_0x57cf71[_0x68eb('0x4c')](function(_0x56c29b){RpcVoiceAgentReport[_0x68eb('0x30')](_0x56c29b);});}else{RpcVoiceAgentReport[_0x68eb('0x30')](_0x57cf71);}};Report[_0x68eb('0x32')]['voiceDialReport']=function(_0x480dff){RpcVoiceDialReport[_0x68eb('0x30')](_0x480dff);var _0x4551a2=undefined;var _0x3d780f=_0x480dff['channel'];if(_['startsWith'](_0x3d780f,_0x68eb('0x4d'))){var _0x2f9fff=_0x3d780f[_0x68eb('0x4e')](_0x3d780f[_0x68eb('0x4f')]('/')+0x1,_0x3d780f[_0x68eb('0x4f')]('@'));_0x4551a2=_[_0x68eb('0x22')](this[_0x68eb('0x12')],function(_0x154d41){return _0x154d41[_0x68eb('0x50')]==_0x2f9fff||_0x154d41[_0x68eb('0x51')]==_0x2f9fff||_0x154d41[_0x68eb('0x25')]==_0x2f9fff;});}else{var _0x2f9fff=_0x3d780f[_0x68eb('0x4e')](_0x3d780f[_0x68eb('0x4f')]('/')+0x1,_0x3d780f[_0x68eb('0x52')]('-'));_0x4551a2=this[_0x68eb('0x21')](_0x2f9fff);}if(_0x4551a2){_0x480dff['interface']=_['isNil'](_0x4551a2[_0x68eb('0x2a')])?util[_0x68eb('0x2b')]('SIP/%s',_0x4551a2['name']):_0x4551a2[_0x68eb('0x2a')];_0x480dff[_0x68eb('0x49')]=_0x4551a2[_0x68eb('0x23')];_0x480dff[_0x68eb('0x25')]=_0x4551a2[_0x68eb('0x25')];RpcMemberReport[_0x68eb('0x1d')](_0x480dff);}};Report[_0x68eb('0x32')][_0x68eb('0x1e')]=function(_0x2d3a13){RpcVoiceTransferReport[_0x68eb('0x1e')](_0x2d3a13);};Report[_0x68eb('0x32')][_0x68eb('0x20')]=function(_0x4b8fa0){RpcVoiceTransferReport[_0x68eb('0x20')](_0x4b8fa0);};module['exports']=Report;
\ No newline at end of file