Call flow in IVR decision by caller id?

I’m hoping someone may have a suggestion on how to, or if this is even/practically possible. I’m sure I’ve seen something, somewhere, in the past but now that I need it I can’t find it :slight_smile:

We’d like to be able to branch incoming calls with specific caller id’s out of the main call flow and off to a specific destination (which will be different for different caller IDs) I know it’s easy to direct the call to a specific destination in the inbound route, but is there a way to do it once they’re already in a call flow?

The existing flow is essentially the following, and the additional “branch” would take place where the VIP stuff is indicated. So for all intents and purposes they would get all of the same announcements as a “normal” caller, but are get yanked out of the call flow just before it drops into the main IVR and sent elsewhere. If it can be accommodated in the GUI that’s great, but if not then possible suggestions for dialplan are also appreciated.

Corporate Welcome (announcement)        
Emergency Status (announcement)          
Open/Closed (time condition)
  [open]   (yank VIPs out)
               Dial Extension (announcement)
               Main (IVR)
  [closed] After Hours (announcement)
               (yank VIP's out)
               Main (IVR)

Research the Dynamic Routes module.