Hello! Got the same issue as Missed Call Notification Modul not work Asterisk 20
PBX Version: 17.0.19.17
PBX Distro: 12.7.8-2408-1.sng12
Asterisk Version: 21.5.0
Configured all settings according to Brand New Module – Missed Call Notification
But FreePBX doesn’t still send missed call notification. From other modules (for instance, when i create a new user) notifications are coming successfully, that is, the postfix relay is configured correctly.
Did anyone manage to get this to work?
When enabled “$mc_debug = true” in “/var/www/html/admin/modules/missedcall/agi-bin/missedcallnotify.php”, it shows:
AGI Tx >> agi_network: yes
AGI Tx >> agi_network_script: missedcallnotify.php
<PJSIP/2243-00000022>AGI Tx >> agi_request: agi://127.0.0.1/missedcallnotify.php
<PJSIP/2243-00000022>AGI Tx >> agi_channel: PJSIP/2243-00000022
<PJSIP/2243-00000022>AGI Tx >> agi_language: ru
<PJSIP/2243-00000022>AGI Tx >> agi_type: PJSIP
<PJSIP/2243-00000022>AGI Tx >> agi_uniqueid: 1732277890.51
<PJSIP/2243-00000022>AGI Tx >> agi_version: 21.5.0
<PJSIP/2243-00000022>AGI Tx >> agi_callerid: 2243
<PJSIP/2243-00000022>AGI Tx >> agi_calleridname: Wilson E.
<PJSIP/2243-00000022>AGI Tx >> agi_callingpres: 0
<PJSIP/2243-00000022>AGI Tx >> agi_callingani2: 0
<PJSIP/2243-00000022>AGI Tx >> agi_callington: 0
<PJSIP/2243-00000022>AGI Tx >> agi_callingtns: 0
<PJSIP/2243-00000022>AGI Tx >> agi_dnid: unknown
<PJSIP/2243-00000022>AGI Tx >> agi_rdnis: unknown
<PJSIP/2243-00000022>AGI Tx >> agi_context: app-missedcall-hangup
<PJSIP/2243-00000022>AGI Tx >> agi_extension: 2243
<PJSIP/2243-00000022>AGI Tx >> agi_priority: 7
<PJSIP/2243-00000022>AGI Tx >> agi_enhanced: 0.0
<PJSIP/2243-00000022>AGI Tx >> agi_accountcode:
<PJSIP/2243-00000022>AGI Tx >> agi_threadid: 140161882314432
<PJSIP/2243-00000022>AGI Tx >> agi_arg_1: 2243
<PJSIP/2243-00000022>AGI Tx >> agi_arg_2:
<PJSIP/2243-00000022>AGI Tx >> agi_arg_3: 2243
<PJSIP/2243-00000022>AGI Tx >> agi_arg_4: 1
<PJSIP/2243-00000022>AGI Tx >> agi_arg_5: enable
<PJSIP/2243-00000022>AGI Tx >> agi_arg_6: PJSIP/2243-00000022
<PJSIP/2243-00000022>AGI Tx >> agi_arg_7:
<PJSIP/2243-00000022>AGI Tx >> agi_arg_8:
<PJSIP/2243-00000022>AGI Tx >> agi_arg_9:
<PJSIP/2243-00000022>AGI Tx >> agi_arg_10:
<PJSIP/2243-00000022>AGI Tx >>
<PJSIP/2243-00000022>AGI Rx << GET VARIABLE MCGROUP
<PJSIP/2243-00000022>AGI Tx >> 200 result=0
<PJSIP/2243-00000022>AGI Rx << GET VARIABLE CHANNEL(STATE)
<PJSIP/2243-00000022>AGI Tx >> 200 result=1 (Ringing)
<PJSIP/2243-00000022>AGI Rx << GET VARIABLE MCEXTEN
<PJSIP/2243-00000022>AGI Tx >> 200 result=1 (2244)
<PJSIP/2243-00000022>AGI Rx << GET VARIABLE MCNAME
<PJSIP/2243-00000022>AGI Tx >> 200 result=1 (Miller A.)
<PJSIP/2243-00000022>AGI Rx << GET VARIABLE MCNUM
<PJSIP/2243-00000022>AGI Tx >> 200 result=1 (2244)
<PJSIP/2243-00000022>AGI Rx << GET VARIABLE MCVMSTATUS
<PJSIP/2243-00000022>AGI Tx >> 200 result=0
<PJSIP/2243-00000022>AGI Rx << GET VARIABLE MCQUEUE
<PJSIP/2243-00000022>AGI Tx >> 200 result=0
<PJSIP/2243-00000022>AGI Rx << GET VARIABLE MCFMFM
<PJSIP/2243-00000022>AGI Tx >> 200 result=0
<PJSIP/2243-00000022>AGI Rx << GET VARIABLE CHANNEL(LINKEDID)
<PJSIP/2243-00000022>AGI Tx >> 200 result=1 (1732277890.50)
<PJSIP/2243-00000022>AGI Rx << GET VARIABLE CHANNEL(UNIQUEID)
<PJSIP/2243-00000022>AGI Tx >> 200 result=1 (1732277890.51)
<PJSIP/2243-00000022>AGI Rx << GET VARIABLE MCORGCHAN
<PJSIP/2243-00000022>AGI Tx >> 200 result=1 (PJSIP/2244-00000021)
<PJSIP/2243-00000022>AGI Rx << VERBOSE "********* Missed Call Summary *********" 3
<PJSIP/2243-00000022>AGI Tx >> 200 result=1
<PJSIP/2243-00000022>AGI Rx << VERBOSE "Orginator channel : PJSIP/2244-00000021" 3
<PJSIP/2243-00000022>AGI Tx >> 200 result=1
<PJSIP/2243-00000022>AGI Rx << VERBOSE "unanswered: 1" 3
<PJSIP/2243-00000022>AGI Tx >> 200 result=1
<PJSIP/2243-00000022>AGI Rx << VERBOSE "Linked Channel ID: 1732277890.50" 3
<PJSIP/2243-00000022>AGI Tx >> 200 result=1
<PJSIP/2243-00000022>AGI Rx << VERBOSE "Unique Channel ID: 1732277890.51" 3
<PJSIP/2243-00000022>AGI Tx >> 200 result=1
<PJSIP/2243-00000022>AGI Rx << VERBOSE "Calling extension: 2244" 3
<PJSIP/2243-00000022>AGI Tx >> 200 result=1
<PJSIP/2243-00000022>AGI Rx << VERBOSE "Calling ext name: Miller A." 3
<PJSIP/2243-00000022>AGI Tx >> 200 result=1
<PJSIP/2243-00000022>AGI Rx << VERBOSE "Ringing extension: 2243" 3
<PJSIP/2243-00000022>AGI Tx >> 200 result=1
<PJSIP/2243-00000022>AGI Rx << VERBOSE "Missed Call UID: 49733bff889f672b57922e3df9981aa0" 3
<PJSIP/2243-00000022>AGI Tx >> 200 result=1
<PJSIP/2243-00000022>AGI Rx << VERBOSE "Voicemail Status: " 3
<PJSIP/2243-00000022>AGI Tx >> 200 result=1
<PJSIP/2243-00000022>AGI Rx << VERBOSE "Notification enabled?: 1" 3
<PJSIP/2243-00000022>AGI Tx >> 200 result=1
<PJSIP/2243-00000022>AGI Rx << VERBOSE "Is Internal call?: Yes" 3
<PJSIP/2243-00000022>AGI Tx >> 200 result=1
<PJSIP/2243-00000022>AGI Rx << VERBOSE "Send Internal Notification?: Yes" 3
<PJSIP/2243-00000022>AGI Tx >> 200 result=1
<PJSIP/2243-00000022>AGI Rx << VERBOSE "Is External call?: No" 3
<PJSIP/2243-00000022>AGI Tx >> 200 result=1
<PJSIP/2243-00000022>AGI Rx << VERBOSE "Send External Notification?: Yes" 3
<PJSIP/2243-00000022>AGI Tx >> 200 result=1
<PJSIP/2243-00000022>AGI Rx << VERBOSE "Is Ring Group call?: No" 3
<PJSIP/2243-00000022>AGI Tx >> 200 result=1
<PJSIP/2243-00000022>AGI Rx << VERBOSE "Send Ring Group Notification?: No" 3
<PJSIP/2243-00000022>AGI Tx >> 200 result=1
<PJSIP/2243-00000022>AGI Rx << VERBOSE "Is Queue call?: No" 3
<PJSIP/2243-00000022>AGI Tx >> 200 result=1
<PJSIP/2243-00000022>AGI Rx << VERBOSE "Send Queue Notification?: No" 3
<PJSIP/2243-00000022>AGI Tx >> 200 result=1
<PJSIP/2243-00000022>AGI Rx << VERBOSE "To email: [email protected]" 3
<PJSIP/2243-00000022>AGI Tx >> 200 result=1
<PJSIP/2243-00000022>AGI Rx << VERBOSE "From email: " 3
<PJSIP/2243-00000022>AGI Tx >> 200 result=1
<PJSIP/2243-00000022>AGI Rx << VERBOSE "From name: " 3
<PJSIP/2243-00000022>AGI Tx >> 200 result=1
<PJSIP/2243-00000022>AGI Rx << SET VARIABLE MASTER_CHANNEL(MC-49733bff889f672b57922e3df9981aa0) "1"
<PJSIP/2243-00000022>AGI Tx >> 200 result=1
<PJSIP/2243-00000022>AGI Tx >> HANGUP
And there is no mention of sending any messages in /var/log/maillog.