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

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

That got addressed on the latest update of VitalPBX.