Skip to main content

Pause & Resume Call Recording

This feature adds a Pause/Resume Recording button to the call canvas to allow the agent to temporarily pause the call recording before the customer provides sensitive information (such as credit card details, bank account, etc.) to the agent and to resume regular call recording afterwards.

flex-user-experience

Pause recording demo

setup and dependencies

Recording must be enabled either via the dual channel recording feature in this repository, or via the "Call Recording" setting in Twilio Console > Flex > Manage > Voice. Do not enable both recording methods simultaneously, or only one of the recordings will be paused.

There are no additional setup steps required, only enabling the feature in the flex-config asset for your environment.

There are some additional configuration properties you may change if desired:

  • include_silence - whether the paused portion of the call recording should be included as silence
  • indicator_banner - whether recording indicator is displayed temporarily in a notification banner
  • indicator_permanent - whether a permanent 'Call Recording Paused' indicator is shown while paused

how it works

This plugin leverages Twilio Functions to perform the actual Pause and Resume action on the call or conference resource. When using the dual channel recording feature, the recording is on the call resource; when using the out-of-box recording feature, the recording is on the conference resource.