Well said however I figured it out after thinking “If I don’t figure this out, Dicko is bound to make a comment…” and doing a bit of searching:
I looked for where other modules were contained - /var/www/html/admin/modules
created a new folder ‘missedcallnotify’
set perms to match other folders
copied the 3 files in the .tgz archive into the new folder
Checked for new modules in FreePBX Module Admin
installed the now-visible MissedCallNotify module
Apply
I’ll look at your link anyway, probably learn something from that too.
Then I ran into something which likely has to just be tolerated - aargh.
The module is reported as unsigned and FPBX throws the Security Warning. I did the ‘refreshsignatures’ thing but no dice.
Any ideas?
Well, technically the PBX isn’t missing the call if it’s ringing an external device.
Are you ‘Following’ to a cell phone or something external to the PBX?
I’m using ringallv2 to ring:
a) The extension itself
b) An external destination (reachabe via a SIP Trunk)
However, I presumed that it should work if the caller hangs up before the callee picks up the call on either of the follow-me destinations.
There are some “sub-missedcallnotify” entries in the CEL, and both CDR entries resulting from the follow-me rule are registered with Disposition “NO ANSWER”…
SOLVED! It seems the module treats follow me as Ring Groups, so it will try to send the notification to a “Group Email Address” instead.
The problem is this is nowhere to be found in the GUI (configuring group email addresses, that is). Luckily there is a (now defunct) JIRA ticket explaining how to do this manually:
One only needs to replace EXT with the extension/ring group number and [email protected] with the email address the notifications will be sent out to…
To list current settings do:
database show AMPGROUP
To edit an entry, just add it again using “database put”
This will also work with Queues I believe (judging from output I’m getting on the asterisk console). Just use the Queue number instead of extension number when adding your AMPGROUP key:
hi all,
i seted up Missed Call Notification and enabled in extension, but this script does invoke an a error:
-- Executing [s@sub-missedcallnotify:1] ExecIf("IAX2/201-514", "0?System(echo "" | mail -s "MissedCall (novm) - 201 <201>" )") in new stack
[2016-05-19 13:11:36] WARNING[27281][C-00000b7f]: pbx.c:1618 pbx_exec: The application delimiter is now the comma, not the pipe. Did you forget to convert your dialplan? (ExecIf(0?System(echo "" | mail -s "MissedCall (novm) - 201 <201>" )))
-- Executing [s@sub-missedcallnotify:2] ExecIf("IAX2/201-514", "0?System(echo "" | mail -s "MissedCallGroup () - 201 <201>" )") in new stack
[2016-05-19 13:11:36] WARNING[27281][C-00000b7f]: pbx.c:1618 pbx_exec: The application delimiter is now the comma, not the pipe. Did you forget to convert your dialplan? (ExecIf(0?System(echo "" | mail -s "MissedCallGroup () - 201 <201>" )))
I would love to see some movement on this module for 10.13.66-13. I was able to change the delimiter as you did above, but still no email.
This feature would be very helpful to my organization.
I haven’t looked at the module very closely (as in I gave it a cursory glance) and since it seems to use the Voicemail logic to perform, I’m thinking it’s going to need a VM account to continue processing.
I had this module installed, had some trouble with FM calls, uninstalled it.
I would add a feature to this module to differentiate between direct calls amd calls from a Queue/Ring Group. (we had a client that only wanted direct calls alerts)
That is the problem with the module and FreePBX dialplan. Calls from ring groups and queues are easier to solve but once you have follow me enabled missed call notifications become really hard. We started a module 2 years ago with all the controls and gave up as to many corner cases and @tm1000 was ready to kill me.