# Destinations after DND and Blacklisted

**URL:** https://forums.vitalpbx.org/t/destinations-after-dnd-and-blacklisted/2205
**Category:** Wish List
**Created:** [January 12, 2023, 11:54pm UTC](https://forums.vitalpbx.org/t/destinations-after-dnd-and-blacklisted/2205 "2023-01-12T23:54:16Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![mo10](https://forums.vitalpbx.org/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@mo10](https://forums.vitalpbx.org/u/mo10)
#### Post date: [January 12, 2023, 11:54pm UTC](https://forums.vitalpbx.org/t/destinations-after-dnd-and-blacklisted/2205/1 "2023-01-12T23:54:17Z")

</div>

Hi,

can we please have destinations after DND and Blacklisted? So we can choose what can happen afterward. Terminate Call or any other Destination like a Ringgroup or Queue…  
Should be easy to do for you.

Thanks a lot

 ![image](https://forums.vitalpbx.org/uploads/default/original/2X/5/5f6f48c4eb6f9dde66ced4031d212b5aae08ca76.png)

---

<div class="post-metadata">

### Author: ![miguel](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/miguel/32/415_2.png) [@miguel](https://forums.vitalpbx.org/u/miguel)
#### Post date: [January 13, 2023, 1:46am UTC](https://forums.vitalpbx.org/t/destinations-after-dnd-and-blacklisted/2205/2 "2023-01-13T01:46:18Z")

</div>

You already have destinations for blacklisted numbers:

 ![image](https://forums.vitalpbx.org/uploads/default/original/2X/9/9123d2feab85dc5b2d57d2bcd0df9fbc01fa2286.png)

About DND, it goes to Voicemail when the voicemail is enabled in the called extension.

---

<div class="post-metadata">

### Author: ![mo10](https://forums.vitalpbx.org/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@mo10](https://forums.vitalpbx.org/u/mo10)
#### Post date: [January 13, 2023, 3:55am UTC](https://forums.vitalpbx.org/t/destinations-after-dnd-and-blacklisted/2205/3 "2023-01-13T03:55:45Z")

</div>

You are right.  
But can you please please make destination for DND happen?

We are using no voicemail. Want to send it to a different destination.

Thanks.

---

<div class="post-metadata">

### Author: ![miguel](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/miguel/32/415_2.png) [@miguel](https://forums.vitalpbx.org/u/miguel)
#### Post date: [January 13, 2023, 2:48pm UTC](https://forums.vitalpbx.org/t/destinations-after-dnd-and-blacklisted/2205/4 "2023-01-13T14:48:19Z")

</div>

I guess DND means that you don’t want anyone to bother you. So, why send the DND to a destination? You can use features like Follow-me, Call Forward on Busy, Call Forward When Unavailable, etc.

---

<div class="post-metadata">

### Author: ![mo10](https://forums.vitalpbx.org/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@mo10](https://forums.vitalpbx.org/u/mo10)
#### Post date: [January 13, 2023, 3:58pm UTC](https://forums.vitalpbx.org/t/destinations-after-dnd-and-blacklisted/2205/5 "2023-01-13T15:58:30Z")

</div>

It’s not as easy as you say it.  
Client wants his BLF red when not available. This is only possible with DND. But also he wants the external call not to be lost and it should be send to a colleague or ring group.  
Bis a destination after DND this would be so easy.

---

<div class="post-metadata">

### Author: ![miguel](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/miguel/32/415_2.png) [@miguel](https://forums.vitalpbx.org/u/miguel)
#### Post date: [January 13, 2023, 4:34pm UTC](https://forums.vitalpbx.org/t/destinations-after-dnd-and-blacklisted/2205/6 "2023-01-13T16:34:37Z")

</div>

If you meant the BLF to monitor the DND status, let me tell you that all the Diversions have a BLF for monitoring them.

You can propose the Personal Assistant feature that allows providing 5 different destinations to the callers.

---

<div class="post-metadata">

### Author: ![mo10](https://forums.vitalpbx.org/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@mo10](https://forums.vitalpbx.org/u/mo10)
#### Post date: [January 13, 2023, 4:53pm UTC](https://forums.vitalpbx.org/t/destinations-after-dnd-and-blacklisted/2205/7 "2023-01-13T16:53:19Z")

</div>

Other internal users must see that the extension is DND. External callers must hear the message but then should go to a ring group.  
Personal assistant is not what they need.  
And it does not solve the DND Blf requirement.

---

<div class="post-metadata">

### Author: ![PitzKey](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/pitzkey/32/420_2.png) [@PitzKey](https://forums.vitalpbx.org/u/PitzKey)
#### Post date: [January 14, 2023, 4:23pm UTC](https://forums.vitalpbx.org/t/destinations-after-dnd-and-blacklisted/2205/8 "2023-01-14T16:23:51Z")

</div>

Haven’t tested it. But a custom dialplan that skips the DND check, or alters the state temporarily to deliver the call may work.

---

<div class="post-metadata">

### Author: ![mo10](https://forums.vitalpbx.org/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@mo10](https://forums.vitalpbx.org/u/mo10)
#### Post date: [January 14, 2023, 4:30pm UTC](https://forums.vitalpbx.org/t/destinations-after-dnd-and-blacklisted/2205/9 "2023-01-14T16:30:42Z")

</div>

> [@PitzKey](#):
>
> skips the DND check, or alters the state temporarily to deliver the call may work

Example please how you would do that? Thanks.

---

<div class="post-metadata">

### Author: ![PitzKey](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/pitzkey/32/420_2.png) [@PitzKey](https://forums.vitalpbx.org/u/PitzKey)
#### Post date: [January 14, 2023, 4:47pm UTC](https://forums.vitalpbx.org/t/destinations-after-dnd-and-blacklisted/2205/10 "2023-01-14T16:47:10Z")

</div>

Sorry, I don’t have one.

---

<div class="post-metadata">

### Author: ![mo10](https://forums.vitalpbx.org/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@mo10](https://forums.vitalpbx.org/u/mo10)
#### Post date: [January 15, 2023, 1:39pm UTC](https://forums.vitalpbx.org/t/destinations-after-dnd-and-blacklisted/2205/11 "2023-01-15T13:39:44Z")

</div>

Looking at Dialplan of CFI and doing this should do the trick:

```auto
;Set BLF to Red
same => n,Set(DEVICE_STATE(Custom:${TENANT_PREFIX}DND_${CALL_SOURCE})=INUSE)
;Set BLF back to Green
same => n,Set(DEVICE_STATE(Custom:${TENANT_PREFIX}DND_${CALL_SOURCE})=UNAVAILABLE)

```

Thanks

---

<div class="post-metadata">

### Author: ![amicusvoice](https://forums.vitalpbx.org/letter_avatar_proxy/v4/letter/a/eb8c5e/32.png) [@amicusvoice](https://forums.vitalpbx.org/u/amicusvoice)
#### Post date: [January 19, 2023, 4:22pm UTC](https://forums.vitalpbx.org/t/destinations-after-dnd-and-blacklisted/2205/12 "2023-01-19T16:22:40Z")

</div>

Useful, but we have to set this per number. For example, some if I want some blacklisted numbers to go to an announcement then get dropped, or to reroute them to a service like Jolly Roger, currently we have to set this for each number. It would be easier if it were a global setting we could select.
