ai_hold
ai_hold
Put an active AI agent session on hold. The AI stops processing conversation while the call remains active. The caller may hear hold music or silence depending on the configuration.
Use ai_unhold() to resume the AI session.
Parameters
timeout
Maximum hold duration. The AI session automatically resumes after this timeout.
prompt
A prompt for the AI to speak before going on hold (e.g., “Please hold while I check on that.”).
Returns
dict — Server response confirming the AI hold.