by Turing_Machine · 10y ago · 0 comments
Have the system pick up the call (without generating an audible ring for the user) and listen for the block. If it hears it, buh-bye. If it doesn't hear it, then ring the phone for the user, while also playing back a simulated "ringing" signal to the caller, so the caller was unaware that the call had actually been "answered" already.
I'm unfamiliar with the exact specifics of how phone calls are routed, but you might be able to get away with more if you own the phone switch (e.g., self-hosted asterisk or something like that).