Skip to main content

Select the destination for DID based on the BLF selected on the phone

This example is written for the Canistracci OIL tenant. Create the objects with a Docs Demo prefix, test them on non-production numbers, and then adapt the same structure for the production tenant.

The client want to manually select one of three optional destinations for his DID. Option 1 will be Voicemail 1000 (weekend), option 2 will be Voicemail 2000 (handmatig) and option 3 will be a weektime condition.

I start by creating three Flows, named 10000, 20000 and 30000 monitoring the relative extension.

After creating the three Flows, I create a series of Custom Destination "Set Extension in use" and "Set Extension not in use" to set each of the three flows in use and not in use

400px

400px

400px

When each flow is activated, it set his associated extension to IN USE and move all other to NOT IN USE

The Custom destinations are configured as following:

400px

Now it is time to define a condition for each of the flow, if the flow extension is IN USE, the destination will be followed, like as following:

400px

The DID will just list all the condition, one after the other

400px

On the phone, the BLF will be configured as following (Yealink)

400px

Validation

  • Confirm the tenant selected in the top bar is Canistracci OIL before creating the example.
  • Verify the created objects appear in the expected Configuration menu page.
  • Place a controlled test call or run the related status check.
  • Remove or disable temporary test numbers when the example is no longer needed.