<Hold/>
Set a pause to a call
<Hold/> - Hold the call command
<Hold/> - Hold the call commandThe <Hold/> tag in Opentact's XML scripting is used to place an ongoing call on hold. This command allows for the temporary suspension of the call, usually accompanied by music or a recorded message. The <Hold/> tag includes an optional timeout parameter, which sets the maximum duration the call can be held.
Hints:
The
tagattribute is a string used for call notification events if configured.The
timeoutparameter, with a default value of 300,000 milliseconds (5 minutes), specifies the maximum duration for holding the call.
Examples:
<Hold /><Unhold/> - Unhold the call command
<Unhold/> - Unhold the call commandThe <Unhold/> tag is used to resume a call that has been placed on hold. Once the call has been on hold, the <Unhold/> command is employed to lift the hold, allowing both parties to resume their conversation.
Hints:
The
tagattribute is a string used for call notification events if configured.
Examples:
<Unhold />These commands provide a straightforward way to manage the hold and unhold actions during a call, enhancing the flexibility of call handling within Opentact's XML scripting.
Last updated
Was this helpful?