So we adopted the fact that 90% of missed calls are callers that reach the persons voicemail greeting but don’t want to leave a message.
So we accomplished the following:
We made this custom script in extensions_custom.conf for each extension
exten => 837815,1,TrySystem(echo "Missed Call - From: ${CALLERID(name)} ${CALLERID(number)} received at ${STRFTIME(${EPOCH},,%l:%M:%S %p %Z on %A %B %e)}" | mail -s "PBX Alert - Missed Call" -r "PBX Alerts<[email protected]>" [email protected])
exten => 837815,n,Goto(ext-local,vmu101,1)
Now you can either use a custom destination or misc destination that will call this script.
Go to the extensions advanced settings and point no answer, busy & not reachable to what you configured to call the script.
This works well, but there’s two downsides.
- You won’t have the option of playing the busy greeting.
- If the caller leaves a message the user will receive two emails…