# Ring when agent processes voicemail with ringinuse=no

**URL:** <https://community.asterisk.org/t/ring-when-agent-processes-voicemail-with-ringinuse-no/111132>\
**Category:** Asterisk Support\
**Created:** [November 29, 2025, 4:25pm UTC](https://community.asterisk.org/t/ring-when-agent-processes-voicemail-with-ringinuse-no/111132 "2025-11-29T16:25:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![harryhou](https://avatars.discourse-cdn.com/v4/letter/h/85e7bf/32.png) [@harryhou](https://community.asterisk.org/u/harryhou)\
**Post date:** [November 29, 2025, 4:25pm UTC](https://community.asterisk.org/t/ring-when-agent-processes-voicemail-with-ringinuse-no/111132/1 "2025-11-29T16:25:54Z")

</div>

When an agent is on an outbound call and a new caller enters the queue, the agent’s phone should not ring, so the queue has ringinuse=no. On the other hand, when the agent is handling voicemail, which we consider a low priority activity, the agent’s phone should ring so the agent can stop handling voicemail and accept the call. Is this possible somehow?

I have looked into setting DEVICE\_STATE to NOT\_INUSE when the agent calls the voicemail number, but you can only set DEVICE\_STATE of a custom device.

---

<div class="post-metadata">

**Author:** ![david551](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@david551](https://community.asterisk.org/u/david551)\
**Post date:** [November 30, 2025, 4:54pm UTC](https://community.asterisk.org/t/ring-when-agent-processes-voicemail-with-ringinuse-no/111132/2 "2025-11-30T16:54:03Z")

</div>

Use a second line for the voicemail.

---

<div class="post-metadata">

**Author:** ![harryhou](https://avatars.discourse-cdn.com/v4/letter/h/85e7bf/32.png) [@harryhou](https://community.asterisk.org/u/harryhou)\
**Post date:** [December 1, 2025, 1:01pm UTC](https://community.asterisk.org/t/ring-when-agent-processes-voicemail-with-ringinuse-no/111132/3 "2025-12-01T13:01:32Z")

</div>

Thank you, I’ve configured a second line.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [December 31, 2025, 1:02pm UTC](https://community.asterisk.org/t/ring-when-agent-processes-voicemail-with-ringinuse-no/111132/4 "2025-12-31T13:02:11Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
