I have a FreePbx system installed with trunks and extensions already deployed.
I need an IVR that would do the following:
1) when a call comes in on inbound trunk the system will check if the CID is from a recognized ( previous) caller. If the CID is recognized it will answer the call and direct to a list of recipients and tell the caller to please wait while the pbx locates the recipient. Meanwhile the pbx would announce the caller over the Intercom and await recipient picking yp the call. If recipient does not pick up call it will go to Voicemail
2) If the call coming in is not from a previous caller,but CID is available (name) the the same as in choice 1 but the pbx will announce the CID name.
3) if no CID is available the the pbx will first ask caller to identify himself and that name will be announced over the intercom. and then same as in number 1
4) if no recipient is available transfer to voicemail
5) callers with a special code (9999) can interupt system and go straight to ring all
## Deliverables
This file is a short flowchart of essentially what I need