<Hold/>

Set a pause to a call

<Hold/> - Hold the call command

The <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 tag attribute is a string used for call notification events if configured.

  • The timeout parameter, 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

The <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 tag attribute 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