Missed Call Notification Modul not work Asterisk 20

PBX Version: 16.0.40.8
PBX Distro: 12.7.8-2306-1.sng7
Asterisk Version: 20.5.2

I installed the missed calls notification module. Then inserted a email address in the userman on the extension. Enabled all (Ring Group, Queue, Internal, External)

But there is no mail when call to this extension with status “no answer”.

In the file /var/www/html/admin/modules/missedcall/agi-bin/missedcallnotify.php I activated “$mc_debug = true”. But I can’t see any output in the console when “set agi debug on”. My assumption is, that the script is not started.

Is there a problem with asterisk 20 or how can I debug the script?

Output from debug agi:

AGI Tx >> agi_network_script: missedcallnotify.php
<PJSIP/101-00001bf1>AGI Tx >> agi_request: agi://127.0.0.1/missedcallnotify.php
<PJSIP/101-00001bf1>AGI Tx >> agi_channel: PJSIP/101-00001bf1
<PJSIP/101-00001bf1>AGI Tx >> agi_language: de_DE
<PJSIP/101-00001bf1>AGI Tx >> agi_type: PJSIP
<PJSIP/101-00001bf1>AGI Tx >> agi_uniqueid: 1720618089.20073
<PJSIP/101-00001bf1>AGI Tx >> agi_version: 20.5.2
<PJSIP/101-00001bf1>AGI Tx >> agi_callerid: 101
<PJSIP/101-00001bf1>AGI Tx >> agi_calleridname: test
<PJSIP/101-00001bf1>AGI Tx >> agi_callingpres: 0
<PJSIP/101-00001bf1>AGI Tx >> agi_callingani2: 0
<PJSIP/101-00001bf1>AGI Tx >> agi_callington: 0
<PJSIP/101-00001bf1>AGI Tx >> agi_callingtns: 0
<PJSIP/101-00001bf1>AGI Tx >> agi_dnid: unknown
<PJSIP/101-00001bf1>AGI Tx >> agi_rdnis: unknown
<PJSIP/101-00001bf1>AGI Tx >> agi_context: app-missedcall-hangup
<PJSIP/101-00001bf1>AGI Tx >> agi_extension: 101
<PJSIP/101-00001bf1>AGI Tx >> agi_priority: 7
<PJSIP/101-00001bf1>AGI Tx >> agi_enhanced: 0.0
<PJSIP/101-00001bf1>AGI Tx >> agi_accountcode: 
<PJSIP/101-00001bf1>AGI Tx >> agi_threadid: 140069260674816
<PJSIP/101-00001bf1>AGI Tx >> agi_arg_1: 101
<PJSIP/101-00001bf1>AGI Tx >> agi_arg_2: 
<PJSIP/101-00001bf1>AGI Tx >> agi_arg_3: 101
<PJSIP/101-00001bf1>AGI Tx >> agi_arg_4: 1
<PJSIP/101-00001bf1>AGI Tx >> agi_arg_5: enable
<PJSIP/101-00001bf1>AGI Tx >> agi_arg_6: PJSIP/101-00001bf1
<PJSIP/101-00001bf1>AGI Tx >> agi_arg_7: 
<PJSIP/101-00001bf1>AGI Tx >> agi_arg_8: 
<PJSIP/101-00001bf1>AGI Tx >> agi_arg_9: 9101
<PJSIP/101-00001bf1>AGI Tx >> agi_arg_10: 
<PJSIP/101-00001bf1>AGI Tx >> 
<PJSIP/101-00001bf1>AGI Rx << GET VARIABLE MCGROUP
<PJSIP/101-00001bf1>AGI Tx >> 200 result=1 (9101)
<PJSIP/101-00001bf1>AGI Rx << GET VARIABLE CHANNEL(STATE)
<PJSIP/101-00001bf1>AGI Tx >> 200 result=1 (Ringing)
<PJSIP/101-00001bf1>AGI Rx << GET VARIABLE MCEXTEN
<PJSIP/101-00001bf1>AGI Tx >> 200 result=1 ()
<PJSIP/101-00001bf1>AGI Rx << GET VARIABLE MCNAME
<PJSIP/101-00001bf1>AGI Tx >> 200 result=1 (Direct test)
<PJSIP/101-00001bf1>AGI Rx << GET VARIABLE MCNUM
<PJSIP/101-00001bf1>AGI Tx >> 200 result=1 (00xxxxxx)
<PJSIP/101-00001bf1>AGI Rx << GET VARIABLE MCVMSTATUS
<PJSIP/101-00001bf1>AGI Tx >> 200 result=0
<PJSIP/101-00001bf1>AGI Rx << GET VARIABLE FROMEXTEN
<PJSIP/101-00001bf1>AGI Tx >> 200 result=1 (00xxxxxx)
<PJSIP/101-00001bf1>AGI Rx << GET VARIABLE CALLERID(num)
<PJSIP/101-00001bf1>AGI Tx >> 200 result=1 (101)
<PJSIP/101-00001bf1>AGI Rx << GET VARIABLE CALLERID(name)
<PJSIP/101-00001bf1>AGI Tx >> 200 result=1 (Roli)
<PJSIP/101-00001bf1>AGI Rx << GET VARIABLE MCQUEUE
<PJSIP/101-00001bf1>AGI Tx >> 200 result=0
<PJSIP/101-00001bf1>AGI Rx << GET VARIABLE MCFMFM
<PJSIP/101-00001bf1>AGI Tx >> 200 result=0
<PJSIP/101-00001bf1>AGI Rx << GET VARIABLE CHANNEL(LINKEDID)
<PJSIP/101-00001bf1>AGI Tx >> 200 result=1 (1720618089.20072)
<PJSIP/101-00001bf1>AGI Rx << GET VARIABLE CHANNEL(UNIQUEID)
<PJSIP/101-00001bf1>AGI Tx >> 200 result=1 (1720618089.20073)
<PJSIP/101-00001bf1>AGI Rx << GET VARIABLE MCORGCHAN
<PJSIP/101-00001bf1>AGI Tx >> 200 result=1 (PJSIP/green-00001bf0)
<PJSIP/101-00001bf1>AGI Rx << SET VARIABLE MASTER_CHANNEL(MC-dd573d27d2a34ab1e7be21a1a5ccc324) "1"
<PJSIP/101-00001bf1>AGI Tx >> 200 result=1
<PJSIP/101-00001bf1>AGI Tx >> HANGUP

Thanks
Roland