Built motion from commit a679711e.|2.6.15
[motion2.git] / server / services / xdr / recordings.controller.js
index e926c0f..4a9444b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x84be=['clone','newexten','[%s][recordings][newexten]','[%s][recordings][newexten]\x20application:%s\x20appdata:%s','application','appdata','toLowerCase','set','startsWith','cdr','split','lastIndexOf','queuecallerjoin','[%s][recordings][queuecallerjoin]\x20queue:%s','queue','blindtransfer','[%s][recordings][blindtransfer]','transferercalleridnum','transferercalleridname','transfereecalleridnum','transfereruniqueid','lodash','util','./utils','./transfers.controller','info','format','[%s][recordings][writeDB]','uniqueid','blinds','accountcode','getUserByInternal','then','membername','name','UserId','request','CreateVoiceRecording','newchannel','debug','[%s][recordings][newchannel]','context','exten','channel','error','isNil','linkedid','channelstate','transfer','[%s][recordings][newstate]\x20linkedid:%s\x20context:%s\x20channel:%s','[%s][recordings][newstate]','varset','mixmonitor_filename','[%s][recordings][varset]\x20variable:%s\x20value:%s','variable','value','endsWith','replace','.wav49','.WAV','find','monitors','push','[%s][recordings][varset]','hangup','[%s][recordings][hangup]','[%s][recordings][hangup]\x20calleridnum:%s\x20calleridname:%s\x20reason:%s','calleridnum','calleridname','cause-txt','connectedlinenum','type','outbound','connectedlinename','forEach'];(function(_0x59ed8c,_0x497c0f){var _0x2ae760=function(_0x5e0c08){while(--_0x5e0c08){_0x59ed8c['push'](_0x59ed8c['shift']());}};_0x2ae760(++_0x497c0f);}(_0x84be,0xf6));var _0xe84b=function(_0x110c3d,_0x12ee06){_0x110c3d=_0x110c3d-0x0;var _0x226d67=_0x84be[_0x110c3d];return _0x226d67;};'use strict';var _=require(_0xe84b('0x0'));var util=require(_0xe84b('0x1'));var utils=require(_0xe84b('0x2'));var transfers=require(_0xe84b('0x3'));var recordings={};function writeDB(_0x786288){var _0x331320;utils[_0xe84b('0x4')](util[_0xe84b('0x5')](_0xe84b('0x6'),_0x786288[_0xe84b('0x7')]));if(transfers[_0xe84b('0x8')][_0x786288[_0xe84b('0x7')]]){_0x331320=_0x786288[_0xe84b('0x7')];_0x786288[_0xe84b('0x7')]=transfers[_0xe84b('0x8')][_0x786288['uniqueid']]['transfereeuniqueid'];}if(_0x786288[_0xe84b('0x9')]){utils[_0xe84b('0xa')](_0x786288[_0xe84b('0x9')])[_0xe84b('0xb')](function(_0x7ada9e){if(_0x7ada9e){_0x786288[_0xe84b('0xc')]=_0x7ada9e[_0xe84b('0xd')];_0x786288[_0xe84b('0xe')]=_0x7ada9e['id'];}utils['request']('CreateVoiceRecording',_0x786288);});}else{utils[_0xe84b('0xf')](_0xe84b('0x10'),_0x786288);}if(_0x331320)delete transfers[_0xe84b('0x8')][_0x331320];}exports[_0xe84b('0x11')]=function(_0x21094b){try{utils[_0xe84b('0x12')](util[_0xe84b('0x5')](_0xe84b('0x13'),_0x21094b['uniqueid']),_0x21094b);if(_0x21094b[_0xe84b('0x7')]==_0x21094b['linkedid']){utils['info'](util[_0xe84b('0x5')]('[%s][recordings][newchannel]\x20context:%s\x20exten:%s',_0x21094b['uniqueid'],_0x21094b[_0xe84b('0x14')],_0x21094b[_0xe84b('0x15')]));recordings[_0x21094b[_0xe84b('0x7')]]={'uniqueid':_0x21094b[_0xe84b('0x7')],'accountcode':_0x21094b['accountcode'],'exten':_0x21094b['exten'],'context':_0x21094b[_0xe84b('0x14')],'channel':_0x21094b[_0xe84b('0x16')],'monitors':[]};}}catch(_0x5365af){utils[_0xe84b('0x17')](util[_0xe84b('0x5')](_0xe84b('0x13'),_0x21094b[_0xe84b('0x7')]),_0x5365af);}};exports['newstate']=function(_0x47360b){try{utils[_0xe84b('0x12')](util['format']('[%s][recordings][newstate]',_0x47360b[_0xe84b('0x7')]),_0x47360b);if(!_['isNil'](recordings[_0x47360b[_0xe84b('0x7')]])&&_0x47360b['channelstate']==0x6){utils[_0xe84b('0x4')](util[_0xe84b('0x5')]('[%s][recordings][newstate]\x20context:%s\x20channel:%s',_0x47360b[_0xe84b('0x7')],_0x47360b['context'],_0x47360b['channel']));}else if(!_[_0xe84b('0x18')](recordings[_0x47360b[_0xe84b('0x19')]])&&_0x47360b[_0xe84b('0x1a')]==0x6&&_0x47360b[_0xe84b('0x14')]!=_0xe84b('0x1b')){utils[_0xe84b('0x4')](util[_0xe84b('0x5')](_0xe84b('0x1c'),_0x47360b[_0xe84b('0x7')],_0x47360b[_0xe84b('0x19')],_0x47360b[_0xe84b('0x14')],_0x47360b[_0xe84b('0x16')]));recordings[_0x47360b['linkedid']][_0xe84b('0x9')]=_0x47360b['accountcode'];}}catch(_0x559239){utils[_0xe84b('0x17')](util['format'](_0xe84b('0x1d'),_0x47360b[_0xe84b('0x7')]),_0x559239);}};exports[_0xe84b('0x1e')]=function(_0x5debda){try{if(!_[_0xe84b('0x18')](_0x5debda['variable'])&&!_['isNil'](_0x5debda['variable'][_0xe84b('0x1f')])){utils[_0xe84b('0x12')](util['format']('[%s][recordings][varset]',_0x5debda[_0xe84b('0x7')]),_0x5debda);utils[_0xe84b('0x4')](util[_0xe84b('0x5')](_0xe84b('0x20'),_0x5debda[_0xe84b('0x7')],_0x5debda[_0xe84b('0x21')],_0x5debda[_0xe84b('0x22')]));if(_[_0xe84b('0x23')](_0x5debda[_0xe84b('0x22')],'.wav49')){_0x5debda[_0xe84b('0x22')]=_0x5debda['value'][_0xe84b('0x24')](_0xe84b('0x25'),_0xe84b('0x26'));}if(recordings[_0x5debda[_0xe84b('0x19')]]){var _0x185e27=_[_0xe84b('0x27')](recordings[_0x5debda[_0xe84b('0x19')]][_0xe84b('0x28')],{'value':_0x5debda[_0xe84b('0x22')]});if(_[_0xe84b('0x18')](_0x185e27)){recordings[_0x5debda['linkedid']][_0xe84b('0x28')][_0xe84b('0x29')]({'value':_0x5debda[_0xe84b('0x22')]});}}}}catch(_0x1e0f2d){utils[_0xe84b('0x17')](util[_0xe84b('0x5')](_0xe84b('0x2a'),_0x5debda[_0xe84b('0x7')]),_0x1e0f2d);}};exports[_0xe84b('0x2b')]=function(_0x556b0f){try{if(!_[_0xe84b('0x18')](recordings[_0x556b0f['uniqueid']])){utils[_0xe84b('0x12')](util[_0xe84b('0x5')](_0xe84b('0x2c'),_0x556b0f[_0xe84b('0x7')]),_0x556b0f);utils[_0xe84b('0x4')](util[_0xe84b('0x5')](_0xe84b('0x2d'),_0x556b0f['uniqueid'],_0x556b0f[_0xe84b('0x2e')],_0x556b0f[_0xe84b('0x2f')],_0x556b0f[_0xe84b('0x30')]));recordings[_0x556b0f[_0xe84b('0x7')]][_0xe84b('0x2e')]=_0x556b0f['calleridnum'];recordings[_0x556b0f[_0xe84b('0x7')]][_0xe84b('0x2f')]=_0x556b0f[_0xe84b('0x2f')];recordings[_0x556b0f[_0xe84b('0x7')]]['connectedlinenum']=_0x556b0f[_0xe84b('0x31')];recordings[_0x556b0f['uniqueid']]['connectedlinename']=_0x556b0f['connectedlinename'];if(recordings[_0x556b0f[_0xe84b('0x7')]][_0xe84b('0x32')]==_0xe84b('0x33')&&recordings[_0x556b0f[_0xe84b('0x7')]][_0xe84b('0x9')]){recordings[_0x556b0f[_0xe84b('0x7')]]['connectedlinenum']=recordings[_0x556b0f[_0xe84b('0x7')]][_0xe84b('0x9')];recordings[_0x556b0f[_0xe84b('0x7')]][_0xe84b('0x34')]='';}recordings[_0x556b0f[_0xe84b('0x7')]][_0xe84b('0x28')][_0xe84b('0x35')](function(_0x2b53e4){var _0xfc446d=_[_0xe84b('0x36')](recordings[_0x556b0f['uniqueid']]);_0xfc446d[_0xe84b('0x22')]=_0x2b53e4[_0xe84b('0x22')];writeDB(_0xfc446d);});delete recordings[_0x556b0f['uniqueid']];}}catch(_0x17401e){utils[_0xe84b('0x17')](util[_0xe84b('0x5')](_0xe84b('0x2c'),_0x556b0f[_0xe84b('0x7')]),_0x17401e);}};exports[_0xe84b('0x37')]=function(_0xecaa7c){try{if(!_[_0xe84b('0x18')](recordings[_0xecaa7c[_0xe84b('0x7')]])){utils['debug'](util[_0xe84b('0x5')](_0xe84b('0x38'),_0xecaa7c['uniqueid']),_0xecaa7c);utils[_0xe84b('0x4')](util['format'](_0xe84b('0x39'),_0xecaa7c[_0xe84b('0x7')],_0xecaa7c[_0xe84b('0x3a')],_0xecaa7c[_0xe84b('0x3b')]));if(_0xecaa7c['application'][_0xe84b('0x3c')]()==_0xe84b('0x3d')&&_[_0xe84b('0x3e')](_0xecaa7c['appdata']['toLowerCase'](),_0xe84b('0x3f'))){var _0x5f2b23=_0xecaa7c[_0xe84b('0x3b')][_0xe84b('0x40')]('=');var _0x43c97b=_0x5f2b23[0x0]['substring'](_0x5f2b23[0x0][_0xe84b('0x41')]('(')+0x1,_0x5f2b23[0x0][_0xe84b('0x41')](')'));var _0x2629a4=_0x5f2b23[0x1];recordings[_0xecaa7c[_0xe84b('0x7')]][_0x43c97b]=_0x2629a4;}}}catch(_0x49062f){utils[_0xe84b('0x17')](util[_0xe84b('0x5')](_0xe84b('0x38'),_0xecaa7c[_0xe84b('0x7')]),_0x49062f);}};exports[_0xe84b('0x42')]=function(_0x1805ab){try{if(!_[_0xe84b('0x18')](recordings[_0x1805ab[_0xe84b('0x7')]])){utils[_0xe84b('0x12')](util[_0xe84b('0x5')]('[%s][recordings][queuecallerjoin]',_0x1805ab[_0xe84b('0x7')]),_0x1805ab);utils[_0xe84b('0x4')](util['format'](_0xe84b('0x43'),_0x1805ab['uniqueid'],_0x1805ab[_0xe84b('0x44')]));recordings[_0x1805ab['uniqueid']][_0xe84b('0x44')]=_0x1805ab[_0xe84b('0x44')];}}catch(_0x2956a6){utils[_0xe84b('0x17')](util[_0xe84b('0x5')]('[%s][recordings][queuecallerjoin]',_0x1805ab['uniqueid']),_0x2956a6);}};exports[_0xe84b('0x45')]=function(_0x1c9596){try{utils[_0xe84b('0x12')](util[_0xe84b('0x5')](_0xe84b('0x46'),_0x1c9596[_0xe84b('0x7')]),_0x1c9596);utils[_0xe84b('0x4')](util[_0xe84b('0x5')]('[%s][recordings][blindtransfer]\x20transferercalleridnum:%s\x20transferercalleridname:%s\x20transfereecalleridnum:%s\x20transfereecalleridname:%s',_0x1c9596['uniqueid'],_0x1c9596[_0xe84b('0x47')],_0x1c9596[_0xe84b('0x48')],_0x1c9596[_0xe84b('0x49')],_0x1c9596['transfereecalleridname']));if(recordings[_0x1c9596[_0xe84b('0x4a')]]&&transfers[_0xe84b('0x8')][_0x1c9596[_0xe84b('0x4a')]]){transfers[_0xe84b('0x8')][_0x1c9596[_0xe84b('0x4a')]]['recording']=!![];}}catch(_0x5901ad){utils[_0xe84b('0x17')](util[_0xe84b('0x5')](_0xe84b('0x46'),_0x1c9596[_0xe84b('0x7')]),_0x5901ad);}};
\ No newline at end of file
+var _0x2fa9=['accountcode','then','membername','name','UserId','request','CreateVoiceRecording','debug','[%s][recordings][newchannel]','linkedid','[%s][recordings][newchannel]\x20context:%s\x20exten:%s','context','exten','channel','newstate','[%s][recordings][newstate]','isNil','transfer','[%s][recordings][newstate]\x20linkedid:%s\x20context:%s\x20channel:%s','error','varset','variable','mixmonitor_filename','[%s][recordings][varset]\x20variable:%s\x20value:%s','value','.wav49','replace','find','monitors','push','[%s][recordings][varset]','[%s][recordings][hangup]','[%s][recordings][hangup]\x20calleridnum:%s\x20calleridname:%s\x20reason:%s','calleridnum','calleridname','cause-txt','connectedlinenum','connectedlinename','forEach','clone','newexten','[%s][recordings][newexten]\x20application:%s\x20appdata:%s','application','toLowerCase','set','appdata','split','lastIndexOf','[%s][recordings][newexten]','queue','[%s][recordings][queuecallerjoin]','[%s][recordings][blindtransfer]','[%s][recordings][blindtransfer]\x20transferercalleridnum:%s\x20transferercalleridname:%s\x20transfereecalleridnum:%s\x20transfereecalleridname:%s','transferercalleridname','transfereecalleridname','transfereruniqueid','recording','util','./transfers.controller','info','format','[%s][recordings][writeDB]','uniqueid','blinds'];(function(_0x241846,_0x17d261){var _0xa940de=function(_0xc68639){while(--_0xc68639){_0x241846['push'](_0x241846['shift']());}};_0xa940de(++_0x17d261);}(_0x2fa9,0xb9));var _0x92fa=function(_0x342773,_0x386fd7){_0x342773=_0x342773-0x0;var _0x4f023e=_0x2fa9[_0x342773];return _0x4f023e;};'use strict';var _=require('lodash');var util=require(_0x92fa('0x0'));var utils=require('./utils');var transfers=require(_0x92fa('0x1'));var recordings={};function writeDB(_0x118c3b){var _0x41c34b;utils[_0x92fa('0x2')](util[_0x92fa('0x3')](_0x92fa('0x4'),_0x118c3b[_0x92fa('0x5')]));if(transfers[_0x92fa('0x6')][_0x118c3b['uniqueid']]){_0x41c34b=_0x118c3b[_0x92fa('0x5')];_0x118c3b[_0x92fa('0x5')]=transfers['blinds'][_0x118c3b[_0x92fa('0x5')]]['transfereeuniqueid'];}if(_0x118c3b[_0x92fa('0x7')]){utils['getUserByInternal'](_0x118c3b[_0x92fa('0x7')])[_0x92fa('0x8')](function(_0x8ed2db){if(_0x8ed2db){_0x118c3b[_0x92fa('0x9')]=_0x8ed2db[_0x92fa('0xa')];_0x118c3b[_0x92fa('0xb')]=_0x8ed2db['id'];}utils[_0x92fa('0xc')](_0x92fa('0xd'),_0x118c3b);});}else{utils[_0x92fa('0xc')]('CreateVoiceRecording',_0x118c3b);}if(_0x41c34b)delete transfers[_0x92fa('0x6')][_0x41c34b];}exports['newchannel']=function(_0x529978){try{utils[_0x92fa('0xe')](util[_0x92fa('0x3')](_0x92fa('0xf'),_0x529978[_0x92fa('0x5')]),_0x529978);if(_0x529978[_0x92fa('0x5')]==_0x529978[_0x92fa('0x10')]){utils[_0x92fa('0x2')](util['format'](_0x92fa('0x11'),_0x529978[_0x92fa('0x5')],_0x529978[_0x92fa('0x12')],_0x529978[_0x92fa('0x13')]));recordings[_0x529978[_0x92fa('0x5')]]={'uniqueid':_0x529978[_0x92fa('0x5')],'accountcode':_0x529978[_0x92fa('0x7')],'exten':_0x529978[_0x92fa('0x13')],'context':_0x529978[_0x92fa('0x12')],'channel':_0x529978[_0x92fa('0x14')],'monitors':[]};}}catch(_0x1335a5){utils['error'](util['format'](_0x92fa('0xf'),_0x529978[_0x92fa('0x5')]),_0x1335a5);}};exports[_0x92fa('0x15')]=function(_0x99ea91){try{utils[_0x92fa('0xe')](util[_0x92fa('0x3')](_0x92fa('0x16'),_0x99ea91['uniqueid']),_0x99ea91);if(!_[_0x92fa('0x17')](recordings[_0x99ea91['uniqueid']])&&_0x99ea91['channelstate']==0x6){utils[_0x92fa('0x2')](util[_0x92fa('0x3')]('[%s][recordings][newstate]\x20context:%s\x20channel:%s',_0x99ea91['uniqueid'],_0x99ea91[_0x92fa('0x12')],_0x99ea91[_0x92fa('0x14')]));}else if(!_[_0x92fa('0x17')](recordings[_0x99ea91[_0x92fa('0x10')]])&&_0x99ea91['channelstate']==0x6&&_0x99ea91[_0x92fa('0x12')]!=_0x92fa('0x18')){utils[_0x92fa('0x2')](util[_0x92fa('0x3')](_0x92fa('0x19'),_0x99ea91[_0x92fa('0x5')],_0x99ea91[_0x92fa('0x10')],_0x99ea91['context'],_0x99ea91[_0x92fa('0x14')]));recordings[_0x99ea91[_0x92fa('0x10')]][_0x92fa('0x7')]=_0x99ea91['accountcode'];}}catch(_0x41e5e6){utils[_0x92fa('0x1a')](util[_0x92fa('0x3')](_0x92fa('0x16'),_0x99ea91[_0x92fa('0x5')]),_0x41e5e6);}};exports[_0x92fa('0x1b')]=function(_0x5392f2){try{if(!_['isNil'](_0x5392f2['variable'])&&!_[_0x92fa('0x17')](_0x5392f2[_0x92fa('0x1c')][_0x92fa('0x1d')])){utils[_0x92fa('0xe')](util[_0x92fa('0x3')]('[%s][recordings][varset]',_0x5392f2['uniqueid']),_0x5392f2);utils['info'](util[_0x92fa('0x3')](_0x92fa('0x1e'),_0x5392f2[_0x92fa('0x5')],_0x5392f2['variable'],_0x5392f2[_0x92fa('0x1f')]));if(_['endsWith'](_0x5392f2[_0x92fa('0x1f')],_0x92fa('0x20'))){_0x5392f2[_0x92fa('0x1f')]=_0x5392f2[_0x92fa('0x1f')][_0x92fa('0x21')](_0x92fa('0x20'),'.WAV');}if(recordings[_0x5392f2[_0x92fa('0x10')]]){var _0x25ccc9=_[_0x92fa('0x22')](recordings[_0x5392f2[_0x92fa('0x10')]][_0x92fa('0x23')],{'value':_0x5392f2['value']});if(_[_0x92fa('0x17')](_0x25ccc9)){recordings[_0x5392f2[_0x92fa('0x10')]][_0x92fa('0x23')][_0x92fa('0x24')]({'value':_0x5392f2[_0x92fa('0x1f')]});}}}}catch(_0x58b26a){utils[_0x92fa('0x1a')](util[_0x92fa('0x3')](_0x92fa('0x25'),_0x5392f2[_0x92fa('0x5')]),_0x58b26a);}};exports['hangup']=function(_0x4f15b4){try{if(!_[_0x92fa('0x17')](recordings[_0x4f15b4[_0x92fa('0x5')]])){utils['debug'](util[_0x92fa('0x3')](_0x92fa('0x26'),_0x4f15b4[_0x92fa('0x5')]),_0x4f15b4);utils[_0x92fa('0x2')](util[_0x92fa('0x3')](_0x92fa('0x27'),_0x4f15b4[_0x92fa('0x5')],_0x4f15b4[_0x92fa('0x28')],_0x4f15b4[_0x92fa('0x29')],_0x4f15b4[_0x92fa('0x2a')]));recordings[_0x4f15b4[_0x92fa('0x5')]][_0x92fa('0x28')]=_0x4f15b4['calleridnum'];recordings[_0x4f15b4[_0x92fa('0x5')]][_0x92fa('0x29')]=_0x4f15b4[_0x92fa('0x29')];recordings[_0x4f15b4[_0x92fa('0x5')]]['connectedlinenum']=_0x4f15b4[_0x92fa('0x2b')];recordings[_0x4f15b4[_0x92fa('0x5')]][_0x92fa('0x2c')]=_0x4f15b4['connectedlinename'];if(recordings[_0x4f15b4[_0x92fa('0x5')]]['type']=='outbound'&&recordings[_0x4f15b4[_0x92fa('0x5')]]['accountcode']){recordings[_0x4f15b4['uniqueid']][_0x92fa('0x2b')]=recordings[_0x4f15b4[_0x92fa('0x5')]][_0x92fa('0x7')];recordings[_0x4f15b4[_0x92fa('0x5')]]['connectedlinename']='';}recordings[_0x4f15b4[_0x92fa('0x5')]][_0x92fa('0x23')][_0x92fa('0x2d')](function(_0x248651){var _0x5a37b7=_[_0x92fa('0x2e')](recordings[_0x4f15b4[_0x92fa('0x5')]]);_0x5a37b7[_0x92fa('0x1f')]=_0x248651[_0x92fa('0x1f')];writeDB(_0x5a37b7);});delete recordings[_0x4f15b4[_0x92fa('0x5')]];}}catch(_0x599533){utils['error'](util[_0x92fa('0x3')](_0x92fa('0x26'),_0x4f15b4[_0x92fa('0x5')]),_0x599533);}};exports[_0x92fa('0x2f')]=function(_0x1fa5ee){try{if(!_[_0x92fa('0x17')](recordings[_0x1fa5ee[_0x92fa('0x5')]])){utils[_0x92fa('0xe')](util[_0x92fa('0x3')]('[%s][recordings][newexten]',_0x1fa5ee['uniqueid']),_0x1fa5ee);utils[_0x92fa('0x2')](util[_0x92fa('0x3')](_0x92fa('0x30'),_0x1fa5ee[_0x92fa('0x5')],_0x1fa5ee[_0x92fa('0x31')],_0x1fa5ee['appdata']));if(_0x1fa5ee[_0x92fa('0x31')][_0x92fa('0x32')]()==_0x92fa('0x33')&&_['startsWith'](_0x1fa5ee[_0x92fa('0x34')]['toLowerCase'](),'cdr')){var _0x17a635=_0x1fa5ee[_0x92fa('0x34')][_0x92fa('0x35')]('=');var _0x167ae=_0x17a635[0x0]['substring'](_0x17a635[0x0][_0x92fa('0x36')]('(')+0x1,_0x17a635[0x0]['lastIndexOf'](')'));var _0x17d3d9=_0x17a635[0x1];recordings[_0x1fa5ee[_0x92fa('0x5')]][_0x167ae]=_0x17d3d9;}}}catch(_0x3c7712){utils[_0x92fa('0x1a')](util[_0x92fa('0x3')](_0x92fa('0x37'),_0x1fa5ee[_0x92fa('0x5')]),_0x3c7712);}};exports['queuecallerjoin']=function(_0x25c51a){try{if(!_[_0x92fa('0x17')](recordings[_0x25c51a['uniqueid']])){utils[_0x92fa('0xe')](util['format']('[%s][recordings][queuecallerjoin]',_0x25c51a[_0x92fa('0x5')]),_0x25c51a);utils['info'](util[_0x92fa('0x3')]('[%s][recordings][queuecallerjoin]\x20queue:%s',_0x25c51a['uniqueid'],_0x25c51a[_0x92fa('0x38')]));recordings[_0x25c51a[_0x92fa('0x5')]][_0x92fa('0x38')]=_0x25c51a[_0x92fa('0x38')];}}catch(_0x5f0ef3){utils[_0x92fa('0x1a')](util[_0x92fa('0x3')](_0x92fa('0x39'),_0x25c51a['uniqueid']),_0x5f0ef3);}};exports['blindtransfer']=function(_0x2955eb){try{utils[_0x92fa('0xe')](util[_0x92fa('0x3')](_0x92fa('0x3a'),_0x2955eb['uniqueid']),_0x2955eb);utils[_0x92fa('0x2')](util[_0x92fa('0x3')](_0x92fa('0x3b'),_0x2955eb[_0x92fa('0x5')],_0x2955eb['transferercalleridnum'],_0x2955eb[_0x92fa('0x3c')],_0x2955eb['transfereecalleridnum'],_0x2955eb[_0x92fa('0x3d')]));if(recordings[_0x2955eb[_0x92fa('0x3e')]]&&transfers['blinds'][_0x2955eb['transfereruniqueid']]){transfers[_0x92fa('0x6')][_0x2955eb[_0x92fa('0x3e')]][_0x92fa('0x3f')]=!![];}}catch(_0x53a6d2){utils['error'](util['format'](_0x92fa('0x3a'),_0x2955eb['uniqueid']),_0x53a6d2);}};
\ No newline at end of file