// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x0def=['debug','[%s][transfers][blindtransfer]','transferercalleridnum','transferercalleridname','transfereecalleridnum','transfereecalleridname','[%s][transfers][attendedtransfer]','origtransferercalleridnum','origtransferercalleridname','transfertargetcalleridname','secondtransfererconnectedlinenum','secondtransfererconnectedlinename','secondtransfererexten','origtransferercontext','isNil','transfereechannel','assign','transfertargetchannel','transfertargetcalleridnum','transfertargetconnectedlinenum','transfertargetconnectedlinename','transfertargetaccountcode','transfertargetexten','transfertargetlinkedid','error','util','./utils','info','format','[%s][transfers][writeDB]\x20type:%s','type','attended','origtransfereruniqueid','uniqueid','request','CreateVoiceTransferReport','blindtransfer'];(function(_0x459757,_0x4fb39d){var _0x384866=function(_0x236bfb){while(--_0x236bfb){_0x459757['push'](_0x459757['shift']());}};_0x384866(++_0x4fb39d);}(_0x0def,0x88));var _0xf0de=function(_0x45f111,_0x3a1a4a){_0x45f111=_0x45f111-0x0;var _0x483508=_0x0def[_0x45f111];return _0x483508;};'use strict';var _=require('lodash');var util=require(_0xf0de('0x0'));var utils=require(_0xf0de('0x1'));function writeDB(_0x5b9da2){utils[_0xf0de('0x2')](util[_0xf0de('0x3')](_0xf0de('0x4'),_0x5b9da2[_0xf0de('0x5')]===_0xf0de('0x6')?_0x5b9da2[_0xf0de('0x7')]:_0x5b9da2[_0xf0de('0x8')],_0x5b9da2[_0xf0de('0x5')]));utils[_0xf0de('0x9')](_0xf0de('0xa'),_0x5b9da2);}exports[_0xf0de('0xb')]=function(_0x5c1cc2){try{utils[_0xf0de('0xc')](util['format'](_0xf0de('0xd'),_0x5c1cc2[_0xf0de('0x8')]),_0x5c1cc2);utils[_0xf0de('0x2')](util['format']('[%s][transfers][blindtransfer]\x20transferercalleridnum:%s\x20transferercalleridname:%s\x20transfereecalleridnum:%s\x20transfereecalleridname:%s',_0x5c1cc2[_0xf0de('0x8')],_0x5c1cc2[_0xf0de('0xe')],_0x5c1cc2[_0xf0de('0xf')],_0x5c1cc2[_0xf0de('0x10')],_0x5c1cc2[_0xf0de('0x11')]));_0x5c1cc2['type']='blind';writeDB(_0x5c1cc2);}catch(_0x41c41a){utils['error'](util[_0xf0de('0x3')](_0xf0de('0xd'),_0x5c1cc2['uniqueid']),_0x41c41a);}};exports['attendedtransfer']=function(_0x5bb0a3){try{utils[_0xf0de('0xc')](util[_0xf0de('0x3')](_0xf0de('0x12'),_0x5bb0a3['origtransfereruniqueid']),_0x5bb0a3);utils[_0xf0de('0x2')](util[_0xf0de('0x3')]('[%s][transfers][attendedtransfer]\x20transferercalleridnum:%s\x20transferercalleridname:%s\x20transfereecalleridnum:%s\x20transfereecalleridname:%s',_0x5bb0a3[_0xf0de('0x7')],_0x5bb0a3[_0xf0de('0x13')],_0x5bb0a3[_0xf0de('0x14')],_0x5bb0a3['transfertargetcalleridnum'],_0x5bb0a3[_0xf0de('0x15')]));_0x5bb0a3=_['assign'](_0x5bb0a3,{'transfererchannel':_0x5bb0a3['origtransfererchannel'],'transferercalleridnum':_0x5bb0a3[_0xf0de('0x13')],'transferercalleridname':_0x5bb0a3['origtransferercalleridname'],'transfererconnectedlinenum':_0x5bb0a3[_0xf0de('0x16')],'transfererconnectedlinename':_0x5bb0a3[_0xf0de('0x17')],'transfereraccountcode':_0x5bb0a3['origtransfereraccountcode'],'transferercontext':_0x5bb0a3['secondtransferercontext'],'transfererexten':_0x5bb0a3[_0xf0de('0x18')],'transfererlinkedid':_0x5bb0a3['origtransfererlinkedid'],'context':_0x5bb0a3[_0xf0de('0x19')],'extension':_0x5bb0a3['origtransfererexten'],'type':_0xf0de('0x6')});if(_[_0xf0de('0x1a')](_0x5bb0a3[_0xf0de('0x1b')])){_0x5bb0a3=_[_0xf0de('0x1c')](_0x5bb0a3,{'transfereechannel':_0x5bb0a3[_0xf0de('0x1d')],'transfereecalleridnum':_0x5bb0a3[_0xf0de('0x1e')],'transfereecalleridname':_0x5bb0a3['transfertargetcalleridname'],'transfereeconnectedlinenum':_0x5bb0a3[_0xf0de('0x1f')],'transfereeconnectedlinename':_0x5bb0a3[_0xf0de('0x20')],'transfereeaccountcode':_0x5bb0a3[_0xf0de('0x21')],'transfereecontext':_0x5bb0a3['transfertargetcontext'],'transfereeexten':_0x5bb0a3[_0xf0de('0x22')],'transfereelinkedid':_0x5bb0a3[_0xf0de('0x23')]});}writeDB(_0x5bb0a3);}catch(_0x3c8413){utils[_0xf0de('0x24')](util['format'](_0xf0de('0x12'),_0x5bb0a3[_0xf0de('0x7')]),_0x3c8413);}};
\ No newline at end of file
+var _0xbb2c=['[%s][transfers][attendedtransfer]\x20transferercalleridnum:%s\x20transferercalleridname:%s\x20transfereecalleridnum:%s\x20transfereecalleridname:%s','origtransferercalleridnum','origtransferercalleridname','transfertargetcalleridnum','transfertargetcalleridname','assign','secondtransfererconnectedlinename','origtransfereraccountcode','secondtransfererexten','origtransfererlinkedid','origtransfererexten','isNil','transfereechannel','transfertargetchannel','transfertargetconnectedlinename','transfertargetcontext','transfertargetexten','error','lodash','util','./utils','info','type','origtransfereruniqueid','uniqueid','CreateVoiceTransferReport','debug','format','[%s][transfers][blindtransfer]','[%s][transfers][blindtransfer]\x20transferercalleridnum:%s\x20transferercalleridname:%s\x20transfereecalleridnum:%s\x20transfereecalleridname:%s','transferercalleridnum','transferercalleridname','transfereecalleridnum','transfereecalleridname','blind','blinds','transfereruniqueid','attendedtransfer','[%s][transfers][attendedtransfer]'];(function(_0x46b13a,_0x239cf2){var _0x1ddea6=function(_0x95100d){while(--_0x95100d){_0x46b13a['push'](_0x46b13a['shift']());}};_0x1ddea6(++_0x239cf2);}(_0xbb2c,0xfc));var _0xcbb2=function(_0x32d7dd,_0x415732){_0x32d7dd=_0x32d7dd-0x0;var _0x21099e=_0xbb2c[_0x32d7dd];return _0x21099e;};'use strict';var _=require(_0xcbb2('0x0'));var util=require(_0xcbb2('0x1'));var utils=require(_0xcbb2('0x2'));function writeDB(_0x31a747){utils[_0xcbb2('0x3')](util['format']('[%s][transfers][writeDB]\x20type:%s',_0x31a747[_0xcbb2('0x4')]==='attended'?_0x31a747[_0xcbb2('0x5')]:_0x31a747[_0xcbb2('0x6')],_0x31a747[_0xcbb2('0x4')]));utils['request'](_0xcbb2('0x7'),_0x31a747);}exports['blinds']={};exports['blindtransfer']=function(_0x577f3e){try{utils[_0xcbb2('0x8')](util[_0xcbb2('0x9')](_0xcbb2('0xa'),_0x577f3e['uniqueid']),_0x577f3e);utils[_0xcbb2('0x3')](util[_0xcbb2('0x9')](_0xcbb2('0xb'),_0x577f3e[_0xcbb2('0x6')],_0x577f3e[_0xcbb2('0xc')],_0x577f3e[_0xcbb2('0xd')],_0x577f3e[_0xcbb2('0xe')],_0x577f3e[_0xcbb2('0xf')]));_0x577f3e[_0xcbb2('0x4')]=_0xcbb2('0x10');exports[_0xcbb2('0x11')][_0x577f3e[_0xcbb2('0x12')]]=_0x577f3e;writeDB(_0x577f3e);}catch(_0x982546){utils['error'](util[_0xcbb2('0x9')](_0xcbb2('0xa'),_0x577f3e[_0xcbb2('0x6')]),_0x982546);}};exports[_0xcbb2('0x13')]=function(_0x197615){try{utils[_0xcbb2('0x8')](util[_0xcbb2('0x9')](_0xcbb2('0x14'),_0x197615['origtransfereruniqueid']),_0x197615);utils['info'](util[_0xcbb2('0x9')](_0xcbb2('0x15'),_0x197615['origtransfereruniqueid'],_0x197615[_0xcbb2('0x16')],_0x197615[_0xcbb2('0x17')],_0x197615[_0xcbb2('0x18')],_0x197615[_0xcbb2('0x19')]));_0x197615=_[_0xcbb2('0x1a')](_0x197615,{'transfererchannel':_0x197615['origtransfererchannel'],'transferercalleridnum':_0x197615[_0xcbb2('0x16')],'transferercalleridname':_0x197615['origtransferercalleridname'],'transfererconnectedlinenum':_0x197615['secondtransfererconnectedlinenum'],'transfererconnectedlinename':_0x197615[_0xcbb2('0x1b')],'transfereraccountcode':_0x197615[_0xcbb2('0x1c')],'transferercontext':_0x197615['secondtransferercontext'],'transfererexten':_0x197615[_0xcbb2('0x1d')],'transfererlinkedid':_0x197615[_0xcbb2('0x1e')],'context':_0x197615['origtransferercontext'],'extension':_0x197615[_0xcbb2('0x1f')],'type':'attended'});if(_[_0xcbb2('0x20')](_0x197615[_0xcbb2('0x21')])){_0x197615=_['assign'](_0x197615,{'transfereechannel':_0x197615[_0xcbb2('0x22')],'transfereecalleridnum':_0x197615[_0xcbb2('0x18')],'transfereecalleridname':_0x197615[_0xcbb2('0x19')],'transfereeconnectedlinenum':_0x197615['transfertargetconnectedlinenum'],'transfereeconnectedlinename':_0x197615[_0xcbb2('0x23')],'transfereeaccountcode':_0x197615['transfertargetaccountcode'],'transfereecontext':_0x197615[_0xcbb2('0x24')],'transfereeexten':_0x197615[_0xcbb2('0x25')],'transfereelinkedid':_0x197615['transfertargetlinkedid']});}writeDB(_0x197615);}catch(_0x55058e){utils[_0xcbb2('0x26')](util['format']('[%s][transfers][attendedtransfer]',_0x197615['origtransfereruniqueid']),_0x55058e);}};
\ No newline at end of file