Server SDKs
Build AI agents, control calls, send messages, and more
Put the call on hold. The caller hears hold music until the hold is released or the timeout expires.
Maximum hold duration in seconds. Clamped to the range 0—900 (15 minutes max).
FunctionResult — this, for chaining.
FunctionResult
this
1import { FunctionResult } from '@signalwire/sdk';23// Default 300-second hold4const result = new FunctionResult('Please hold.')5 .hold();