# AI Voice Agents - Transfer fails with "Dangerous function DB read blocked"

**URL:** <https://forums.vitalpbx.org/t/ai-voice-agents-transfer-fails-with-dangerous-function-db-read-blocked/6158>\
**Category:** Reporting an Issue\
**Created:** [April 9, 2026, 3:00am UTC](https://forums.vitalpbx.org/t/ai-voice-agents-transfer-fails-with-dangerous-function-db-read-blocked/6158 "2026-04-09T03:00:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![XPlanum](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/xplanum/32/4414_2.png) [@XPlanum](https://forums.vitalpbx.org/u/XPlanum)\
**Post date:** [April 9, 2026, 3:00am UTC](https://forums.vitalpbx.org/t/ai-voice-agents-transfer-fails-with-dangerous-function-db-read-blocked/6158/1 "2026-04-09T03:00:42Z")

</div>

Hi,

I’ve been testing the new AI Voice Agents module on 4.5.3 R1 and ran into a blocking issue with call transfers.

When the agent tries to transfer a call to any extension, the caller hears “blocked” (privacy-blocked audio) and the call drops. After digging into the Asterisk console I found this repeating every time:

ERROR: pbx\_functions.c:611 ast\_func\_read: Dangerous function DB read blocked

What happens is the CALLED\_COS\_ID comes back empty because the DB read is blocked, so the COS privacy check fails and drops the call. This happens regardless of which extension I try to transfer to.

I found a partial workaround using Ring Groups instead of direct extensions - the extension actually rings. But when nobody answers and it tries to go to voicemail, the same DB read blocked error hits again, VOICEMAIL\_BOX ends up empty, and the caller gets the “voicemail not available” message even though voicemail is properly configured on the extension.

My guess is the WebSocket channel that the Realtime Agent runs in has DB reads restricted, and that restriction carries over to the transfer leg of the call.

Is this a known limitation of the current version? Any workaround other than Ring Groups?

Setup: VitalPBX 4.5.3 R1, Asterisk 20.18.2, single tenant, inbound call via VoIP.ms DID \>IVR \> Realtime Agent \> transfer attempt.

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:** [April 9, 2026, 6:58am UTC](https://forums.vitalpbx.org/t/ai-voice-agents-transfer-fails-with-dangerous-function-db-read-blocked/6158/2 "2026-04-09T06:58:43Z")

</div>

That got addressed on the latest update of VitalPBX.

> **[VitalPBX Phone System | Change Log](https://vitalpbx.com/vitalpbx-phone-system-change-log/)**
>
> We got licencing plans available that will license all of our commercial add-ons at once. This makes the most affordable PBX system yet! So take a look at our
