I want to setup an email alert notifying all the unanswered calls on one of my incoming number.
Like if someone calls on number 1234567890 and it’s like unanswered or busy then send an email to a specific email address sending the complete call log.
How much of a complete log is a complete log? Figure out that part first - then figure out how to mail that to yourself in a script. Once you have that established, you should be able to set up custom destination that pops off a System() command.
You’re headed down a rabbit hole. Missed call notification (MCN) seems simple until you spend time actually thinking about it. It’s all edge cases:
Single inbound call to ring group with multiple extensions, one answers. Do you want MCN for all the others?
Queue call rings the same unattended extension over and over, do you want a separate MCN for each?
Call rings a local extension and a mobile using FMFM where it’s answered. You want a MCN for the extension call?
Call goes unanswered to an extension which then goes to vm. Do you want a MCN for the call or just the voicemail? What if they hang up at the vm prompt and don’t leave a message?
Your phone is set to DND so calls go to vm, what about MCN then?
A colleague calls from another extension, do you want MCNs for local calls? What if it’s a page?
This is what I come up with before any actual thought, I could go on.