Asterisk func AUDIOHOOK INHERIT

I integrated the Asterisk function func AUDIOBOOK INHERIT in the numbering plan for incoming and outgoing calls at the incoming call works perfect ca but for outgoing call recording cuts the happiness of a transfer call

here is the code

exten => 55X.,1,Set(temp=${STRFTIME(${EPOCH},%Y-%m-%d%H-%M-%S)})
exten => 55X.,2,Set(appl=${CALLERID(num)}${temp})
exten => _55X.,3,MixMonitor(/var/www/recordivr/ivr2/appsort/${appl}.wav,chmod 777 /var/www/recordivr/ivr2/appsort/${appl}.wav)
exten => _55X.,4,Set(AUDIOHOOK_INHERIT(MixMonitor)=yes)
exten => _55X.,5,Dial(Sip/${EXTEN:2}@ivr01,tT)

thank you for helping me :smile:

Set that before the MixMonitor.